Hey, I am using the function fastq_quality_filter
from FASTX_toolkit. Here is my code:
fastq_quality_filter -q 20 -i input_path -o output_path
However, I got this error message "Invalid quality score value (char '.' ord 46 quality value -18) on line 4".
My sequences were generated from Illumina and I think it is TrueSeq. Below is the few sequences in the fastq file. Does anyone know why I am getting the invalid quality score?
@NS500216:139:H2JLWAFXX:1:11101:9276:1046 1:N:0:31
CACCTATCCCAACGCTGCCCATGCCGTCCGCCCGGCCGTCGCCGATGCCCGGCAGCCGCAACACGCCCTTCCCGGTGACCGCCTCGTGCGTCAACCCGCCCCCTCCCCGGGAACCTGGGCGTTCTGGCGACGCGACAGCCGGGATNTGGCN
+
FF....7A<<..A)F7F.FFF.AFAAA.<F<.))A<FF<<AF<AAF<<7<F<FFFF.FFFAF7FA.F...FFAAA)FAF)7)F.F)F<FFFFF7<F.<F..FF.F)).7F<F.F.7FFFA<).F.FFFFFF<.F<FFF.<7FFFF#<AAA#
@NS500216:139:H2JLWAFXX:1:11101:24009:1049 1:N:0:31
CAGGTGGATTGGGGGAGCAAGGGTGAGTCAGCCACGGTGTGCATGGACGGCAACAATGCGAACGCGCCGAAGAAGGAATGCAAGTCGGGCGAGGAGTAATCGCTAGACTGGCTGTTTGGCGACATCGGCGGCGCGTCCGCCANTGAGN
+
FF7F<7<<7)<..F.F.FFF7<7)FFF.)..F..FA).AFFFAFFFFFF.7FFF.FFFF)F<7F.<7FFFFAA.F.FFF<AFFFA.<7.<FFF<FFF.F<FAA.F7AF7.F.AFFAF.FF7A7FFAF<FAAFAF<<F<F.FF#<AA<#
@NS500216:139:H2JLWAFXX:1:11101:21209:1051 1:N:0:31
ACCGCGACGATCTGCTGCGCTTGCAGGACAAGGAGCAGCGCACCCTCCGGCCGATGGTGGTGCCGTTCAACCTGAAATGAGGAGGGCAGGACCGTGCCGCTGAAGCAGTAGCAAGAGCGCGTGCTGCGGGAGGTCAAGCACTTCCNTGAAN
+
AAAFFAFFA7AF.7<)F.FA.)A.7FFAF<7FFAF)<)FFF.A<<F<AFAFFF)F<7A<F)F7.F.FFFFF<.FFFA<FAF7AF<FFFFFFFFAFAFFAF)FFAFFFFFF.FAFFFFFFAFFFF<FFFFFA.F.F7AAFFFA.FF#AAAA#
@NS500216:139:H2JLWAFXX:1:11101:16640:1054 1:N:0:31
ATGCCCCTCTATGTTACGGCGTTCGATATTGTCAGCGGTCGCCTCCTTCTCTTTGGCGAAGACCCTCGCGCACCAGTGGCCGAGGCTGTGTTGGCTAGTTCATCCATCCCAGGCAGCCATCCTCCTCTGAATTATCACGGACTCCNGCTTN
+
Add option
-Q33
if you want to keep using FASTX_toolkit.I second using BBDuk.sh instead.