torchcell.datasets.scerevisiae.ohnuki2022.ScmdOhnuki2022Dataset

class ScmdOhnuki2022Dataset(root: str = 'data/torchcell/scmd_ohnuki2022', io_workers: int = 0, transform: Callable[[...], Any] | None = None, pre_transform: Callable[[...], Any] | None = None, **kwargs: Any)[source]

Bases: ExperimentDataset

CalMorph morphology for 1979 quadruple (target + 3Delta) deletion strains.

organism: ClassVar[Organism] = 'scerevisiae'

each loader declares its own, the build’s organism switch reads it off the class (dataset_organism), and a loader that forgot it is refused by name instead of inheriting an organism it may not have.

Type:

The host organism every record describes. Annotated here WITHOUT a value

property experiment_class: type[Experiment]

Return the experiment schema class for this dataset.

property reference_class: type[ExperimentReference]

Return the experiment-reference schema class for this dataset.

property raw_file_names: list[str]

Return the raw mutant and 3Delta-reference TSV filenames.

download() → None[source]

Copy both raw tsvs from the sha256-pinned library mirror and verify each.

process() → None[source]

Load raw tsvs, build quadruple-deletion CalMorph experiments, write LMDB.

preprocess_raw(df: DataFrame, preprocess: dict[str, Any] | None = None) → DataFrame[source]

Preprocessing is handled inside process() for this dataset.

create_experiment() → None[source]

Experiment construction is handled inline in process() for this dataset.