ontobio - a python API for working with ontologies and associations
This module provides objects and utility methods for working with ontologies and associations of entities (genes, variants, etc) to ontology classes.
The ontologies and associations can either be local files or provided by remote services (currently the OntoBee SPARQL service for ontologies and a Monarch or GO Golr service for associations).
Documentation is on readthedocs
See the Jupyter Notebooks for code examples