metaGEM icon indicating copy to clipboard operation
metaGEM copied to clipboard

Errors in env_setup.sh

Open yumyai opened this issue 2 years ago • 1 comments

Hi,

I tried to install metagem on my server and found two problems.

  1. env_setup.sh tries to install GTBK's database at line 67, but it cannot find "download-db.sh` (https://github.com/franciscozorrilla/metaGEM/blob/master/env_setup.sh#L67).

  2. prokkaroary_env.yml has dependency conflict. It reports libzlib-1.2.11-h36c2ea0_1013 has constraint zlib 1.2.11 *_1013 conflicting with zlib-1.2.11-h516909a_1010 when I tried to create an environment it. It can be fix by bump up the version (https://github.com/franciscozorrilla/metaGEM/blob/master/envs/prokkaroary_env.yml#L331) to zlib=1.2.11=h36c2ea0_1013.

Best wishes, Preecha.

yumyai avatar Oct 27 '21 15:10 yumyai

Hi Preecha,

Thank you for brining this to my attention, this should now be fixed in the latest commit. I suspect that the manual installation is perhaps easier/more flexible than going through the script.

I am also thinking of simplifying/restructuring the env_setup.sh script to only set up the main metagem env during initial setup. I imagine that most users won't even use the prokka/roary tools, so I will make it a bonus feature rather than installing at the start. If you really want to use those tools, I would recommend to just conda install them manually in a separate environment.

Please let me know if you run into any other issues!

Best, Francisco

franciscozorrilla avatar Oct 27 '21 16:10 franciscozorrilla