}
// Advance the right iterator until it is >= the left reads that have just been grabbed
while (itRight.hasCurrent() && compareAlignmentCoordinates(left, itRight.getCurrent()) > 0) {
final SAMRecord right = itRight.getCurrent();
rightUnmatched.put(right.getReadName(), right);
itRight.advance();
}
// For each right read that has the same coordinate as the current left reads,
// see if there is a matching left read. If so, process and discard. If not,
// save the right read for later.
for (;itRight.hasCurrent() && compareAlignmentCoordinates(left, itRight.getCurrent()) == 0; itRight.advance()) {