compareCoordinatesAndStrand

Comparison function for 'coordinate' sorting order (returns whether first read is 'less' than second)

This function can be called on:

  • two reads (in this case, reference IDs are also taken into account)
  • read and integer in any order

This function takes read direction into account (used for original samtools style sorting)

bool
compareCoordinatesAndStrand
(
R1
R2
)
(
const auto ref R1 a1
,
const auto ref R2 a2
)
if ()

Meta