biocore / mmvec

Neural networks for microbe-metabolite interaction analysis
BSD 3-Clause "New" or "Revised" License
118 stars 51 forks source link

Simplify delivery and interfacing #111

Open mstrazar opened 4 years ago

mstrazar commented 4 years ago

Hi guys, congratulations for the Nature methods paper on this.

I have a couple of suggestions:

When other labs will try to publish similar methods, they will be expected to compare the results to your method and these will make peoples life easier.

Kind regards, Martin

mortonjt commented 4 years ago

Hi @mstrazar , thank you for interest in mmvec! PR raised about setup.py update: https://github.com/biocore/mmvec/pull/112

Regarding installation, what have you tried so far? The conda installation has TF pinned. Could you post any errors?

Regarding Docker containers - we actually have them, that's what is running on the backend of GNPS.

@mwang87 are there tutorials on how to pull down these Docker containers? It may not be bad idea to have these in the main README.

mortonjt commented 4 years ago

Regarding biom tables as input, there are no plans for passing in csv or tab, due to their inability to adequately represent sparse data. Furthermore, biom is also a standard file format, and is a core component of this library.

See this paper for more details: https://gigascience.biomedcentral.com/articles/10.1186/2047-217X-1-7

mstrazar commented 4 years ago

Thank you for your feedback. I am keen to try mmvec on our data. Could you point me to a Docker image with mmvec installed, if it exists?

I have try installing the software with pip, but it doesn't play well with latest versions of some packages, namely tensorflow and perhaps others.

mortonjt commented 4 years ago

Hi @mstrazar , we just cut a new release of mmvec that pins Tensorflow. Tensorflow 2.0 broke compatibility (which happened right before the paper went live) - so installing that will definitely break things.

Let us know if the newest pip install works. @mwang87 has a better idea about the Docker containers.

mstrazar commented 4 years ago

Hi,

so I managed to pip install mmvec on a Mac OSX by creating a clean virtual environment with Python 3.6.3.

Also, one has to specifically pip install numpy first.

Previous tries: [NO] Python 3.6.0 (Incompatibilities with the typing module) [NO] Python 3.7.4 (Biom-format does not have wheel files)

You might want to fix versions and specify these details in the README.

Happy holidays, Martin