Skip to content
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

Add "tseq" output & make available to Python #1201

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nickzoic
Copy link

It'd be handy to be able to retrieve the sequence which minimap2 has matched with, to generate HGVS strings or etc.

You could reconstruct this from the long form CS string (see #1194) but it seems like it'd be handy to just retrieve the whole string in one go.

This PR adds an mm_gen_tseq C function to retrieve the sequence, and a tseq property on the python Alignment object.

I've called it "tseq" because it's called that in the write_cs_ds_or_MD function but it's not necessarily a great name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant