tseemann / barrnap

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

Fail if Bedtools issues a fasta normalization error #60

Open jdwinkler-lanzatech opened 2 years ago

jdwinkler-lanzatech commented 2 years ago

Hi,

I've been digging into why --outseq has been generating empty sequence files despite there being results in the Barrnap generated GFF files. It looks like Bedtools is rejecting some of my assemblies due to different line lengths for some parts of the sequence. It would be nice if Barrnap failed if this happened, as the exit code for Barrnap is currently 0 even if outseq fails.

Let me know if my description isn't clear, happy to add more detail as needed.