I second VEP, it works quite well for this. I forget what the limit is for the number of variants through the online web interface but you can either do it that way in batches or do it through the command-line version. You just have to switch from the default and you can put in HGVS mutations using RefSeq sequences
Retrieve mutation position and ID for a mutation in hgvs format
How can I find a mutation's chr pos and id represented in HGVS format?
Eg:
Gene: TMEM231 cdna_Change: NM_001077418.1:c.582+3A>G protein_change: p.?
The mutations are represented in HGVS format. How and where can I find the rs#, chr and pos for this particular mutation.
I have a set of 10000 mutations and would like to annotate then with their chr, pos and rs#
• 10,242 views
•
link
3 answers
Also consider the Python hgvs package. [Disclosure: I'm one of the authors.]
• 0 views
•
link
Well as a non-python user I didn't like this tool initially but given it's well-written documentation, I was able to follow. Posting an example just in case if someone like me is struggling.
I had a NC IG as follows: "NC_000002.11:g.113890610C>T" and I wanted NP IDs for the same
## Initializing hgvs shell
hgvs-shell
var_g = parse("NC_000002.11:g.113890610C>T")
transcripts = am37.relevant_transcripts(var_g)
In [27]: for ac in sorted(transcripts):
...: var_t = g_to_t(var_g, ac)
...: var_p = t_to_p(var_t)
...: print("-> " + str(var_t) + " (" + str(var_p) + ") ")
This returned all the NP IDS
• 0 views
•
link
Log in to answer this question.
What programming languages do you know? This could be done in R (and presumably biopython/bioperl) relatively easily.
I know python and R
If VEP doesn't work for you, then you can do this in R. The general steps would be to:
The Ensembl VEP should work fine for this, as it does accept HGVS notations on RefSeq transcripts as input. No need for any programming. The documentation for the VEP is excellent!