[ensembl-dev] Getting >1 stable IDs from HGNC symbols
mag
mr6 at ebi.ac.uk
Tue Aug 4 13:15:59 BST 2015
Hi Christian,
The method 'fetch_by_display_label' will return the gene matching a
particular gene symbol, excluding any gene symbols.
Regards,
Magali
On 04/08/2015 12:06, Christian Cole (Staff) wrote:
>
> 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
>
>
> _______________________________________________
> Dev mailing list Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20150804/eae38fbb/attachment.html>
More information about the Dev
mailing list