torchcell.datamodels.schema.SegregantParent

class SegregantParent(*, name: str, peter_strain_id: str | None = None, assembly_ref: ArtifactRef, engineered_background: str)[source]

Bases: ModelStrict

One parent of a biparental cross, pinned to a sha256-anchored assembly.

name is the source’s label verbatim (e.g. BYa, RMx); peter_strain_id is the 1011-collection (Peter 2018) strain id when the parent is one of those isolates (None for the S288C-derived BY); assembly_ref is the sha256-pinned ArtifactRef to the parent’s assembly (the 1011 assemblies tarball in the genomes tier with the isolate’s member path, or the S288C reference sequence file of the SGD assembly set for BY); engineered_background is the parent’s marker/deletion genotype as the source states it, verbatim.

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].