hisat2 / bowtie: read has more quality values than read characters
I'm struggling with this issue:
./hisat2 -x ../../data/index/hisat_2/iwgsc -U ../../data/mrcv/genes/21dpi_C_R1.fq.gz,../../data/mrcv/genes/21dpi_C_R2.fq.gz,../../data/mrcv/genes/21dpi_C_R3.fq.gz,../../data/mrcv/genes/21dpi_C_R4.fq.gz,../../data/mrcv/genes/21dpi_T_R1.fq.gz,../../data/mrcv/genes/21dpi_T_R2.fq.gz,../../data/mrcv/genes/21dpi_T_R3.fq.gz,../../data/mrcv/genes/21dpi_T_R4.fq.gz -S ../../data/mrcv/genes/alignment/21.sam --un ../../data/mrcv/genes/alignment/21UN.sam -p 6
Error: Read J00113:78:H3JKNBBXX:3:2209:5670:2281 1:N:0:CGATGT has more quality values than read characters.
terminate called after throwing an instance of 'int'
Aborted (core dumped)
(ERR): hisat2-align exited with value 134
Scythe was used to remove adapter contamination and Sickle to remove low-quality reads.
I'm using HISAT2 version 2.1.0 on Ubuntu 18.04. Any ideas what could be wrong?
• 9,350 views
•
link
1 answer
I could verify with
gzip -t R2.fq.gz && echo ok || echo bad
that the file was corrupted. For some reason the reads were not in the correct line. Re-downloading the file solved the issue.
• 1 views
•
link
Log in to answer this question.
Could you show the record (header, sequence and quality)
J00113:78:H3JKNBBXX:3:2209:5670:2281 1:N:0:CGATGTin your post pleaseCannot really comment on
hisat2, but I had this problem withBWA memsometimes, and it always was a memory problem. How much RAM do you have available? HISAT2 is actually not very memory-consuming, not sure if this is the problem. Also, agreed with Bastien, check if indeed SEQ and QUAL are different forJ00113:78:H3JKNBBXX:3:2209:5670:2281 1:N:0:CGATGT.I have 32 GB of RAM.
The line seems fine:
Increasing swap would be a solution? Running each file separately instead of all at the same time seems to work until now, I'm still trying to figure out what to do next when alignments are separated. Im adding read group labels into each.
Are you pipe the output into a sorting tool that might take up some memory?
I don't. This is the command I'm using
thanks for the help
It's not the good record, primers are different
CGATGTATCACGyou're right!
Indeed the record seem odd!
Thus, I let you investigate Scythe and Sickle log files to find out what happened