torchcell.datamodels.schema.Zygosity

class Zygosity(*values)[source]

Bases: StrEnum

How many of a background’s chromosome copies carry an allele.

  • haploid: the only copy of a haploid genome.

  • homozygous: both copies of a diploid.

  • heterozygous: one copy of a diploid; the other copy is the R64 allele.