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, public_source: PublicSource | None)

Bases: BioRegistry, TracksRun, TracksUpdates

Cell markers - CellMarker.

Notes

For more info, see tutorials Manage biological registries and Cell marker.

Bulk create CellMarker records via from_values.

Examples

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

Fields

created_at DateTimeField

Time of creation of record.

created_by ForeignKey

Creator of record, a User.

run ForeignKey

Last run that created or updated the record, a Run.

updated_at DateTimeField

Time of last update to record.

id AutoField

Internal id, valid only in one DB instance.

uid CharField

A universal id (hash of selected field).

name CharField

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

synonyms TextField

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

gene_symbol CharField

Gene symbol that corresponds to this cell marker.

ncbi_gene_id CharField

NCBI gene id that corresponds to this cell marker.

uniprotkb_id CharField

Uniprotkb id that corresponds to this cell marker.

organism ForeignKey

Organism this cell marker associates with.

public_source ForeignKey

PublicSource this cell marker associates with.

previous_runs ManyToManyField

Sequence of runs that created or updated the record.

artifacts ManyToManyField

Artifacts linked to the cell marker.

feature_sets ManyToManyField

Featuresets linked to this cell marker.

Methods