Mondo

v0.2.1
io.github.pipeworx-io/mondo Checked 4 days ago Published 1 month ago

Mondo — condition-string resolver onto the Mondo Disease Ontology.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

mondo_resolve_condition

Resolve free-text condition/disease strings — e.g. a clinical trial registry's "conditions" field ("Carcinoma, Non-Small-Cell Lung"), or a drug label's Indications and Usage wording — onto the Mondo Disease Ontology (MONDO), via EBI OLS4 full-text search plus MyDisease.info cross-references. Accepts a batch (1-25) of condition strings. For each, returns the original wording verbatim, the best MONDO id + label, and a match_quality you can trust: "exact-label" (identical to the Mondo term's primary label), "exact-synonym" (identical to a listed exact synonym), "broader"/"narrower" (the strin…

ParameterTypeDescription
conditions *array1-25 free-text condition/disease strings, e.g. ["Non-small Cell Lung Cancer", "type 2 diabetes mellitus"].
expandbooleanWhen true, also return the resolved term's descendant MONDO ids (all subtypes) for each result. Default false.