python3 -m pip install disease_ontology
build
build/update the database
# examples
# build from website
disease_ontology build
# build from local file
disease_ontology build -o doid.obo
version
show the version of database
# examples
disease_ontology version
query
get the DOID from database
# examples
# default query
disease_ontology query "heart disease"
# query with limit and score_cutoff params
disease_ontology query "heart" -l 10 -s 90