Get start and end positions of transcripts via REST API?
1
1
Entering edit mode
9.3 years ago

How do I get the start and end positions of the Hemoglobin Z transcript ENSG00000130656 using a Python REST API? Is it possible? For example I want to get the start and end positions of these exons: http://www.ensembl.org/Homo_sapiens/Transcript/Exons?db=core;g=ENSG00000130656;r=16:152687-154503;t=ENST00000252951

ensembl • 2.1k views
ADD COMMENT
2
Entering edit mode
9.3 years ago

I came up with the answer. I can simply access this url: http://rest.ensembl.org/overlap/id/ENSG00000130656.json?feature=exon

The documentation is quite comprehensive, once it is located: http://rest.ensembl.org/documentation/info/overlap_id

ADD COMMENT

Login before adding your answer.

Traffic: 1919 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6