A pipeline for processing Molecular Cartography data from Resolve Bioscience (combinatorial FISH)
nf-core/molkart is a pipeline for processing Molecular Cartography data from Resolve Bioscience (combinatorial FISH). It takes as input a table of FISH spot positions (x,y,z,gene), a corresponding DAPI image (
tiff format) and optionally a membrane staining image in the
tiff format. nf-core/molkart performs end-to-end processing of the data including image processing, QC filtering of spots, cell segmentation, spot-to-cell assignment and reports quality metrics such as the spot assignment rate, average spots per cell and segmentation mask size ranges.
- Fill the grid pattern in provided images (
- Optionally apply contrast-limited adaptive histogram equalization
- If a second (membrane) image is present, combine images into a multichannel stack (if required for segmentation)
- Apply cell segmentation based on provided images, available options are: -
- Filter cells based on cell size to remove artifacts
- Find duplicated spots near grid lines (
- Assign spots to segmented cells
- Create quality-control metrics specific to this pipeline
- provide them to (
MultiQC) to create a report
First, prepare a samplesheet with your input data that looks as follows:
Each row represents an FOV (field-of-view). Columns represent the sample ID (all must be unique), the path to the respective nuclear image, the spot table, and optionally the path to the respective membrane image (or any second image).
Now, you can run the pipeline using all default values with:
Please provide pipeline parameters via the CLI or Nextflow
-params-file option. Custom config files including those provided by the
-c Nextflow option can be used to provide any configuration except for parameters;
The pipeline outputs a matched cell-by-transcript table based on deduplicated spots and segmented cells, as well as preprocessing and segmentation intermediaries. To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page. For more details about the output files and reports, please refer to the output documentation.
nf-core/molkart was originally written by @kbestak, @FloWuenne.
We thank Maxime U Garcia for his assistance and support in the development of this pipeline.
Contributions and Support
If you would like to contribute to this pipeline, please see the contributing guidelines.
If you use nf-core/molkart for your analysis, please cite it using the following doi: 10.5281/zenodo.10650749
An extensive list of references for the tools used by the pipeline can be found in the
You can cite the
nf-core publication as follows:
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.