bionty.CellLine

class bionty.CellLine(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[CellLine], public_source: PublicSource | None)

Bases: BioRegistry, TracksRun, TracksUpdates

Cell lines - Cell Line Ontology.

Notes

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

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

run ForeignKey

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

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.

previous_runs ManyToManyField

Sequence of runs that created or updated the record.

parents ManyToManyField

Parent cell line records.

artifacts ManyToManyField

Artifacts linked to the cell line.

created_at DateTimeField

Time of creation of record.

created_by ForeignKey

Creator of record, a User.

updated_at DateTimeField

Time of last update to record.

Methods