TranslatorSRI / NodeNormalization

Service that produces Translator compliant nodes given a curie
MIT License
10 stars 6 forks source link

Update the `/get_allowed_conflations` endpoint #267

Open gaurav opened 5 months ago

gaurav commented 5 months ago

We have a /get_allowed_conflations endpoints that is currently hardcoded to return GeneProtein. I think the plan was to generalize the conflation features (#130) so that we could return a set of codes that could be used to turn on various conflations (e.g. /get_normalized_nodes?conflation=GeneProtein). Once we close #130 this won't be needed, but maybe until then we should remove this endpoint or add DrugChemical to the list?

Endpoint: https://nodenormalization-sri.renci.org/docs#/default/get_conflations_get_allowed_conflations_get

https://github.com/TranslatorSRI/NodeNormalization/blob/02574e73f0b584f3a4855bb1a56345b0f8234b94/node_normalizer/server.py#L162-L174