bionty.Organism

class bionty.Organism(name: str, taxon_id: str | None, scientific_name: str | None)

Bases: BioRecord, TracksRun, TracksUpdates

Organism - NCBI Taxonomy, Ensembl Organism.

Notes

For more info, see tutorials Manage biological registries and Organism.

Examples

>>> record = bionty.Organism.from_source(name="rabbit")

Simple fields

uid: str

A universal id (hash of selected field).

name: str

Name of a organism, required field.

ontology_id: str | None

NCBI Taxon ID.

scientific_name: str | None

Scientific name of a organism.

synonyms: str | None

Bar-separated (|) synonyms that correspond to this organism.

description: str | None

Description of the organism.

created_at: datetime

Time of creation of record.

updated_at: datetime

Time of last update to record.

Methods