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

Use a known normalization algorithm in utils.hgvs._normalized_vcf function #140

Open
erikyao opened this issue Jan 5, 2022 · 0 comments
Assignees

Comments

@erikyao
Copy link
Contributor

erikyao commented Jan 5, 2022

There are a few VCF normalization tools/algorithms that can be used in our _normalized_vcf function, e.g.:

Our current implementation fails to meet the Parsimony definition of VCF normalization:

A variant is parsimonious if and only if it is represented in as few nucleotides as possible
without an allele of length 0.

E.g. our current implementation cannot handle cases like ref = "TCCCCT", alt = "CCCCT". Normalized sequences should be ref = 'TC', alt = 'C'.

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

No branches or pull requests

2 participants