What it does¶
A tissue microarray (TMA) carries many small tissue cores on one slide. Coreograph finds the cores in the stitched slide image and cuts out one image per core, so each core is segmented and checked on its own.
Parameters¶
use_tma_dearray: turns the step on. Needsuse_preprocessing.tma_expected_cores: how many cores are on the slide (a count, not rows × columns).tma_core_diameter_mm: the core diameter in mm. With the count, it decides which detection setting is kept (see below). Both apply to every slide in the run, so run arrays with different layouts separately.coreograph_args: run Coreograph exactly with these options instead; the automatic choice is skipped.skip_reference_dna_check: withcoreograph_args, run even when its--channelis not a nuclear stain.
More in TMA dearray.
How it works¶
Coreograph uses a UNet, a deep-learning network trained on two classes, core tissue and background. The network turns the nuclear stain into a probability map that accentuates the cores, which helps find cores that are dim or fragmented. Cores are then cropped from the stitched image based on their median diameter. When cores touch, a filter sized from that median diameter separates them Schapiro et al., 2021.
The network runs on a downsampled copy of the image, and finds cores reliably only at the right
downsample factor. A wrong one fails silently: cores split along tissue bands, or neighbours
merge. So the pipeline tries factors 3 to 7 and scores each against your expected count and
diameter (count error plus diameter error plus spread of core sizes). The lowest score wins; ties
go to the smaller factor. The log warns when even the best factor is off by more than 10 % in
count or 25 % in diameter, and the run stops when no factor found any core. Coreograph then cuts
the cores once, with the chosen factor, on the marker sheet’s first dna channel.
Diameters are compared in mm, using the pixel size in the image’s metadata; without it the run
stops and asks for coreograph_args.
Inputs and outputs. In: the stitched slide, one OME-TIFF from Ashlar. Out, under
preprocessing/dearray/: one OME-TIFF per core, {slide}_core001.ome.tif and so on; a mask per
core; a labelled map of the whole array ({slide}_tma_map.tif); the core centres; and, in
sweep/, the scores and an overlay per factor. Each core then continues through the pipeline as
its own sample, and the cores are merged back into one store per slide at the end. See
Preprocessing outputs.
Similar tools¶
QuPath’s TMA dearrayer fits a grid of cores, which you check and adjust in QuPath (Bankhead et al. 2017).
Coreograph came with the preprocessing half from nf-core/mcmicro and needs no hand work. The automatic choice of downsample factor is this pipeline’s addition, because a wrong factor fails silently.
Read more¶
MCMICRO, where Coreograph is described: Schapiro et al., 2021.
Version used:
| Module | Tool | Version | Container | Paper |
|---|---|---|---|---|
| COREOGRAPH | coreograph | 2.4.6 | docker.io/labsyspharm/unetcoreograph:2.4.6 | Schapiro et al. (2021) |
| COREOGRAPH_DETECT | coreograph_detect | 2.4.6 | docker.io/labsyspharm/unetcoreograph:2.4.6 | |
| COREOGRAPH_SELECT | coreograph_select | 2.4.6 | docker.io/labsyspharm/unetcoreograph:2.4.6 |
- Schapiro, D., Sokolov, A., Yapp, C., Chen, Y.-A., Muhlich, J. L., Hess, J., Creason, A. L., Nirmal, A. J., Baker, G. J., Nariya, M. K., Lin, J.-R., Maliga, Z., Jacobson, C. A., Hodgman, M. W., Ruokonen, J., Farhi, S. L., Abbondanza, D., McKinley, E. T., Persson, D., … Sorger, P. K. (2021). MCMICRO: a scalable, modular image-processing pipeline for multiplexed tissue imaging. Nature Methods, 19(3), 311–315. 10.1038/s41592-021-01308-y
- Bankhead, P., Loughrey, M. B., Fernández, J. A., Dombrowski, Y., McArt, D. G., Dunne, P. D., McQuaid, S., Gray, R. T., Murray, L. J., Coleman, H. G., James, J. A., Salto-Tellez, M., & Hamilton, P. W. (2017). QuPath: Open source software for digital pathology image analysis. Scientific Reports, 7(1). 10.1038/s41598-017-17204-5