>ENSP00000454338
FPIEAGDSRGLAAAPESQDSPEAVATEHNPVSGPCRASISPGRFVAALDATA
Given:
ENSP00000454338.1:p.Ala37Thr
Return the input with Ala at position 37 changed to Thr:
>ENSP00000454338
FPIEAGDSRGLAAAPESQDSPEAVATEHNPVSGPCRTSISPGRFVAALDATA I came across the HGVS package and I'm wondering whether it could be used for this task.
This is what I have so far but then I'm sort of stuck. Any help much appreciated!
import hgvs.parser
import hgvs.dataproviders.uta
import hgvs.assemblymapper
hgvsparser = hgvs.parser.Parser()
var = hgvsparser.parse_hgvs_variant('ENSP00000454338.1:p.Ala37Thr')
hdp = hgvs.dataproviders.uta.connect()
vm = hgvs.assemblymapper.AssemblyMapper(hdp, assembly_name='GRCh38', alt_aln_method='splign')
Dario
--
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 post to this group, send email to hgvs-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/hgvs-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/hgvs-discuss/8f9bdfaf-3cce-49c1-966d-c59115c894bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.