When doing align_trim, I noticed a read could be soft-clipped by both forward and reverse primers.
Sorry, I am not familiar with sequencing protocol in detailed, but should the align_trim take the strand into account while doing the trimming, so forward primers are trimmed only from forward strand and reverse primers are trimmed from reverse strand?
before line 231: if not segment.is_reverse:
before line 243: if segment.is_reverse:
When doing align_trim, I noticed a read could be soft-clipped by both forward and reverse primers.
Sorry, I am not familiar with sequencing protocol in detailed, but should the align_trim take the strand into account while doing the trimming, so forward primers are trimmed only from forward strand and reverse primers are trimmed from reverse strand?
before line 231: if not segment.is_reverse: before line 243: if segment.is_reverse: