I recently have amplicons sequenced (Illumina PE250) to investigate microbial community. I want to know what quality detection, and what kind of trims of raw reads by what programs should be performed before joining paired-end raw reads? I think low-quality parts, potential barcode or primer sequences existed in raw reads should be excluded in advance. Is this right?
I finally merged reads pairs using usearch -fastq_mergepairs with -fastq_allowmergestagger enabled, but before merging, I cut primer/adapters using CutAdapt and trimed low-quality regions from ends of reads using Trimmomatric, and after merging, I cut potential primer/adapter again by CutAdapt and filtered reads with >0.5 expected errors by usearch -fastq_filter. Then I can do downstream analyses.