Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

laminlabs/bionty-base

Repository files navigation

codecov pypi

⚠️ Warning: This package has been replaced by laminlabs/bionty. Please update your dependencies accordingly. If you are using lamindb, please remove the bionty-base package from your environment.

bionty-base

Access public biological ontologies.

Installation

Bionty-base is a Python package available for pyversions

pip install bionty-base

Entities

Check out sources.yaml for details.

Didn't see your favorite source or version? Bionty is extendable!

Entity versions

import bionty_base as bt

# display currently used sources
bt.display_currently_used_sources()

# display all managed sources
bt.display_available_sources()

# local yaml file specifying all managed sources
bt.LOCAL_SOURCES

# access to the Mondo ontology
disease = bt.Disease(source="mondo")

# access to the Human Disease ontology
disease = bt.Disease(source="doid", version="2023-01-30")