Hello -
I am using fastq_quality_trimmer tool from the Fastx toolkit to do some quality control on my gzipped fastq file. However, I keep getting wrong file type error. Are the fastq files to be gunzipped prior to using them with this tool?
Edit 1: I figured out that I needed to use zcat to feed the data to this tool as follows:
$> zcat sequences_fastq.gz | fastq_quality_trimmer -t 30 -l 35 -z -o sequences_trimmed_fastq.gz
This results in the following error:
fastq_quality_trimmer: Invalid quality score value (char '#' ord 35 quality value -29) on line 4
I am not quite sure if I understand what's causing this.
I am using fastq_quality_trimmer tool from the Fastx toolkit to do some quality control on my gzipped fastq file. However, I keep getting wrong file type error. Are the fastq files to be gunzipped prior to using them with this tool?
Edit 1: I figured out that I needed to use zcat to feed the data to this tool as follows:
$> zcat sequences_fastq.gz | fastq_quality_trimmer -t 30 -l 35 -z -o sequences_trimmed_fastq.gz
This results in the following error:
fastq_quality_trimmer: Invalid quality score value (char '#' ord 35 quality value -29) on line 4
I am not quite sure if I understand what's causing this.
Comment