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

write_vcf should use the reference sequence for REF, if present #2898

Open
hyanwong opened this issue Feb 7, 2024 · 0 comments
Open

write_vcf should use the reference sequence for REF, if present #2898

hyanwong opened this issue Feb 7, 2024 · 0 comments
Milestone

Comments

@hyanwong
Copy link
Member

hyanwong commented Feb 7, 2024

At the moment, the write_vcf() function simply outputs the 0th allele from variant.alleles (i.e. the ancestral state) as the REF. If we have defined a reference sequence, then presumably we should be using the actual REF instead, if it exists.

Either way, the behaviour should be documented.

@jeromekelleher jeromekelleher added this to the Python 0.5.7 milestone Feb 7, 2024
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