Function Classify-Fragment
(
classify-fragment < aln > < fragments > < deterministic > )
For each list of sam-alignment instances with the same unclipped position and direction, all except the one with the highest score are marked as duplicates.
If there are fragments in such a list that are actually part of pairs, all the true fragments are marked as duplicates and the pairs are left untouched.