<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Reece,<br>
<br>
It is currently not straightforward to link between GRCh37 and
GRCh38 resources, which is why we have a dedicated GRCh37 REST
server.<br>
<a class="moz-txt-link-freetext" href="http://grch37.rest.ensembl.org">http://grch37.rest.ensembl.org</a><br>
<br>
It is possible to map a location from GRCh37 to GRCh38 and
vice-versa via the mapping endpoint<br>
for example:<br>
<a class="moz-txt-link-freetext" href="http://rest.ensembl.org/map/human/GRCh37/X:1000000..1000100:1/GRCh38?content-type=application/json">http://rest.ensembl.org/map/human/GRCh37/X:1000000..1000100:1/GRCh38?content-type=application/json</a><br>
<br>
And a similar endpoint can provide you with transcript coordinates
translated to genomic coordinates, although the reverse is not
available<br>
<a class="moz-txt-link-freetext" href="http://rest.ensembl.org/map/cdna/ENST00000288602/100..300?content-type=application/json">http://rest.ensembl.org/map/cdna/ENST00000288602/100..300?content-type=application/json</a><br>
<br>
I am not sure if that covers your use case, so please don't hesitate
to give us some feedback.<br>
The REST API is still in active development and we are always happy
to get some feature requests that allow us to prioritise future
endpoints.<br>
<br>
<br>
Regards,<br>
Magali<br>
<br>
<div class="moz-cite-prefix">On 30/07/2015 21:46, Reece Hart wrote:<br>
</div>
<blockquote
cite="mid:CAKNDN-cUKmckZLuFCPkuzA0hMwrBdFm=r29wbovsXfUhu-Xe0w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi-
<div><br>
</div>
<div>Is there a way to get transcript coordinates via the REST
interface for both GRCh37 and 38? Or, more specifically, is
there any way other than via the perl interface?</div>
<div><br>
</div>
<div><br>
</div>
<div>I'm imaging/hope for something akin to</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://rest.ensembl.org/overlap/id/ENSG00000157764?feature=transcript">http://rest.ensembl.org/overlap/id/ENSG00000157764?feature=transcript</a><br>
</div>
<div><br>
</div>
<div>returning something like:</div>
<div><br>
</div>
<div>
<div> {'Parent': 'ENSG00000271932',</div>
<div> 'biotype': 'snRNA',<br>
</div>
<div> 'feature_type': 'transcript',<br>
</div>
<div> 'id': u'ENST00000605989',</div>
<div> 'coordinates': {</div>
<div> 'NC_000007.10' : { 'strand': -1, 'start_end':
[[140696671,140696671], [140696671,140696671]...]},</div>
<div> 'ENST00000605989' : { 'strand': 1, 'start_end':
[[10,20], [20,30]...]},</div>
<div> },<br>
</div>
<div>}]</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Reece</div>
</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>
</body>
</html>