Question: fastx_collapser: Invalid quality score value (char '/' ord 47 quality value -17). Why?
0
gravatar for jaqx008
10 weeks ago by
jaqx00840
jaqx00840 wrote:

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
ADD COMMENTlink modified 9 weeks ago • written 10 weeks ago by jaqx00840

/ 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 REPLYlink modified 9 weeks ago • written 10 weeks ago by h.mon20k

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

ADD REPLYlink written 9 weeks ago by jaqx00840

Ok let me try this suggestions.

ADD REPLYlink written 9 weeks ago by jaqx00840
0
gravatar for swbarnes2
10 weeks ago by
swbarnes24.2k
United States
swbarnes24.2k wrote:

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

ADD COMMENTlink written 10 weeks ago by swbarnes24.2k
0
gravatar for genomax
10 weeks ago by
genomax57k
United States
genomax57k wrote:

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

ADD COMMENTlink modified 10 weeks ago • written 10 weeks ago by genomax57k
0
gravatar for Philipp Bayer
10 weeks ago by
Philipp Bayer5.7k
Australia/Perth/UWA
Philipp Bayer5.7k wrote:

Another suggestion:

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

ADD COMMENTlink written 10 weeks ago by Philipp Bayer5.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 620 users visited in the last hour