OpenGene / fastp

An ultra-fast all-in-one FASTQ preprocessor (QC/adapters/trimming/filtering/splitting/merging...)
MIT License
1.93k stars 334 forks source link

Adapter related options #275

Open gudeqing opened 4 years ago

gudeqing commented 4 years ago

Hi, I found the adapter related options are confusing and give surprising result as show below. In a word: More adapter information may miss rescue some reads! By the way, fastp v0.21.0 is used.

content of adapters.fasta

commonseq2_in_read1 AGGACTCCAAT commonseq1_in_read2 CAAAACGCAATACTGTACATT

Based on Results, we could find that the added 'adapters.fasta' helps to rescue some reads ! So, why would this happen? I think more descriptions are needed for using these options properly.

With Best Regards!

AlijahArcher commented 4 years ago

Looks like without the adapter_fasta there were two additional reads were being filtered out due to quality. My guess is that by adding the adapter_fasta, those two reads that were originally filtered now have a mean quality score that exceeds the default threshold (20).