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

Methods for determining the variant type #31

Merged
merged 3 commits into from
Mar 7, 2012

Conversation

arq5x
Copy link

@arq5x arq5x commented Mar 6, 2012

Hi James,

I added a bunch of new methods (and associated tests) for assessing the type (e.g. "snp", "indel", "unknown") and sub_type (e.g., "ts", "tv", "ins", "del") of a variant Record. These attributes depend on some helper functions that I added: is_snp, is_indel, is_transition, is_deletion. Future work will be to support SVs.

I hope this helps. Let me know if you have any comments or concerns.

@jamescasbon
Copy link
Owner

Scheduled for next release unless anyone raises an objection?

jamescasbon pushed a commit that referenced this pull request Mar 7, 2012
Methods for determining the variant type
@jamescasbon jamescasbon merged commit d3b841d into jamescasbon:master Mar 7, 2012
gotgenes pushed a commit to gotgenes/PyVCF that referenced this pull request May 13, 2014
Methods for determining the variant type
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.

2 participants