problem in launching prokka
1
0
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.

prokka next-gen-sequencing genome • 5.4k views
ADD COMMENT
0
Entering edit mode

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?

ADD REPLY
0
Entering edit mode
  • line install anaconda3: bash Anaconda3-5.2.0-Linux-x86_64.sh
  • line install prokka: conda install -c bioconda prokka
ADD REPLY
1
Entering edit mode

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:

conda create -n prokka-env -c conda-forge -c bioconda -c defaults prokka

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-channels

EDIT: added "-c defaults" to conda command, just in case it's necessary.

ADD REPLY
0
Entering edit mode

How did you install prokka?

ADD REPLY
0
Entering edit mode

line install prokka: conda install -c bioconda prokka

ADD REPLY
0
Entering edit mode
2.8 years ago
Kumar ▴ 170

Did you get the solution of the issue? I tried these all but prokka still shows the error.

ADD COMMENT

Login before adding your answer.

Traffic: 1563 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6