fastp
fastp copied to clipboard
cut_right doesn't work as the same as trimmomatic
The cut_right doesn't cut the low-quality N bases at the end of read.
I will give an example to project this. I used both fastp and trimmomatic to process the data whose quality and length distribution is shown below:
trimmomatic with SLIDINGWINDOW:4:15 parameter would cut the low-quality bases from 5' to 3' properly and the distribution of read length will be like:
while using fastp with --cut_right and --cut_right_window_size 4 would have results as follows, which seems like fastp doesn't deal with position 48 which has more than 80% N bases:
How does the cut_right treat N bases?