varfish-org / hgvs-rs

A port of biocommons/hgvs to the Rust programming language
Apache License 2.0
11 stars 4 forks source link

Fix intronic dup prediction issue from DNA11-dbSNP.tsv #28

Open holtgrewe opened 1 year ago

holtgrewe commented 1 year ago

The following need fixing:

#rs35803309 NC_000007.13:g.21723128_21723129insT    NM_001277115.2:c.5461-273dupT
#rs35803309 NC_000007.13:g.21723128_21723129insT    NM_003777.3:c.5482-273dupT
#rs146960178    NC_000007.13:g.21723129_21723130insC    NM_001277115.2:c.5461-269dupC
#rs146960178    NC_000007.13:g.21723129_21723130insC    NM_003777.3:c.5482-269dupC
thread 'mapper::variant::test::dnah11_db_snp_full' panicked at 'assertion failed: `(left == right)`: NM_001277115.2:c.5461-274_5461-273insT != NM_001277115.2:c.5461-273dupT (g>t; rs35803309; HGVSg=NC_000007.13:g.21723128_21723129insT)

Diff < left / right > :
<NM_001277115.2:c.5461-273dupT
>NM_001277115.2:c.5461-274_5461-273insT

', src/mapper/variant.rs:1723:13

I commented them out in the TSV file for now.