smithlabcode / falco

A C++ drop-in replacement of FastQC to assess the quality of sequence read data
https://falco.readthedocs.io
GNU General Public License v3.0
98 stars 11 forks source link

Malloc error when using extra tags in fastq header #70

Open lucacozzuto opened 3 months ago

lucacozzuto commented 3 months ago

Dear developers, I got this error when using falco on a single fastq sequence with extra tags in the header. Example:

@794098d5-67f5-4d93-a3a5-a19d3bf4e2d4   MN:i:1119
[running falco|                                                   |  0%]malloc(): invalid size (unsorted)
/nfs/scratch01/bi/mop4/27/f873aa32cd2be99c05869c27783d9e/.command.sh: line 4:    16 Aborted                 (core dumped)

Once I remove the extra tags it goes fine.

Best, Luca

andrewdavidsmith commented 3 months ago

@lucacozzuto quick question: was the input fastq in gzip format or plain text?

lucacozzuto commented 3 months ago

I tried both