fastx_collapser: Invalid quality score value (char '/' ord 47 quality value -17). Why?
3
0
Entering edit mode
5.7 years ago
jaqx008 ▴ 110

Hey everyone, I am currently trying to use fastx_collapser of a fastq file and I am getting the error below. When I looked in the fastq file, there are numerous places with '/'. How do I correct this and collaps my fastq file? By the way, I have tried some of the recommendations with -Q33 and out put file wasnt a fastq file and dont know what to do with it. Thanks

fastx_collapser -v -i file.fastq -o 2file.fastq

fastx_collapser: Invalid quality score value (char '/' ord 47 quality value -17) on line 56

AAAAAEEEAEEAAEAEE/EAE/EEEEEAEEE/E/EE
@NS500519:44:HHHTLBGX2:1:11101:23901:1069 1:N:0:CAGATC
GTAACCTGTAGATCCGAATTTGTG
+ 
6A6/AE/AE6EE/EEEAA6EE/EE 
@NS500519:44:HHHTLBGX2:1:11101:5260:1069 1:N:0:CAGATC 
CATTGCACTCGTCCCGGCCTGA
mapping fastx-toolkit _collapser Rnaseq • 2.1k views
ADD COMMENT
0
Entering edit mode

/ is a valid quality character for Phred+33.

Is the fastq snippet you posted the very beginning of the file? Because it starts at a quality line, not at a header. Mind you, there is a previous post where the error has been exactly this: FASTX error - quality score

ADD REPLY
0
Entering edit mode

No its not the begining of the file. its somewhere after line 50 I think.

ADD REPLY
0
Entering edit mode

Ok let me try this suggestions.

ADD REPLY
0
Entering edit mode
5.7 years ago

Well, the stupid easy way to deal with this...use sed to change all the "/" to a legal quality character.

ADD COMMENT
0
Entering edit mode
5.7 years ago
GenoMax 141k

I suggest that you use clumpify.sh ( A: Introducing Clumpify: Create 30% Smaller, Faster Gzipped Fastq Files ) instead of fastx_collpaser.

ADD COMMENT
0
Entering edit mode
5.7 years ago

Another suggestion:

Run Trimmomatic on your data with the TOPHRED33 flag, see whether that'll change your quality scores.

ADD COMMENT

Login before adding your answer.

Traffic: 2551 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6