Entering edit mode
4.6 years ago
AbdelAbdel
▴
30
Good morning,
I installed prokka in conda and when I run the application it gives an error that I didn't understand.
<< /Users/nfs/abdeljalil> prokka
Can't locate Bio/Root/Version.pm in @INC (you may need to install the Bio::Root::Version module) (@INC contains: /Users/nfs/abdeljalil/anaconda3/bin/../perl5 /Users/nfs/abdeljalil/anaconda3/lib/site_perl/5.26.2/x86_64-linux-thread-multi /Users/nfs/abdeljalil/anaconda3/lib/site_perl/5.26.2 /Users/nfs/abdeljalil/anaconda3/lib/5.26.2/x86_64-linux-thread-multi /Users/nfs/abdeljalil/anaconda3/lib/5.26.2 .) at /Users/nfs/abdeljalil/anaconda3/bin/prokka line 32.
BEGIN failed--compilation aborted at /Users/nfs/abdeljalil/anaconda3/bin/prokka line 32. >>
thank you for explaining the error to me.
It looks to be complaining about not having a perl module installed called:
Bio::Root::Version
. Could you please share your commands on how you installed via conda, and then your prokka command?Your last line might have missed anything installed via the conda-forge conda channel. Prokka has a few dependencies that should be pulled from the conda-forge channel.
Try this command to create a new conda environment, which uses the conda-forge and bioconda channels to install:
To avoid having to type out
-c CHANNEL
each time you install something, you can follow the directions here: https://bioconda.github.io/user/install.html#set-up-channelsEDIT: added "-c defaults" to conda command, just in case it's necessary.
How did you install prokka?
line install prokka: conda install -c bioconda prokka