Discard read if it has an alignment that aligns in multiple locations of one contig with approximately equal quality.
Discard improper alignments.
Discard read if it has an alignment that – extended with the exceeding read sequence on either end – is fully contained in a single contig.
This is a collection of helpers for the alignment filtering.