torchcell.datasets.scerevisiae.zelezniak2018.MetaboliteZelezniak2018Dataset
- class MetaboliteZelezniak2018Dataset(root: str = 'data/torchcell/metabolite_zelezniak2018', io_workers: int = 0, transform: Any | None = None, pre_transform: Any | None = None, **kwargs: Any)[source]
Bases:
ExperimentDatasetLC-SRM targeted metabolome of the kinase-knockout collection, one record per (strain, protocol); each record and its WT reference share one protocol.
- 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]
Experiment schema class produced by this dataset.
- property reference_class: type[ExperimentReference]
Experiment-reference schema class produced by this dataset.
- process() None[source]
Aggregate the metabolome into per-(strain, protocol) experiments and write LMDB.
- preprocess_raw(df: DataFrame, preprocess: dict[str, Any] | None = None) DataFrame[source]
Preprocessing is handled inside process() for this dataset.
- create_experiment(row: dict[str, Any]) tuple[MetaboliteExperiment, MetaboliteExperimentReference, Publication][source]
Build the Metabolite experiment/reference/publication for one (strain, protocol).