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

More robustly handle sample names in indel VCF headers #32

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

julianhess
Copy link

The VCF spec demands that the samples' column names match entries in the header (e.g. if ##normal_sample=MY_NORMAL is present in the header, then the column for the normal should be named MY_NORMAL.)

Previously, deTiN would break on otherwise valid indel VCFs. This fixes that. As a bonus, the deTiN output should be easier to merge with the input VCF, since the VCF column names are preserved.

@julianhess julianhess marked this pull request as draft December 22, 2020 15:25
@julianhess
Copy link
Author

I've confirmed this works with Strelka VCFs, both malformed and header fixed. Need to test on M2 and Sanger before merging.

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.

1 participant