<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 16px; font-family: Cochin, sans-serif;">
<div><br>
</div>
<div>
<div id="">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.</div>
</div>
<div id=""><br>
</div>
<div id="">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?</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>