<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Dear Matthew,</div><div id="AppleMailSignature">Thanks for the quick reply.</div><div id="AppleMailSignature">Looking forward for the next Ensembl release!</div><div id="AppleMailSignature">Best,<br><br>Matteo Accetturo </div><div><br>Il giorno 03 apr 2017, alle ore 16:30, Matthew Laird <<a href="mailto:lairdm@ebi.ac.uk">lairdm@ebi.ac.uk</a>> ha scritto:<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
  
  
    Hello Matteo,<br>
    <br>
    You have indeed spotted a bug in the REST API, if the requested
    overlap region is completely within the exon's start and end it
    isn't currently returned. This bug is only occurring with exon
    features.<br>
    <br>
    The fix will be available in Ensembl 89 released in May. In the
    meantime a work around would be to either expand your overlap window
    or for any gene/transcripts returned do a lookup using the expand
    option to find any decedent exons.<br>
    <br>
    Cheers.<br>
    <br>
    <div class="moz-cite-prefix">On 03/04/17 14:20, Matteo Accetturo
      wrote:<br>
    </div>
    <blockquote cite="mid:255576A4-8EE3-4EBE-8B97-4A72535BA7BF@uniba.it" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Dear Ensembl team,
      <div class="">I am trying to retrieve the exon number with the <font style="text-decoration: none;" class=""><a moz-do-not-send="true" href="http://rest.ensembl.org/documentation/info/overlap_region" style="text-decoration: none;" class="">GET
            overlap/region/:species/:region</a> </font>REST API
        Endpoint, however the results are not always as expected. For
        example:</div>
      <div class=""><a moz-do-not-send="true" href="http://rest.ensembl.org/overlap/region/human/1:179564700-179564705?feature=gene;feature=exon;content-type=application/json" class="">http://rest.ensembl.org/overlap/region/human/1:179564700-179564705?feature=gene;feature=exon;content-type=application/json</a></div>
      <div class="">should retrieve exon number 2, while it doesn’t
        retrieve any exon.</div>
      <div class="">Am I doing any mistake?</div>
      <div class="">Thanks,</div>
      <div class="">Matteo.</div>
      <div class=""><br class="">
        <div class="">
          <div class="">###################</div>
          Matteo Accetturo, Ph.D.<br class="">
          Dipartimento dell’Emergenza e dei trapianti di organi<br class="">
          Università degli Studi di Bari “A.Moro”<br class="">
          Policlinico, Piazza G. Cesare 11<br class="">
          70124 Bari<br class="">
          T: +39 080 5478868<br class="">
          <br class="">
          <br class="">
        </div>
        <br class="">
      </div>
      <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>
  

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Dev mailing list    <a href="mailto:Dev@ensembl.org">Dev@ensembl.org</a></span><br><span>Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a></span><br><span>Ensembl Blog: <a href="http://www.ensembl.info/">http://www.ensembl.info/</a></span><br></div></blockquote></body></html>