SACGF / cdot

Transcript versions for HGVS libraries
MIT License
29 stars 5 forks source link

Bad conversion of UTA cDNA matches #15

Closed davmlaw closed 2 years ago

davmlaw commented 2 years ago

https://cdot.cc/transcript/NM_138459.4

In GRCh37, the cdna match is "M195 =1 M430"

Causing a PyHGVS error of: Unknown code in cDNA GAP: =1

davmlaw commented 2 years ago

The original record from UTA contained: "195=1X430=" - so it's a mismatch

So, need to handle that

davmlaw commented 2 years ago

Made a quick change to turn X into a match, but should write some optimisation code that "joins" multiple matches and turns all matches into a None (ie perfect match)