najoshi / sickle

Windowed Adaptive Trimming for fastq files using quality
MIT License
217 stars 95 forks source link

Different quality and length thresholds for paired-end and single-end reads #37

Open jdidion opened 10 years ago

jdidion commented 10 years ago

I'd like to propose additional options for paired-end trimming that will enable different quality and length thresholds to be used to decide whether to keep a single read if one but not both mates fail the paired-end quality filters. I will implement this and submit a pull request. The options will look like this:

-L, --orphan-length-threshold, length threshold to use for retaining a single mate if one (but not both) mate fails the paired-end length threshold. Defaults to the value specified for --length-threshold. -Q --orphan-qual-threshold, quality threshold to use for retaining a single mate if one (but not both) mate fails the paired-end quality threshold. Defaults to the value specified for --qual-threshold.