<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Or indeed fetch_by_translation_stable_id, without the typo.<br>
    <br>
    <div class="moz-cite-prefix">On 15/04/2013 10:37, Emily Pritchard
      wrote:<br>
    </div>
    <blockquote cite="mid:516BCA4F.6000100@ebi.ac.uk" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hi Jens<br>
      <br>
      It's returning undef because the transcript adaptor expects a
      transcript ID. To fetch by a protein ID use the method
      fetch_by_translation_table_id:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1DBSQL_1_1TranscriptAdaptor.html#a973cb5603702027d5fab2f639fe26cd0">http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1DBSQL_1_1TranscriptAdaptor.html#a973cb5603702027d5fab2f639fe26cd0</a><br>
      <br>
      All the best<br>
      <br>
      Emily<br>
      <br>
      <div class="moz-cite-prefix">On 15/04/2013 10:32, Jens Christian
        Nielsen wrote:<br>
      </div>
      <blockquote
cite="mid:CAEoXKwHDUYVGh+Gfh7by_-nZjycDRtXu0F7G76keOugNEFECrA@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>Hello Ensemblers,</div>
          <div><br>
          </div>
          <div>I got a list of protein stable id's like</div>
          <div>ENSP00000291232</div>
          <div>ENSP00000291232</div>
          <div>ENSP00000382378</div>
          <div>...</div>
          <div><br>
          </div>
          <div> , and i want to retrieve the corresponding transcripts.
            I have tried using:</div>
          <div><br>
          </div>
          <div>$transcript =
            $transcript_adaptor->fetch_by_stable_id($stable_id);</div>
          <div><br>
          </div>
          <div>but it returns undefined for all the stable id's. How can
            I fetch the transcripts?</div>
          <div><br>
          </div>
          <div>Thank  you,</div>
          <div><br>
          </div>
          <div>Jens</div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Dev mailing list    <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Dr Emily Pritchard
Ensembl Outreach Officer

EMBL - European Bioinformatics Institute
Wellcome Trust Genome Campus
Hinxton
Cambridge
CB10 1SD
UK </pre>
      <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>
    <pre class="moz-signature" cols="72">-- 
Dr Emily Pritchard
Ensembl Outreach Officer

EMBL - European Bioinformatics Institute
Wellcome Trust Genome Campus
Hinxton
Cambridge
CB10 1SD
UK </pre>
  </body>
</html>