Skip to main content

Library for working with OBO Library Ontologies and associations

Project description

Build Status DOI

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).

API Docs

ontobio on pydoc.io

Command Line

See the README in the bin directory

Notebooks

See the Jupyter Notebooks for code examples

Basics

There are two ways of initiating an ontology object:

  • via a local obo-json file

  • via remote connections to OBO PURLs

  • via remote query to a SPARQL service (currently ontobee, but soon others)

Persistent caching is used (currently cachier) to avoid repeated expensive I/O connections

This is handled via the ontol_manager.py module. This creates an ontology object (see ontol.py ).

Note that object modeling is lightweight - we use the python networkx package for representing the basic graph portion of an ontology. See also the obographs spec.

Associations

See the ontobio.golr package

Project details


Release history Release notifications | RSS feed

This version

0.1.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ontobio-0.1.6.tar.gz (38.7 kB view hashes)

Uploaded Source

Built Distributions

ontobio-0.1.6-py3.5.egg (46.4 kB view hashes)

Uploaded Source

ontobio-0.1.6-py3-none-any.whl (49.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page