## bionty.CellLine

| class bionty.CellLine(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[CellLine], source: Source | None, branch: Branch | None = None, space: Space | None = None) |
class bionty.CellLine(*db_args)

 Bases: "BioRecord", "HasOntologyId", "TracksRun", "TracksUpdates"

 Cell lines - Cell Line Ontology.

 -[ Notes ]-

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

 Bulk create CellLine records via "from_values()".

 Parameters:
 * **name** -- Name of the record.

 * **ontology_id** -- Ontology ID of the record.

 * **abbr** -- A unique abbreviation.

| * **synonyms** -- Bar-separated ( | ) synonyms. |

 * **description** -- Description of the record.

 * **parents** -- A list of parent record ontology ids.

 * **source** -- The "Source" of the record.

 * **branch** -- A branch. If None, uses the current branch.

 * **space** -- A space. If None, uses the current space.

 Example:

 import bionty as bt

 standard_name = bt.CellLine.public().standardize(["K562"])[0]
 record = bt.CellLine.from_source(name=standard_name)

 artifacts: Artifact

 Artifacts linked to the cell line.

 records: Record

 Records linked to the cell line.

 classmethod from_source(cls, *, name=None, ontology_id=None, abbr=None, source=None, mute=False, **kwargs)

 Create a CellLine record from source based on a single
 identifying field.

 Parameters:
| * **name** ("str" | "None", default: "None") -- Name of the |
 cell line (e.g. "K562", "HeLa")

| * **ontology_id** ("str" | "None", default: "None") -- Cell |
 Line Ontology ID (e.g. "CLO:0009477")

| * **abbr** ("str" | "None", default: "None") -- Unique |
 abbreviation of cell line source: Optional Source record to
 use

 * **mute** ("bool", default: "False") -- Whether to suppress
 logging

 Return type:
| "CellLine" | "list"["CellLine"] | "None" |

 Returns:
 A single CellLine record, list of CellLine records, or None
 if not found

 Example:

 import bionty as bt

 record = bt.CellLine.from_source(name="K562")
 record = bt.CellLine.from_source(ontology_id="CLO:0009477")