sanger-pathogens / mlst_check

Multilocus sequence typing by blast using the schemes from PubMLST
http://sanger-pathogens.github.io/mlst_check/
Other
30 stars 16 forks source link

Perl Error while running download_mlst_databases #90

Open chahatupreti opened 4 years ago

chahatupreti commented 4 years ago

Hello!

Thank you so much for the awesome Conda package to be able to run MLST locally. I am trying to run it on my Mac system. I created a separate Conda environment, and then installed the Conda package perl-bio-mlst-check. Then I ran the download_mlst_databases script, but it gave the following error -

Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /software/pathogen/internal/prod/lib ../lib /Users/chahat/anaconda3/envs/microbiology/lib/site_perl/5.26.2/darwin-thread-multi-2level /Users/chahat/anaconda3/envs/microbiology/lib/site_perl/5.26.2 /Users/chahat/anaconda3/envs/microbiology/lib/5.26.2/darwin-thread-multi-2level /Users/chahat/anaconda3/envs/microbiology/lib/5.26.2 .) at /Users/chahat/anaconda3/envs/microbiology/lib/site_perl/5.26.2/Bio/MLST/DatabaseSettings.pm line 7.
BEGIN failed--compilation aborted at /Users/chahat/anaconda3/envs/microbiology/lib/site_perl/5.26.2/Bio/MLST/DatabaseSettings.pm line 7.
Compilation failed in require at /Users/chahat/anaconda3/envs/microbiology/bin/download_mlst_databases line 11.
BEGIN failed--compilation aborted at /Users/chahat/anaconda3/envs/microbiology/bin/download_mlst_databases line 11.

I think the main error is Can't locate LWP/UserAgent.pm in @INC. I have created a brand new conda environment for this. Any ideas how I could solve this problem?

Thank you so much!