[ensembl-dev] Getting >1 stable IDs from HGNC symbols
Christian Cole (Staff)
C.Cole at dundee.ac.uk
Tue Aug 4 12:06:50 BST 2015
When using the $geneAdaptor->fetch_all_by_external_name($name,'HGNC') method I'm getting all synonym matches as well so it's returning several ensembl stable IDs for unrelated genes. E.g. searching FLG (Filaggrin, ENSG00000143631) also returns FGFR1 (ENSG00000077782). The order they are returned also varies with different versions of the API.
How can I avoid hitting synonyms or is there a more reliable way to get the correct ensembl stable ID given an HGNC gene name?
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20150804/a1abb023/attachment.html>
More information about the Dev
mailing list