Library for working with OBO Library Ontologies and associations
Project description
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file ontobio-0.1.6.tar.gz
.
File metadata
- Download URL: ontobio-0.1.6.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de7404ee5d17bb39040f1fba659c155f1b252742d43421e55abdd24d6bd02931 |
|
MD5 | 75241e26ea35d7ee3f9444432ab2eeae |
|
BLAKE2b-256 | 7bb65a85ad066c03f18ef2ab176f210ef6cfd3d108d916d901ca87065c366e42 |
Provenance
File details
Details for the file ontobio-0.1.6-py3.5.egg
.
File metadata
- Download URL: ontobio-0.1.6-py3.5.egg
- Upload date:
- Size: 46.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100d68f804811e1335ec7c94ec5496955a64725d2c7faef0fbc7c6518baede6f |
|
MD5 | ba2f85a96c36d0fde444b1fc24ce2e8f |
|
BLAKE2b-256 | 240e4d382fb4e97c1d3f48c785ec48cf247b1cc94f5c55e6a67dcc9e0bdf464b |
Provenance
File details
Details for the file ontobio-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: ontobio-0.1.6-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4e276e02d020e652094b64125aedb019fd5bda8a10a96b16af9312e8baee382 |
|
MD5 | 4fb5fb5b7ae2c1e6b3cc360cabef0d0e |
|
BLAKE2b-256 | 96c55941621d12d3bf6f0e73892172d06588a8520b8938c7d4acbef29056e820 |