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_public(ontology_id="GO:1903353")
>>> record.save()

Fields

run: Run

Last run that created or updated the record.

id

Internal id, valid only in one DB instance.

uid

A universal id (hash of selected field).

name

Name of the pathway.

ontology_id

Ontology ID of the pathway.

abbr

A unique abbreviation of pathway.

synonyms

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

description

Description of the pathway.

source

Source this pathway associates with.

previous_runs: Run

Sequence of runs that created or updated the record.

parents

Parent pathway records.

genes

Genes that signifies the pathway.

feature_sets

Featuresets linked to the pathway.

artifacts

Artifacts linked to the pathway.

created_at: datetime

Time of creation of record.

created_by: User

Creator of record.

updated_at: datetime

Time of last update to record.

Methods