disease_ontology

Toolkits for DiseaseOntology

Installation

python3 -m pip install disease_ontology

Sub Commands

1 build

build/update the database

# examples

# build from website
disease_ontology build

# build from local file
disease_ontology build -o doid.obo

2 version

show the version of database

# examples

disease_ontology version

3 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

Disease Ontology