Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Introduction

What the pipeline does

You bring the raw images from a multiplex immunofluorescence (mIF) experiment: many small, overlapping pictures of a tissue section, taken in several rounds of staining. You get back one table per sample with a row for every cell, its outline, and how bright each marker is inside it, plus a report that shows whether each step worked.

It does this in two halves:

  1. Preprocessing turns the raw tiles into one clean image per sample. It evens out the uneven lighting of each tile (BaSiCPy), stitches the tiles into one picture and lines up the staining rounds on top of each other (Ashlar). Optionally, it cuts a tissue microarray into its cores (Coreograph) and subtracts the tissue’s own glow from the markers (backsub).

  2. Analysis finds the cells in that image and measures them. The image is stored in a format built for very large images (SpatialData), cut into patches that are segmented in parallel (tiling) by Cellpose, InstanSeg or both. Nuclei can be linked to their cells (linking), every marker is measured per cell (quantification), and a QC report checks the result.

The two halves meet at a single stitched OME-TIFF per sample. If your images were already stitched elsewhere, you can start from the second half.

The preprocessing half comes from nf-core/mcmicro, the analysis half from nf-core/sopa. The pipeline follows nf-core conventions but is not an nf-core pipeline.

Who it is for

Bioimage analysts and bench scientists with mIF images of human tissue, including colleagues who do not program. You describe your experiment in two small tables and a short settings file; the pipeline does the rest, on a computing cluster, without supervision. Images from 5 GB to 100 GB have run the same way, because segmentation works patch by patch.

You do not need to know Nextflow, the workflow system underneath. The step-by-step guide covers the few commands you need.

Scope

What it handles:

What it does not do: it does not name cell types (phenotyping), cluster cells for biology, or compute spatial statistics such as neighbourhoods. It stops at a table of measured cells, which is the starting point for that analysis in tools such as scanpy or squidpy.

mIF today, H&E planned

Today the pipeline reads fluorescence images only. Support for H&E (brightfield) slides is planned as a separate path through the same pipeline, so that mIF and H&E sections of the same tissue can be processed side by side. It is not available yet; the ROADMAP tracks it.

Where to go next