Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration into the ChemicalToolBox #3

Open
bgruening opened this issue Jun 22, 2015 · 17 comments
Open

Integration into the ChemicalToolBox #3

bgruening opened this issue Jun 22, 2015 · 17 comments

Comments

@bgruening
Copy link

Integration of ODDT into the ChemicalToolBox would be awesome! CTB comes with a variety of tools and would nicely complement ODDT. Let me know if you are interested, I will work on this as time permits.

Thanks!
Bjoern

@mwojcikowski
Copy link
Contributor

Hi Bjoern,

Sure, this seams to be nice! Let me know what kind of input do you need. I have never used Galaxy and ChemicalToolBox, although major dependencies are already in place.

Maciek

@bgruening
Copy link
Author

@mwojcikowski I think most of the dependencies should be there. We also have defined many datatypes + converters.
It's just a matter of time. But this would be really awesome. We also have some nice protein and compound visualisations included https://github.com/bgruening/galaxytools/tree/master/visualisations.

Finally I can abandon my poorly written autodock integration :)

@mwojcikowski
Copy link
Contributor

Ok. I'd have to get more familiar with Galaxy. What functions would you expect to be implemented in galaxy?

@bgruening
Copy link
Author

We could start with oddt.scoring and oddt.docking this is really weak or not existent in CTB. Otherwise what ever is the easiest function to get us started :)

@mwojcikowski
Copy link
Contributor

I guess all the functions would be easy, when I get my way around of creating nodes for Galaxy. I will start from those two modules you mentioned. Is there some appealing how to/tutorial you can recommend?

@bgruening
Copy link
Author

Very good documentation is here: http://planemo.readthedocs.org/en/latest/

Thanks a lot!
Bjoern

@mwojcikowski
Copy link
Contributor

Finally I managed to construct a CLI for ODDT (#13). Now it should be fairly easy to construct a XML file for Galaxy for rescoring purposes.

mwojcikowski added a commit that referenced this issue Feb 23, 2016
mwojcikowski added a commit that referenced this issue Feb 23, 2016
@bgruening
Copy link
Author

This is awesome! Do you want me to work on this or are you planning to do this?

@mwojcikowski
Copy link
Contributor

If you could assemble the initial XML it would be great. I would have to dig my way through Galaxy documentation since I've never done it.

I also plan to have docker containers, should we run it from docker? I would much prefer to have it there, and manage the dependencies in Docker via conda than recompile OB/RDKit within Galaxy. What do you think?

I need a day or two to write some documentation (yeah, the most "fun" part) and I will merge CLI to master and release 0.2 with CLI support.

@bgruening
Copy link
Author

Ok, I will work on this during the weekend. Galaxy can handle conda dependencies natively, so no need for docker. But I have a chemicaltoolbox Docker Image and I plan to integrate this tool into it if you think this is a good idea.

So if you have a conda repo with all deps, this is all what we need! :)

@mwojcikowski
Copy link
Contributor

Sure thing: https://anaconda.org/mwojcikowski There you have both openbabel and oddt. Openbabel is currently built from Git, although 2.4 is coming and I aim to compile it there, or help with official repo if it comes out. RDKit has its own official channel: https://anaconda.org/rdkit.

I used your Docker image and it works fine, although OB takes for ever to compile (as usual). I would go with Conda.

@bgruening
Copy link
Author

Yeah, need to switch the image to conda - this will lower build times. If you want then contribute to bioconda. I think I have a openbabel build there.

@mwojcikowski
Copy link
Contributor

I can't work with buggy and old 2.3.2 myself :) Although ODDT should work just fine. I will let you know how it goes with bioconda, although now we push every tag from github to conda repo automatically with Travis CI. This will not be as convenient with bioconda for sure.

@bgruening
Copy link
Author

Sure as you prefer Galaxy can handle this. Thanks this is exciting!

@mwojcikowski
Copy link
Contributor

Let me know if you need my help. FYI CLI can write to any OB file format and CSV (both to file and stdout).

@bgruening
Copy link
Author

Yeah, saw this - it is really neat. I might change CSV to TSV but this is easy on the Galaxy side. I will keep you posted. Very nice work!

@mwojcikowski
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants