Error running Prokka
3
0
Entering edit mode
4.9 years ago

Download and installed the latest version of prokka and I checked with prokka. Then printed the help screen with all available options.

after make a new directory for the annotation:

cd ~/
mkdir annotation
cd annotation

Link the metagenome assembly file into this directory:

ln -fs ~/home/genome.fa

and after

prokka genome.fa --outdir prokka_annotationPr8x  --cpus 2

but I had this error. What happen? my genome.fa is not good?

[11:37:57] This is prokka 1.12
[11:37:57] Written by Torsten Seemann <torsten.seemann@gmail.com>
[11:37:57] Homepage is https://github.com/tseemann/prokka
[11:37:57] Local time is Mon Jun  3 11:37:57 2019
[11:37:57] Operating system is linux
[11:37:57] You have BioPerl 1.007002
[11:37:57] System has 2 cores.
[11:37:57] Will use maximum of 2 cores.
[11:37:57] Annotating as >>> Bacteria <<<
[11:37:57] 'genome.fa' is not a readable non-empty FASTA file

thank you very much

software error • 3.6k views
ADD COMMENT
0
Entering edit mode

hi bioaitana26,

I added (code) markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below: 101010 Button

ADD REPLY
1
Entering edit mode
4.9 years ago
AK ★ 2.2k

Hi bioaitana26,

Can you try checking ls -l ~/home/genome.fa, or the content of your soft link, or using ~/home/genome.fa directly without creating a soft link? In the script, it tests for -r, -d (not), and -s:

my $in = shift @ARGV or err("Please supply a contig FASTA file on the command line.");
(-r $in and !-d _ and -s _) or err("'$in' is not a readable non-empty FASTA file");

Where:

  • -r File is readable by effective uid/gid;
  • -d File is a directory;
  • -s File has nonzero size (returns size in bytes).
ADD COMMENT
1
Entering edit mode
4.9 years ago
Joe 21k

I think you need to check that genome.fa is what you think it is, as that workflow, works for me (I'm using prokka 1.11, but I doubt that'll make a difference).

ADD COMMENT
0
Entering edit mode
4.9 years ago

Thank you! Now it is working correctly!

Thanks

ADD COMMENT
0
Entering edit mode

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.
Upvote|Bookmark|Accept

ADD REPLY
0
Entering edit mode

Dear Bioainata26,

I have same problem with you. How do you solved your problem? Do you run script like SMK mentioned?

Thank you for your help,

Regards,

Lulu

ADD REPLY

Login before adding your answer.

Traffic: 2008 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