Skip to main content

parse_cigar_string

Function parse_cigar_string 

Source
pub fn parse_cigar_string(cigar_str: &str) -> Vec<(Kind, usize)>
Expand description

Parses a CIGAR string and returns it as a vector of (Kind, length) operations.

This is useful for parsing the MC (mate CIGAR) tag value.