bionty.Disease

class bionty.Disease(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[Disease], source: Source | None)

Bases: BioRecord, TracksRun, TracksUpdates

Diseases - Mondo, Human Disease.

Notes

Bulk create Disease records via from_values().

For more info, see tutorials: Disease.

Examples

>>> record = bionty.Disease.from_source(name="Alzheimer disease")

Simple fields

uid: str

A universal id (hash of selected field).

name: str

Name of the disease.

ontology_id: str | None

Ontology ID of the disease.

abbr: str | None

A unique abbreviation of disease.

synonyms: str | None

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

description: str | None

Description of the disease.

created_at: datetime

Time of creation of record.

updated_at: datetime

Time of last update to record.

Methods