ResearchSoftwareInstitute / greendatatranslator

Green Team Data Translator Software Engineering and Development
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Comparative Toxicogenomics Database (CTD) #119

Closed stevencox closed 5 years ago

stevencox commented 6 years ago

Provision a CTD smartAPI generated via smartBag.

Here's the GitHub repo

Dependent on smartBag

The API endpoint is here

stevencox commented 6 years ago

An updated version of the CTD service is provisioned at ctdapi.renci.org.

The service now provides chemical to gene data. With this update, the service is expected to fulfill the near term use cases of the Gamma reasoner.

Code for

are here

This request:

GET /CTD_chemicals_DrugBankIDs/{DrugBankIDs}/

produces this response:

[
  {
    "ChemicalName": "Imatinib Mesylate",
    "ChemicalID": "MESH:D000068877",
    "CasRN": "",
    "Definition": "A tyrosine kinase inhibitor and ANTINEOPLASTIC AGENT that inhibits the BCR-ABL kinase created by chromosome rearrangements in CHRONIC MYELOID LEUKEMIA and ACUTE LYMPHOBLASTIC LEUKEMIA, as well as PDG-derived tyrosine kinases that are overexpressed in gastrointestinal stromal tumors.",
    "ParentIDs": "MESH:D001549|MESH:D010879|MESH:D011743",
    "TreeNumbers": "D02.065.277.456|D02.241.223.100.100.435|D02.455.426.559.389.127.085.465|D03.383.606.405|D03.383.742.349",
    "ParentTreeNumbers": "D02.065.277|D02.241.223.100.100|D02.455.426.559.389.127.085|D03.383.606|D03.383.742",
    "Synonyms": "Alpha-(4-methyl-1-piperazinyl)-3'-((4-(3-pyridyl)-2-pyrimidinyl)amino)-p-tolu-p-toluidide|CGP57148|CGP 57148|CGP-57148|CGP57148B|Gleevec|Glivec|Imatinib|Imatinib Methanesulfonate|Mesylate, Imatinib|Methanesulfonate, Imatinib|ST1571|ST 1571|STI571|STI 571|STI-571",
    "DrugBankIDs": "DB00619"
  }
]
stevencox commented 5 years ago

https://ctdapi.renci.org/apidocs/