Modality

Cell Painting

A standardized 5-channel fluorescence assay that stains eight organelle compartments and extracts morphological profiles from hundreds of features per cell, enabling unbiased, high-throughput phenotypic screening across compounds and genetic perturbations.

What it is — Cell Painting plates U2OS or similar cells in a 384-well format, applies six dyes across five imaging channels (nucleus, endoplasmic reticulum, cytoskeleton, mitochondria, nucleoli/Golgi), then extracts hundreds of morphological, texture, and intensity features per cell using CellProfiler. The result is a high-dimensional fingerprint — a morphological profile — that captures how a perturbation reshapes cellular architecture without requiring prior knowledge of the mechanism.

Why the pipeline matters more than the model — A profile is only as trustworthy as the steps that produced it. Illumination Correction Before You Trust a Profile must happen before segmentation or any feature extraction, or the flat-field gradient masquerades as a biology signal. Cellpose vs CellProfiler for Nuclei Segmentation governs mask quality, and poor masks propagate noise into every downstream feature. From Masks to Morphology: Features & Self-Supervised Embeddings extends classical CellProfiler features with self-supervised embeddings (DeepProfiler, scDINO) that can capture variance classical descriptors miss. Batch effects then require Batch Correction Without Erasing Biology — sphering and Harmony remove plate-to-plate drift, but the dial must be set precisely or real phenotypic differences disappear with it. The final quality gate is Percent Replicating: if replicates do not agree, something upstream failed, and the hit list is meaningless.

The Fovea stance — Cell Painting is the flagship modality for image-based profiling, but the assay protocol is the easy part. Reproducible, publication-grade profiling requires a validated, QC-instrumented pipeline from ingest through readout — with every stage checkpointed and every profile traceable to its plate map, acquisition parameters, and correction coefficients. The measurement is only as credible as the evidence it comes with.

Pipeline integrity over model choice

The choice between classical features and deep embeddings matters less than the integrity of the illumination correction, segmentation, and batch correction that precede them. A morphological profile from a broken pipeline is noise, regardless of the model used to extract it.

How we run itthe Cell Painting pipeline, stage by stage — the nine-stage imaging backbone reshaped for this modality, with the tools, sub-steps and deliverable at each stage.

References

Appears in these notes

  • The QC-Aware ReportA QC-aware report doesn't just present a result — it surfaces the evidence that the result is trustworthy, structured by the four nested levels of quality and ending in an explicit decision. Its job is to make a number un-trustable on sight when it shouldn't be trusted.
  • From Masks to Morphology: Features & Self-Supervised EmbeddingsOnce cells are segmented, you turn masks into numbers — either hand-engineered morphology features or learned embeddings. Each choice trades interpretability against the signal it can capture.
  • Cell Painting Pipelines — From Images to Phenotypic ProfilesA Cell Painting profile is the output of a long pipeline — illumination correction, segmentation, feature extraction, batch correction, then a reproducibility readout — and the number that matters (percent-replicating / mAP) lives only at the end. Every stage upstream can silently degrade it.
  • Choosing a Bioimage Analysis Pipeline — Off-the-Shelf vs CustomMost microscopy questions are answered by composing existing, validated tools — and a custom pipeline is justified only when off-the-shelf options fail on a specific, identifiable axis. This note gives the decision criteria and the signals that you have genuinely crossed into custom territory.
  • Data Standards and Scalable StorageThe OME data model and OME-NGFF/OME-Zarr exist because a microscopy image without a shared data model and a chunked, cloud-native layout is neither interpretable nor analyzable at scale. Format is not plumbing — it decides whether a petabyte dataset can be opened at all.
  • Evaluating Segmentation Models in Real Microscopy WorkflowsA segmenter's benchmark Dice rarely predicts its behavior in a real workflow. Instance counting, merge/split errors, and cross-instrument generalization are the quantities that decide whether the downstream readout is correct — and standard semantic overlap scores are blind to all three.
  • Foundation Models Are Not PipelinesA foundation model is a powerful feature extractor, not a deployable measurement pipeline. It still needs ingestion, QC, preprocessing, confounder correction, validation, and provenance around it — and a frozen encoder makes the surrounding system more important, not less.
  • Ground Truth Is a Design ProblemGround truth in microscopy is constructed, not given — every label is the output of an annotation protocol, an annotator, and a fusion rule, each with its own bias and variance. Treating it as a fixed answer key is how inter-rater noise and label bias get baked into every score computed against it.
  • Image Quality Is Not One NumberFovea treats microscopy quality as four nested levels — image-space, run/sample, readout, and decision — because a metric at one level says nothing about the levels above it. Full-reference scalars like SSIM and PSNR measure only the first, yet teams report as if they measured the third.
  • Why Interoperability Matters in MicroscopyA microscopy pipeline is always several tools in sequence, so the seams between them — file formats, metadata, coordinate conventions — decide whether the pipeline composes or quietly corrupts. Open standards like OME-Zarr/NGFF turn hand-offs from lossy conversions into clean interfaces, and avoid lock-in to any one vendor or tool.
  • Why mAP, Dice, and SSIM Are Not EnoughDice, IoU, mAP, and SSIM measure overlap or similarity against a reference — not whether the result supports the decision the experiment exists to make. The discipline is problem-aware metric selection: derive the metric from the question, not from what is easy to compute.
  • Model Zoos for Bioimage Analysis — From a Zoo Model to a Validated WorkflowThe BioImage Model Zoo and community packaging tools make pre-trained models shareable, runnable, and reproducible across tools — solving distribution and provenance. They do not solve fitness: a downloaded model is a component, and the path from a zoo entry to a trustworthy readout still runs through validation.
  • Verification — A Pipeline You Can Re-RunVerification is the engineering discipline of making a microscopy pipeline deterministic, version-pinned, and re-executable from a provenance record. Without it, every result is a one-off, and "we changed nothing" is unprovable.
  • How to Prepare Microscopy Data for AIMost of the work of applying AI to microscopy is data preparation — formatting, normalization, tiling, and label hygiene — and the single most consequential decision is a split that respects the non-independence of microscopy data. Get the split wrong and every downstream metric is leaked, not earned.
  • Every Output Should Know Where It Came FromProvenance is a property of the artifact, not the pipeline — every mask, profile, and count matrix should carry the lineage that produced it. Where verification asks whether a run reproduces, provenance asks whether a single output, found alone, can still explain itself.
  • The Challenge of Rare Events and MutantsWhen the phenotype you care about appears in 10 cells out of 300,000, accuracy is meaningless, validation has almost no positives to learn from, and false discovery dominates. Rare-event detection is a class-imbalance and ground-truth-scarcity problem — best answered by adaptive acquisition that goes looking for the positives.
  • How to Make Imaging Data Ready for ReanalysisReanalysis-ready means a third party with no contact with the original lab can re-run, re-segment, or re-interpret the data correctly — which requires FAIR principles, complete metadata, and deposition in a public archive. The bar is reuse by a stranger, not retrieval by the author.
  • From Research Script to Production PipelineA notebook that worked once is not a pipeline, and a community model that scored well on its paper's data is not a validated component. Turning either into something deployable is the engineering work of pinning, wrapping, gating, and validating — most of which the original artifact deliberately skipped.
  • The Bioimage Analysis Ecosystem — Where Each Tool FitsBioimage analysis is not one tool but a landscape organized along two axes — interactive vs scriptable, and generalist vs specialist. Fiji, napari, CellProfiler, QuPath, ilastik, and the deep-learning segmenters each occupy a different cell of that grid, and choosing well means knowing which cell your problem lives in.
  • Uncertainty, Drift, and Failure Modes in Bioimage AnalysisModels fail silently when the data drifts away from what they were trained on — and an overconfident, miscalibrated model gives no warning. Trustworthy deployment needs calibrated uncertainty, explicit distribution-shift detection, and a way to flag failure when there is no ground truth to check against.
  • Validation Without a Ground TruthValidation asks whether a microscopy pipeline's outputs are biologically true and fit for purpose — but biology rarely supplies a clean answer key. The discipline is choosing metrics that reflect the question, manufacturing ground truth honestly, and conditioning performance on the experiment.
  • Verification and Validation Are Two Different QuestionsVerification asks whether the pipeline was built right — deterministic, reproducible, correct to spec. Validation asks whether it is the right pipeline — outputs that are biologically true and fit for purpose. Microscopy makes both hard, and conflating them is how silently wrong results get shipped.
  • Why Microscopy Needs Verified OutputsA measurement you cannot reproduce is not a measurement. Why verification is a first-class pipeline stage, not an afterthought.
  • Illumination Correction Before You Trust a ProfileUneven illumination silently biases every downstream feature. Correct it first, or your batch effects are really optics.
  • Cellpose vs CellProfiler for Nuclei SegmentationWhen a generalist deep model beats a tuned classical pipeline for nuclei — and when it does not.
  • Percent ReplicatingThe reproducibility metric that catches a broken assay before it reaches a biologist.
  • Batch Correction Without Erasing BiologySphering and Harmony remove plate effects — push too hard and you remove the signal too.

← Back to the constellation