fastp
fastp copied to clipboard
--cut_right not working as expected
Hi guys,
I used the following command to call fastp:
fastp -i reads/XXXXXXXXXXX_S81_L001_R1_001.fastq.gz -I reads/XXXXXXXXXXX_S81_L001_R2_001.fastq.gz -o R1.fastq.gz -O R2.fastq.gz --cut_right -M 30 --cut_right_window_size 1 -w 10
I would expect that every basecall with a phred blow 30 and every later basecall is removed by fastp.
If I analyze the output using fastQC I got such an unexpected behavior:

For me it looks like the last basecall of a reads is ignored by the sliding window by an off by one error.
Installed fastp via conda (v0.20.1)
Cheers! Ben