monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

/sim/search and compare, add option for ID types #277

Open kshefchek opened 5 years ago

kshefchek commented 5 years ago

The sim endpoints take in identifiers of arbitrary types, then determines their types, and resolves them to a list of associated phenotypes. A potential optimization is to allow a client to bypass the first (and potentially second) steps adding a type argument (eg phenotype, gene, variant, mixed).

See https://github.com/monarch-initiative/monarch-ui/pull/46#issuecomment-469552170