tseemann / barrnap

:microscope: :leo: Bacterial ribosomal RNA predictor
GNU General Public License v3.0
210 stars 41 forks source link

Could the barrnap be used to predict the rrna of *.fna.gz file? #45

Open YulinzhangSia opened 3 years ago

YulinzhangSia commented 3 years ago

Dear administrator,

Could the barrnap be used to predict the rrna of *.fna.gz file?

I applied it on a *.fna.gz file, and the system reported the error:

image

Thanks!

Regards, Yulin

jvollme commented 3 years ago

Hi Yulin, not sure if barrnap can handle compressed fastas ("fna.gz" means gzip compressed fasta). But even if not, you can just pipe the data to it. try using the following command:

zcat genome/GCF_002287175.1_ASM228717v1_geomic.fna.gz | barnap -

if you still get the same error with this, then i would guess perhaps something is simply wrong with your sequence file, and you may need to try downloading it again ...