Brieflow: an integrated computational pipeline for high-throughput analysis of optical pooled screening data

Matteo Di Bernardo, Roshan S. Kern, Ana Karla Cepeda Diaz, Alexa Mallar, Samuel J. Choi, Andrew Nutter-Upham, Sebastian Lourido, Paul C. Blainey, Iain CheesemanNature Communications 2026

TL;DR

This paper introduces Brieflow, a comprehensive, open-source computational pipeline for analyzing optical pooled screening (OPS) data, a powerful method for linking genes to cellular phenotypes at scale. Brieflow addresses the significant challenges of massive datasets and complex data integration, enabling more robust biological discovery. It also introduces MozzareLLM, an LLM-based tool for automated biological interpretation of screening results.

What Problem Does This Paper Address?

Optical Pooled Screening (OPS) is a cutting-edge technique in functional genomics that allows researchers to systematically study gene function by linking genetic perturbations (like CRISPR-Cas9 knockouts) to observable cellular changes (phenotypes) across millions of cells. However, analyzing the vast, multi-modal data generated by OPS is a major hurdle. Datasets are enormous (terabytes), require integrating information from imaging and genetic sequencing, and lack standardized analysis frameworks. This complexity makes it difficult for researchers to extract meaningful biological insights, hindering the widespread adoption of OPS. Existing tools often focus on specific parts of the analysis, leaving a gap for a complete, reproducible, and user-friendly end-to-end solution.

Methods

Brieflow is a modular, seven-component pipeline built on Snakemake for workflow management, ensuring reproducibility and scalability. Key modules include:

  • Preprocess: Standardizes raw microscopy images (e.g., ND2, TIFF) into analysis-ready tiles and extracts metadata.
  • Sequencing-by-Synthesis (SBS): Identifies genetic perturbations (barcodes) within cells from in situ sequencing images, offering both classical and deep learning-based approaches for spot detection.
  • Phenotype: Extracts thousands of quantitative cellular features from high-content images, supporting various deep learning segmentation methods (Cellpose, StarDist) and feature extraction approaches.
  • Merge: Spatially registers genotype and phenotype data using triangle hashing, linking individual cells' genetic perturbations to their observed features.
  • Classify: Enables users to train custom machine learning classifiers to partition cells into subpopulations (e.g., cell cycle stages) for state-specific analysis.
  • Aggregate: Condenses single-cell measurements into perturbation-level profiles, generating gene-level embeddings for downstream analysis, with options for batch effect correction (Typical Variation Normalization).
  • Cluster: Identifies functional relationships between genes by grouping perturbations with similar phenotypic profiles, using PHATE for dimensionality reduction and Leiden for community detection.

A novel addition is MozzareLLM, a framework that leverages large language models (LLMs) to interpret phenotypic clusters, identify dominant biological pathways, classify genes (established, novel-role, uncharacterized), and prioritize candidates for experimental validation.

Datasets

The primary dataset used for demonstration and validation is the "Vesuvius" dataset, a large-scale CRISPR-Cas9 screen of 5072 fitness-conferring genes in HeLa cells, involving over 70 million cells. This dataset was originally published by Funk et al. (2022). The paper also mentions using independent datasets for validating the SBS module and for benchmarking LLM performance (DepMap genetic dependencies and proteomics co-complex data).

Key Insights and Ideas

  • Bridging the Gap: Brieflow provides a much-needed standardized, end-to-end pipeline for OPS data, significantly lowering the barrier to entry for researchers.
  • Modular Power: The modular design allows for flexibility, enabling users to swap components or integrate new methods as the field evolves.
  • LLM for Interpretation: MozzareLLM represents a significant step towards automating the complex and time-consuming task of biological interpretation, turning raw clusters into actionable hypotheses.
  • Uncovering Hidden Biology: Brieflow's refined analysis, particularly its single-cell PCA approach before aggregation, revealed coherent biological modules (like five distinct mitochondrial sub-programs) that were missed by previous, coarser analyses.
  • Reproducibility is Key: The use of Snakemake and detailed documentation ensures computational reproducibility, a critical aspect for scientific rigor.

Key Results

  • Brieflow successfully reanalyzed the Vesuvius dataset, processing over 70 million cells and identifying 5072 genes.
  • The pipeline demonstrated improved biological resolution compared to the original Funk et al. analysis, notably recovering five distinct mitochondrial sub-programs that were absent or fragmented in the prior study.
  • MozzareLLM identified high-confidence biological processes for 73 interphase clusters (32.2%) and 10 mitotic clusters (4.5%), a significant increase in interpretable clusters and genes compared to the original analysis.
  • The SBS module accurately mapped 78.2% of cells in an independent dataset.
  • The Phenotype module extracted 1651 morphological measurements per cell for over 71 million cells.
  • The Merge module successfully matched and deduplicated over 54 million cell pairs.

Limitations and Future Work

  • Image Format Assumption: The current Preprocess module assumes a one-to-one tile correspondence within phenotyping rounds and SBS cycles, which is standard but might need adaptation for highly specialized microscopy setups.
  • Registration Challenges: For very high-magnification screens with sparse cell populations, the tile-by-tile registration might struggle; the well-level stitching approach is offered as a solution, though it increases computational demands.
  • Feature Extraction: While Brieflow's CellProfiler-inspired emulator is effective, the authors acknowledge the broader challenge of reliable, Pythonic single-cell image feature extraction and anticipate incorporating advancements in deep learning for this.
  • Future Development: Brieflow is under active development, with plans to incorporate next-generation file formats like OME-Zarr for improved interoperability and efficiency, and to enhance individual modules (segmentation, feature extraction, pathway analysis). The integration of LLMs like MozzareLLM is also a key area for continued development, aiming to improve their ability to extract actionable biological insights.

Summary updated

BibTeX
@inproceedings{bernardo2026brieflow,
  author = {Matteo Di Bernardo and Roshan S. Kern and Ana Karla Cepeda Diaz and Alexa Mallar and Samuel J. Choi and Andrew Nutter-Upham and Sebastian Lourido and Paul C. Blainey and Iain Cheeseman},
  title = {{Brieflow: an integrated computational pipeline for high-throughput analysis of optical pooled screening data}},
  booktitle = {Nature Communications},
  year = {2026},
  doi = {10.1038/s41467-026-73643-7},
}
Figure