Skip to main content

`uberon_py` is a package for querying the Uberon ontology from python.

Reason this release was yanked:

Moving to Ontolopy

Project description

uberon-py: a python package for the Uberon ontology

:construction: :construction: This package is under development (particularly the documentation) :construction: :construction:

Summary

I created this package to be able to easily interrogate relationships between Uberon terms in Python.

Usage

Example usage:

# read an ontology in obo format
obo = uberon-py.Obo('path_to_file/uberon_ext.obo')

# find relationships between terms of interest:
# (in this case, are any of the source_terms, is_a or part_of the brain?)
source_terms = ['UBERON:0003290','UBERON:0003369','UBERON:0003703'] 
target_terms = ['UBERON:0000955'] #  brain term
relations_of_interest  = 'is_a','part_of']
relations = uberon-py.Relations(source_terms,target_terms,relations_of_interest[,obo.ont).relations

Project details


Download files

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

Source Distribution

uberon_py-0.0a1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

uberon_py-0.0a1-py2-none-any.whl (17.3 kB view details)

Uploaded Python 2

File details

Details for the file uberon_py-0.0a1.tar.gz.

File metadata

  • Download URL: uberon_py-0.0a1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for uberon_py-0.0a1.tar.gz
Algorithm Hash digest
SHA256 fc85b573c58497cf203ee14b288c6d1070510cf5201307784fdb105f0cafd608
MD5 102ce9f31dc69fe21028a99fb3e9eb19
BLAKE2b-256 04ce3f1d47ba3f559f4c5d452a51cae9b91eb539e0afa1efef796e8073872143

See more details on using hashes here.

File details

Details for the file uberon_py-0.0a1-py2-none-any.whl.

File metadata

  • Download URL: uberon_py-0.0a1-py2-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for uberon_py-0.0a1-py2-none-any.whl
Algorithm Hash digest
SHA256 8d9258a43b8c3e04bd104b1fcaf4a834fc4e486e9eb999668e2872e8d32aca2a
MD5 97093940072eee8da3e7f49021659ca6
BLAKE2b-256 a0b7368fad1624df58d3fd5860ef51241913d0f8f3df224f507479e285b38f26

See more details on using hashes here.

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