torchcell.sequence.ParsedGenome

class ParsedGenome(*, gene_set: GeneSet)[source]

Bases: ModelStrictArbitrary

Validated container holding a genome’s GeneSet.

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

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

classmethod validate_gene_set(value: GeneSet) → GeneSet[source]

Validate that the provided value is a GeneSet.