--
You received this message because you are subscribed to the Google Groups "hgvs-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgvs-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hgvs-discuss/dd887bfd-b07a-4dbb-a8be-9563b5ed2337n%40googlegroups.com.
NC_000017.10:g.7578369A>C
NM_000546.5:c.559+2T>G
That isn't the output I expected based on the HGVS documentation at:
https://varnomen.hgvs.org/bg-material/numbering/
Which states: "a coding DNA reference sequence does not contain intron or 5’ and 3’ gene flanking sequences and can therefore not be used as a reference to describe variants in these regions see Reference Sequences."
The expected annotation would instead be:
NC_000017.10(NM_000546.5):c.559+2T>G
Hi Reece,
Thanks for getting back to me. I understand your suggestion to preparse a variant to remove the chromosomal accession -- but that is going in the opposite direction of what I'm trying to do.
Take the following code snippit:
from hgvs import parser
from hgvs.dataproviders.uta import connect
from hgvs.assemblymapper import AssemblyMapper
hp = parser.Parser()
hdp = hgvs_data_provider = connect()
am37 = projector = hgvs_assembly_mapper_37 = AssemblyMapper(hgvs_data_provider, assembly_name='GRCh37')
var_g = hp.parse_hgvs_variant("NC_000017.10:g.7578369A>C")
print(var_g)
var_t = am37.g_to_t(var_g, "NM_000546.5")
print(var_t)from hgvs import parser
from hgvs.dataproviders.uta import connect
from hgvs.assemblymapper import AssemblyMapper
hp = parser.Parser()
hdp = hgvs_data_provider = connect()
am37 = projector = hgvs_assembly_mapper_37 = AssemblyMapper(hgvs_data_provider, assembly_name='GRCh37')
var_g = hp.parse_hgvs_variant("NC_000017.10:g.7578369A>C")
print(var_g)
var_t = am37.g_to_t(var_g, "NM_000546.5")
print(var_t)
I get the following printout:NC_000017.10:g.7578369A>C
NM_000546.5:c.559+2T>G
That isn't the output I expected based on the HGVS documentation at:
https://varnomen.hgvs.org/bg-material/numbering/
Which states: "a coding DNA reference sequence does not contain intron or 5’ and 3’ gene flanking sequences and can therefore not be used as a reference to describe variants in these regions see Reference Sequences."
The expected annotation would instead be:
NC_000017.10(NM_000546.5):c.559+2T>G
--
You received this message because you are subscribed to the Google Groups "hgvs-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgvs-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hgvs-discuss/f5564476-2473-40d6-a800-1fcc6cc0cf92n%40googlegroups.com.