gobics / uproc

Tools for ultra-fast protein sequence classification.
http://uproc.gobics.de/
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Input file containing null characters causes crash #20

Closed rmartinjak closed 8 years ago

rmartinjak commented 8 years ago

Depending on where the null is, one of the assertions

seqio.c:159 seqio.c:190 (for FASTA files)

seqio.c:209 (for FASTQ files)

will fail.

Instead of crashing, UProC should skip broken sequences and probably print a warning to stderr.