cancervariants / variation-normalization

Services and guidelines for normalizing variants
https://normalize.cancervariants.org/variation/
MIT License
10 stars 2 forks source link

Fix hgvs/free text dup/del end range positions #524

Closed korikuzma closed 9 months ago

korikuzma commented 10 months ago

From 2021, we had this logic:

Dup/Dels of this form (a_b)_(c_d)  # where a,b,c,d are ints
  Use definite ranges 
    start = (min=a-1, max=b-1) 
    end = (min=c+1, max=d+1) 

However, we should fix to:

Then this is a standard residue -> interresidue conversion:
(a_b)_(c_d)-> start: models.Range([a-1, b-1]), end: models.Range([c,d])
github-actions[bot] commented 9 months ago

Closed by #525.