bionty.CellMarker

class bionty.CellMarker(name: str, synonyms: str | None, gene_symbol: str | None, ncbi_gene_id: str | None, uniprotkb_id: str | None, organism: Organism | None, source: Source | None)

Bases: BioRecord, TracksRun, TracksUpdates

Cell markers - CellMarker.

Notes

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

Bulk create CellMarker records via from_values.

Examples

>>> record = bionty.CellMarker.from_public(name="PD1", organism="human")

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

Unique name of the cell marker.

synonyms

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

description

Description of the cell marker.

gene_symbol

Gene symbol that corresponds to this cell marker.

ncbi_gene_id

NCBI gene id that corresponds to this cell marker.

uniprotkb_id

Uniprotkb id that corresponds to this cell marker.

organism

Organism this cell marker associates with.

source

Source this cell marker associates with.

previous_runs: Run

Sequence of runs that created or updated the record.

artifacts

Artifacts linked to the cell marker.

feature_sets

Featuresets linked to this cell marker.

created_at: datetime

Time of creation of record.

created_by: User

Creator of record.

updated_at: datetime

Time of last update to record.

Methods