lnschema_bionty.CellLine#

class lnschema_bionty.CellLine(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[CellLine], bionty_source: Optional[BiontySource])#

Bases: BioRegistry

Cell lines - Cell Line Ontology.

Notes

For more info, see tutorial Manage biological registries

Bulk create CellLine records via from_values.

Examples

>>> standard_name = lb.CellLine.bionty().standardize(["K562"])[0]
>>> record = lb.CellLine.from_bionty(name=standard_name)

Fields

id AutoField

Internal id, valid only in one DB instance.

uid CharField

A universal id (hash of selected field).

name CharField

Name of the cell line.

ontology_id CharField

Ontology ID of the cell line.

abbr CharField

A unique abbreviation of cell line.

synonyms TextField

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

description TextField

Description of the cell line.

bionty_source ForeignKey

BiontySource this cell line 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.

parents ManyToManyField

Parent cell line records.

files ManyToManyField

Files linked to the cell line.

datasets ManyToManyField

Datasets linked to the cell line.

Methods