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.

Preprocessing outputs

Everything under preprocessing/: what the first half of the pipeline made from the raw cycles. None of it exists for a pre-stitched run.

Illumination profiles

preprocessing/illumination/{sample}_cycle{n}-dfp.ome.tif and -ffp.ome.tif: the dark-field and flat-field profiles BaSiCPy computed for each cycle, one plane per channel. Ashlar applies them while stitching.

Stitched image

preprocessing/registration/{sample}.ome.tif: the stitched and registered image from Ashlar, all cycles in one pyramidal OME-TIFF. It is the handoff between the two halves of the pipeline, and the first file to open when segmentation looks wrong.

Ashlar QC

preprocessing/registration/{sample}_ashlar_qc/, with use_qc: Ashlar’s own account of how it stitched and registered. On a TMA it is per slide, because Ashlar runs before the cores are cut.

FileHolds
qc.jsonthe summary
{sample}_ashlar_report.pdfper-tile maps; the place to check stitching when there is no HTML report
overlay_cycleN.jpgcycle 1 in magenta over a later cycle in green; grey where they align
thumb_cycleN.jpga thumbnail of each cycle
edges.csvone row per neighbouring tile pair in cycle 1: shift, error, why it was rejected
tiles.csvone row per tile per cycle: position, residual, angle, why it was discarded
null_errors.csverrors of random non-overlapping strips, which set the rejection threshold
ashlar.logAshlar’s console output

Ashlar counts cycles from 0 in the JSON and CSVs; the reports count from 1. The QC report’s “Stitching and registration” section reads this folder. What to change when it looks wrong: Ashlar.

Background subtraction

preprocessing/background_subtraction/, with use_backsub:

The _backsub suffix also names the image in the store, so cell ids start with it.

TMA dearray

preprocessing/dearray/, with use_tma_dearray: the cores Coreograph cut out of each slide.

FileHolds
{slide}_core001.ome.tif, …one image per core
masks/{slide}_core001_mask.tif, …each core’s mask
{slide}_tma_map.tifthe slide with every core numbered
{slide}_coremask.tifall core masks on the slide
{slide}_centroids.txtcore centres

The TMA map and the centroids are what to check when a core is missing or two cores became one. Core names come from the slide name, so a slide run with and without background subtraction gives cores with the same names.

preprocessing/dearray/sweep/, unless coreograph_args is set: the pipeline tries several downsample factors and keeps the one whose cores best match your expected count and diameter.

FileHolds
{slide}_sweep_overlays.pngthe cores found at every factor, side by side: look at this first
{slide}_sweep.tsvone row per factor, best first: core count, median diameter, spread, score, warning
{slide}_selection.jsonthe factor chosen
{slide}_k{k}_overlay.png, _metrics.json, _coremask.tif, _centroids.txteach factor’s own result