SmartAPI / smartAPI

Intelligent APIs for a more connected web: https://smart-api.info
MIT License
21 stars 16 forks source link

facilitate retrieval of Rhea - protein interactions #124

Open andrewsu opened 3 years ago

andrewsu commented 3 years ago

Rhea is a database of "chemical and transport reactions of biological interest". Mappings between chemical compounds and Rhea IDs is available through mychem.info (and will be available to BTE after https://github.com/SmartAPI/smartAPI/issues/123 is complete). However, I don't believe we currently have any resource in SmartAPI that returns links between proteins and Rhea reactions. I see two possible ways to get these mappings.

Related to https://github.com/NCATSTranslator/testing/issues/49

colleenXu commented 3 years ago

I've made an attempt here: https://github.com/NCATS-Tangerine/translator-api-registry/pull/64

I've noted in the comments on the PR and in the yaml: I don't know if there will be issues with response-mapping. I notice that the Rhea ID we want is nested in the dbReferences array with CHEBI IDs....(which itself is nested in the comments array where not every element has a "reaction").

andrewsu commented 3 years ago

@colleenXu your PR https://github.com/NCATS-Tangerine/translator-api-registry/pull/64 has been merged and it looks like it is working as expected (https://github.com/biothings/BioThings_Explorer_TRAPI/issues/172). As you noted on slack, it seems like the last step is to add the EBI Proteins API to the config.js file https://github.com/biothings/BioThings_Explorer_TRAPI/blob/master/src/routes/v1/config.js. Can you create a PR for that please?

colleenXu commented 3 years ago

PR made here https://github.com/biothings/BioThings_Explorer_TRAPI/pull/187