Entering edit mode
4.7 years ago
bbio
▴
90
I have a VCF file that has deletions specified like this, with the REF allele containing only the deleted portion and the ALT allele just saying -
:
chr1 101 . AAA -
I would like to combine this with another VCF in which deletions are specified like this, with REF and ALT both extended by 1bp to the left to ensure neither is empty:
chr1 100 . GAAA G
Is there a tool to convert from one of these representations to the other? I have already tried vt normalize
and bcftools norm
but neither of them seem to do this.
I don't really mind which representation I end up with although I think the second is the one more consistent with the spec.