Jasmine icon indicating copy to clipboard operation
Jasmine copied to clipboard

--normalize_type creates invalid VCF for translocations

Open wdecoster opened this issue 4 years ago • 2 comments

Hi,

I think --normalize_type on a BND representing a translocation creates an invalid VCF, as it fills in the END INFO field with a value that is on a different chromosome, which may end up being END < POS. While that seems, according to the VCF4.2 specifications, not explicitly forbidden, it does lead to errors with bcftools and has been clarified in the VCF4.3 specifications "End position on CHROM ".

See for example also https://github.com/samtools/hts-specs/pull/436

Cheers, Wouter

wdecoster avatar Oct 19 '21 13:10 wdecoster

Hi Wouter,

Thanks for bringing this to my attention! I will plan on updating this in the next Jasmine release to conform with these standards.

Thank you!! Melanie

mkirsche avatar Oct 26 '21 14:10 mkirsche

Hi Melanie,

That's great. Thank you for the very useful tool. I think this also comes from jasmine, but I think you also added the 'STRANDS' and 'AF' info fields, but these are not yet defined in the VCF header?

Cheers, Wouter

wdecoster avatar Oct 26 '21 18:10 wdecoster