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
Format Cigar struct as CIGAR string in accordance with SAM spec
return the alignment length expressed by this Cigar TODO: use CIGAR_TYPE to get rid of switch statement for less branching
array of distinct CIGAR ops
Represents a CIGAR string https://samtools.github.io/hts-specs/SAMv1.pdf §1.4.6