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_public(name="rabbit")
Fields¶
- run: Run¶
Last run that created or updated the record.
- id¶
Internal id, valid only in one DB instance.
- uid¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
Name of a organism, required field.
- ontology_id¶
NCBI Taxon ID.
- scientific_name¶
Scientific name of a organism.
- synonyms¶
Bar-separated (|) synonyms that correspond to this organism.
- description¶
Description of the organism.
- previous_runs: Run¶
Sequence of runs that created or updated the record.
- parents¶
Parent organism records.
- artifacts¶
Artifacts linked to the organism.
- created_at: datetime¶
Time of creation of record.
- created_by: User¶
Creator of record.
- updated_at: datetime¶
Time of last update to record.
Methods¶