Parses a CIGAR string, and returns the aligned length with respect to the reference genome (i.e.
Parses a CIGAR string, and returns the aligned length with respect to the reference genome (i.e. skipping clipping, padding, and insertion operators)
The CIGAR string whose reference length is to be measured
A non-negative integer, the sum of the MDNX= operators in the CIGAR string.