MyDisease.info documentation¶
Introduction¶
MyDisease.info provides simple-to-use REST web services to query/retrieve all disease annotation data. It’s designed with an emphasis on simplicity and performance.
Quick start¶
MyDisease.info provides two simple web services: one for querying disease objects and the other for disease annotation retrieval by common IDs (e.g. mondo, doid, etc.). Both return results in JSON format.
Disease query service¶
URL¶
http://mydisease.info/v1/query
Examples¶
http://mydisease.info/v1/query?q=GIST
http://mydisease.info/v1/query?q=_exists_:ctd
http://mydisease.info/v1/query?q=q=disgenet.genes_related_to_disease.gene_name:OFD1&fields=disgenet
Hint
View nicely formatted JSON result in your browser with this handy add-on: JSON formatter for Chrome or JSONView for Firefox.
To learn more¶
- You can read the full description of our query syntax here.
- Try it live on interactive API page.
- Batch queries? Yes, you can. do it with a POST request.
Disease annotation service¶
URL¶
http://mydisease.info/v1/disease/<disease_id>
<disease_id>
can be any one of the following common disease identifiers:
- MONDO,
- Disease Ontology ID <https://disease-ontology.org/>.
Examples¶
http://mydisease.info/v1/disease/MONDO:0016575
http://mydisease.info/v1/disease/MONDO:0020753?fields=mondo
http://mydisease.info/v1/disease/MONDO:0011996?fields=disease_ontology
To learn more¶
- You can read the full description of our query syntax here.
- Try it live on interactive API page.
- Yes, batch queries via POST request as well.