quality filtering error usearch
Hi, after trimming bad quality ends and the primers with cutadapt I am using usearch to do some quality filltering with this little script:
for fq in out_trimmed/*_trimmed_primers2.fastq
do
usearch9 -fastq_filter $fq -fastq_maxee 1 -fastq_minlen 200 -fastaout "${fq%.fastq}.fa"
done
but I get this error:
e../fastqfilter.cpp(132) assert failed: Qual != 0
someone knows the meaning?
could it have something to do with the steps that I take in cutadapt? thanks a lot for any help
• 2,379 views
•
link
1 answer
Suggest you to check the fastq statistics after using cutadapt.
If in case, whole sequence gets trimmed due to presence of adapter sequence, cutadapt does not remove the header, instead it leaves header with an empty sequence line. So it is always advisable to run cutadapt with minimum length criteria.
• 0 views
•
link
Log in to answer this question.
Could you point out where is this
fastqfilter.cpp, that will be helpful to locate your problem.BTW, fastp may help you to do the trimming and filtering. fastp is a ultra-fast open-source FASTQ preprocessing tool developed in C++, with following features:
The project is at:https://github.com/OpenGene/fastp