KarrLab / datanator_rest_api

A OAS3 compliant REST API for the Datanator integrated database
MIT License
0 stars 3 forks source link

How can I retrieve metadata about an OrthoDB group (i.e. name)? #125

Closed jonrkarr closed 3 years ago

jonrkarr commented 3 years ago

For KO groups, we used kegg/get_meta/?kegg_ids=. This provided

What is the right endpoint to use for OrthoDB groups?

lzy7071 commented 3 years ago

We do have a collection for orthodb information. However, it only contains orthodb_id and orthodb_name pairs because orthodb datafile didn't provide x-ref information on EC (probably is many-to-many relationship). I made it in such a way that all protein records should contain orthodb_id and orthodb_name but https://github.com/KarrLab/datanator_rest_api/issues/122 pointed out there were cases where orthodb_name was missing.

jonrkarr commented 3 years ago

Just the name is fine. What's the endpoint to lookup the name of each OrthoDB group by its id?

lzy7071 commented 3 years ago

http://testapi.datanator.info/kegg/get_meta/?kegg_ids=567019at2&size=10 works now.

jonrkarr commented 3 years ago

Looks good