Construct Cigar from raw data
Construct Cigar from an array of CIGAR ops
previous alignedLength function had a bug and it is just a duplicate of ref_bases_covered
Undocumented in source.
Undocumented in source. Be warned that the author may not have intended to support it.
return the alignment length expressed by this Cigar TODO: use CIGAR_TYPE to get rid of switch statement for less branching
Format Cigar struct as CIGAR string in accordance with SAM spec
array of distinct CIGAR ops
Represents a CIGAR string https://samtools.github.io/hts-specs/SAMv1.pdf §1.4.6