bionty.Pathway¶
- class bionty.Pathway(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[Pathway], source: Source | None)¶
Bases:
BioRecord
,TracksRun
,TracksUpdates
Pathways - Gene Ontology, Pathway Ontology.
Notes
For more info, see tutorials Manage biological registries and Pathway.
Bulk create Pathway records via
from_values()
.Examples
>>> record = bionty.Pathway.from_source(ontology_id="GO:1903353") >>> record.save()
Simple fields¶
- uid: str¶
A universal id (hash of selected field).
- name: str¶
Name of the pathway.
- ontology_id: str | None¶
Ontology ID of the pathway.
- abbr: str | None¶
A unique abbreviation of pathway.
- synonyms: str | None¶
Bar-separated (|) synonyms that correspond to this pathway.
- description: str | None¶
Description of the pathway.
- created_at: datetime¶
Time of creation of record.
- updated_at: datetime¶
Time of last update to record.
Methods¶