bionty.CellLine#

class bionty.CellLine(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[CellLine], public_source: Optional[PublicSource])#
class bionty.CellLine(*db_args)

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 = bionty.CellLine.public().standardize(["K562"])[0]
>>> record = bionty.CellLine.from_public(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.

public_source ForeignKey

PublicSource 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.

artifacts ManyToManyField

Artifacts linked to the cell line.

collections ManyToManyField

Collections linked to the cell line.

Methods