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.

backsub: background subtraction

What it does

Tissue autofluorescence adds to every marker. backsub subtracts, pixel by pixel, a channel acquired only to record that background from the markers you assign it to.

Parameters

More in Background subtraction.

How it works

Each marker channel loses its background channel, scaled by the two channels’ exposure times:

marker_corrected = marker_raw − background × (exposure_marker / exposure_background)

Channels marked remove, usually the background channels themselves, are then dropped. backsub was developed for Lunaphore COMET data and works with MCMICRO.

It runs once per sample after Ashlar, or once per core after Coreograph. The image before subtraction is kept for the QC report, which compares the two.

Inputs and outputs. In: the stitched OME-TIFF and the marker sheet. Out, under preprocessing/background_subtraction/: {sample}_backsub.ome.tif, a pyramidal OME-TIFF, and {sample}_backsub.csv, a marker sheet that matches it. Everything downstream reads this new sheet: removed channels are gone and channel_number is renumbered. See Preprocessing outputs.

Similar tools

backsub came as an optional step with the preprocessing half from nf-core/mcmicro.

Read more

Version used:

ModuleToolVersionContainerPaper
BACKSUBbacksub0.5.1ghcr.io/schapirolabor/background_subtraction:v0.5.1
References
  1. 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