Adapter trimming

The algorithm can trim adapter sequences from mapped paired-end reads. For each individual read in a pair, read sequence that extends beyond the 5' end of the other read in the pair, is considered adapter sequence and is trimmed.

If consensus sequences can be calculated from the adapter sequences removed from R1 and/or R2, these are included in the report. Provided consensus sequences start with the first base that is removed, and continue until it is no longer possible to confidently calculate a consensus.

It is possible to remove trimmed reads that are shorter than a defined threshold after adapter trimming.