Skip to main content

Utilities for managing the Human Disease Ontology.

Project description

pyDOID

Python package with utilities for managing the Human Disease Ontology.

pyDOID was created to provide functionality that is currently unavailable (or difficult to create) in DO.utils the more extensive R package designed with the same purpose.

The functionality provided by pyDOID is encapsulated in three primary classes:

  1. The DOrepo class is designed specifically for access and manipulation of the Disease Ontology's git repository and the files within it. DOrepo:
    1. Inherits from the git.repo.Repo class and extends it with methods to check out individual tags, iteratively execute code across a range of tags, and to capture/restore the state of the git repo.
    2. Wraps the pyDOID.owl classes (outlined below) for specific files in the repository (owl.functional: doid-edit.owl; owl.xml: doid.owl and doid-merged.owl).
  2. The owl.functional class provides a single method to extract class axioms from OWL files in the functional format.
  3. The owl.xml class provides methods to load and execute SPARQL queries against OWL files in the XML format.

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

pyDOID-0.1.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

pyDOID-0.1.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pyDOID-0.1.5.tar.gz.

File metadata

  • Download URL: pyDOID-0.1.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for pyDOID-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5d39cbd5bdf18f758d32be533ab07877c2129bd35e579d2b36b2423cf92f2d0f
MD5 a8727aeda12fb997960dc123c89c4a4d
BLAKE2b-256 48237d45c799afe7d82981ae66244da299b05593668c8eaa1829a75eb315c27e

See more details on using hashes here.

File details

Details for the file pyDOID-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pyDOID-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for pyDOID-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 34b548f2060c08d4f1a0bc302b84c11a65bb31a9868e1082a374743604a08fe0
MD5 a08e315670ee04cf9cc93168139b66ed
BLAKE2b-256 a9715d795b8aa8a5b81d98c2031e393278e56087f9b4b54f519b8c1624ba3712

See more details on using hashes here.

Supported by

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