fastp icon indicating copy to clipboard operation
fastp copied to clipboard

cut_right doesn't work as the same as trimmomatic

Open stahiga opened this issue 3 years ago • 0 comments

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: 11_1

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: 23

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:

45

How does the cut_right treat N bases?

stahiga avatar May 31 '23 14:05 stahiga