Broadside is an image processing pipeline used by the Laboratory for Bio-Micro Devices @ Brigham & Women's Hospital in Boston, MA. As our image acquisition is a little different, some pre-processing steps are needed.
-
microscope-specific calibration
- images under as little light as possible, to capture hot pixels
-
cached adjustments
- for each slide, make flatfield and darkfield profiles per channel, using pybasic
steps:
- for each microscope, generate tables for correcting axial chromatic aberration
- for each scene, make a stack of all tiles, applying the following functions
- remove hot pixels
- apply flatfield and darkfield corrections, per channel
- apply chromatic aberration corrections, per channel
- for each stack of tiles in scene, apply ASHLAR
Installation is not quite as streamlined as I'd like it to be.
Download the following:
git
, for cloning this reponextflow
(into somewhere on the PATH), for executing the nextflow pipelinesjava
, for compiling java code; at least 11 (SDKMAN is recommended)maven
(if on ubuntu, apt is good enough)conda
, for executing the python code
- clone this repository to a folder
- copy the
example-nextflow.config
file and rename it tonextflow.config
- specify paths to the nextflow work directory, conda environment.yml file, and the calibration directory of the microscope that generated the tiles
- navigate to
./nextflow
and runmvn package
- run
bin/check-slide-status /path/to/slide/
to get some info on a slide - modify and run
bin/cycif-stitch /path/to/slide/
to run the pipeline for a slide