CIGAR operations after the current operation
CIGAR operations before the current operation
Current CIGAR operation. One of 'M', '=', 'X', 'D', 'N. Use cigar_after/cigar_before to determine insertions.
Number of bases consumed from the current CIGAR operation.
If current CIGAR operation is one of 'M', '=', or 'X', returns read base at the current column. Otherwise, returns '-'.
If current CIGAR operation is one of 'M', '=', or 'X', returns Phred-scaled read base quality at the current column. Otherwise, returns 255.
Returns duplicate
Returns number of bases consumed from the read sequence.
More concisely,
(in both cases indices are 0-based)
Represents a read aligned to a column