deTiN
deTiN copied to clipboard
More robustly handle sample names in indel VCF headers
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.
I've confirmed this works with Strelka VCFs, both malformed and header fixed. Need to test on M2 and Sanger before merging.