-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIGAR parsing API #1147
Comments
Which format are you referring to? The CIGAR string is converted to a
Is this what you are looking for? |
A good name for this would perhaps be @valeriuo is right that one of the reasons this doesn't exist yet is that HTSlib doesn't really have a standalone CIGAR representation format(!). So returning a count and |
Yes, this is exactly what I'm after. My particular use case is parsing the What I wasn't sure of (hence the issue) was how minimal the parameter set should be@jmarshall makes a good point about memory management and there's also the question of whether a |
I'd think a |
Fixed in 9a55e4e |
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
andSA
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.
The text was updated successfully, but these errors were encountered: