<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Christian,<br>
    <br>
    The method 'fetch_by_display_label' will return the gene matching a
    particular gene symbol, excluding any gene symbols.<br>
    <br>
    <br>
    Regards,<br>
    Magali<br>
    <br>
    <div class="moz-cite-prefix">On 04/08/2015 12:06, Christian Cole
      (Staff) wrote:<br>
    </div>
    <blockquote
      cite="mid:A96273C6-95A5-4E14-8CAF-53064780AA34@dundee.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>