torchcell.datamodels.schema.SegregantParent
- class SegregantParent(*, name: str, peter_strain_id: str | None = None, assembly_ref: ArtifactRef, engineered_background: str)[source]
Bases:
ModelStrictOne parent of a biparental cross, pinned to a sha256-anchored assembly.
nameis the source’s label verbatim (e.g.BYa,RMx);peter_strain_idis the 1011-collection (Peter 2018) strain id when the parent is one of those isolates (None for the S288C-derived BY);assembly_refis the sha256-pinnedArtifactRefto 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_backgroundis 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].