CIGAR text parsing is currently hidden inside sam_parse1() and not exposed by the API. CIGAR parsing is a generally useful function that should be exposed - especially since it's required to handle the spec-defined MC and SA tags.
This issue is a feature request for the htslib API to be expanded to include a function to parse a string into the htslib CIGAR representation format.
CIGAR text parsing is currently hidden inside sam_parse1() and not exposed by the API. CIGAR parsing is a generally useful function that should be exposed - especially since it's required to handle the spec-defined
MCandSAtags.This issue is a feature request for the htslib API to be expanded to include a function to parse a string into the htslib CIGAR representation format.