torchcell.datasets.scerevisiae.ozaydin2013.CarotenoidOzaydin2013Dataset

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

Bases: ExperimentDataset

Beta-carotene colony-color visual screen of the yeast deletion collection.

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.

property raw_file_names: list[str]

The paper SI spreadsheet required before processing.

download() → None[source]

Download the SI spreadsheet from the Elsevier ESM (scriptable direct URL).

The stored artifact’s sha256 is canonical: a freshly downloaded payload is verified before it is written, and the file in raw/ (present or fresh) is verified against _SI_SHA256 at the start of process. A mismatch means upstream drift or corruption and raises (never silently followed).

process() → None[source]

Parse the SI into per-row VisualScore 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: pd.Series[Any]) → tuple[VisualScoreExperiment, VisualScoreExperimentReference, Publication][source]

Build the VisualScore experiment/reference/publication for one ORF.