lnschema_bionty.CellMarker#

class lnschema_bionty.CellMarker(name: str, synonyms: Optional[str], gene_symbol: Optional[str], ncbi_gene_id: Optional[str], uniprotkb_id: Optional[str], organism: Optional[Organism], bionty_source: Optional[BiontySource])#

Bases: BioRegistry

Cell markers - CellMarker.

Notes

Bulk create CellMarker records via from_values.

Examples

>>> record = lb.CellMarker.from_bionty(name="PD1", organism="human")

Fields

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.

bionty_source ForeignKey

BiontySource this cell marker associates with.

created_at DateTimeField

Time of creation of record.

updated_at DateTimeField

Time of last update to record.

created_by ForeignKey

Creator of record, a User.

files ManyToManyField

Files linked to the cell marker.

datasets ManyToManyField

Datasets linked to the cell marker.

feature_sets ManyToManyField

Featuresets linked to this cell marker.

Methods