varfish-org / varfish-annotator

(Legacy) Annotate variants for import into VarFish server.
MIT License
6 stars 3 forks source link

Problem with REF/ALT normalization in VCF #99

Closed holtgrewe closed 1 year ago

holtgrewe commented 1 year ago

Describe the bug For input as below

19 5687506 . GC GT

The first base should be trimmed. The annotator does this but does not update the position leading to a wrong location.

19 5687506 . C T

The correct output is

19 5687507 . C T

Such input is probably rare, affects multiallelic sites, and did not occur previously as our installation does this normalization with bcftools norm.