bowtie2 icon indicating copy to clipboard operation
bowtie2 copied to clipboard

Saw ASCII character 10 but expected 33-based Phred qual. Aborted (core dumped)

Open TeddyLee1 opened this issue 2 years ago • 5 comments

When I only use humann2 software for metagenomics analysis, I encountered an error report, but I don't know what caused it. I hope that teachers can help me solve this problem. Error message returned from metaphlan2.py : Saw ASCII character 10 but expected 33-based Phred qual. Aborted (core dumped) (ERR): bowtie2-align exited with value 134 Error while running bowtie2.)

TeddyLee1 avatar Feb 06 '23 16:02 TeddyLee1

Hello, and sorry for the late response on this. It is possible that there are some extra newlines in your FASTA/Q record that is tripping up the Bowtie 2 parser. Bowtie2 is very strict about this and record like the one below can cause this error:

@r1
ACGTGCGTCTTCGTCTTTTGAGCTACCTTTT
+

IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

ch4rr0 avatar Jun 07 '23 00:06 ch4rr0

Hello,

We have pushed a couple of commits to bug_fixes that should take care of this issue. With this change even the below FASTQ file gets parsed without error:







@r1




CTGTCTCGACGTTTAAAGGCATTCAAGCCTAGAATTACACCATAATT




+



IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
@r2



CTGTCTCGACGTTTAAAGGCATTCAAGCCTAGAATTACACCATAATT







+

IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII


@r3

+




ch4rr0 avatar Sep 28 '23 17:09 ch4rr0

hello, @https://github.com/ch4rr0 which version of bowtie2 have you add the above bug_fixes ?

thanks!

xmy1990 avatar Jan 10 '24 02:01 xmy1990

Hello,

I have not published a release with the fixes yet. v2.5.3 should be coming out before the end of the week.

ch4rr0 avatar Jan 10 '24 03:01 ch4rr0

@https://github.com/ch4rr0 Thank you, I eagerly look forward to your updates.

xmy1990 avatar Jan 15 '24 01:01 xmy1990