torchcell.datamodels.strain_background.AlleleSpec
- class AlleleSpec(*, systematic_gene_name: str, gene_name: str, edit: AlleleEdit, functional: bool, cassette: str | None = None)[source]
Bases:
ModelStrictThe locus and edit kind a standard allele designation denotes.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].