imcyto

Image Mass Cytometry analysis pipeline

https://github.com/nf-core/imcyto

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 13 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary

Keywords

cytometry image-analysis image-processing image-segmentation nextflow nf-core pipeline workflow

Keywords from Contributors

metagenomics nanopore long-read-sequencing assembly bioinformatics taxonomic-profiling taxonomic-classification rrna qiime2 pacbio
Last synced: 6 months ago · JSON representation ·

Repository

Image Mass Cytometry analysis pipeline

Basic Info
  • Host: GitHub
  • Owner: nf-core
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage: https://nf-co.re/imcyto
  • Size: 8.85 MB
Statistics
  • Stars: 25
  • Watchers: 155
  • Forks: 18
  • Open Issues: 6
  • Releases: 1
Topics
cytometry image-analysis image-processing image-segmentation nextflow nf-core pipeline workflow
Created over 6 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

nf-core/imcyto

GitHub Actions CI Status GitHub Actions Linting Status Nextflow DOI

Introduction

nfcore/imcyto is a bioinformatics analysis pipeline used for image segmentation and extraction of single cell expression data. This pipeline was generated for Imaging Mass Cytometry data, however, it is flexible enough to be applicable to other types of imaging data e.g. immunofluorescence/immunohistochemistry data.

The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with docker containers making installation trivial and results highly reproducible.

Pipeline summary

  1. Split image acquisition output files (mcd, ome.tiff or txt) by ROI and convert to individual tiff files for channels with names matching those defined in user-provided metadata.csv file. Full and ilastik stacks will be generated separately for all channels being analysed in single cell expression analysis, and for channels being used to generate the cell mask, respectively (imctools).

  2. Apply pre-processing filters to full stack tiff files (CellProfiler).

  3. Use selected tiff files in ilastik stack to generate a composite RGB image representative of the plasma membranes and nuclei of all cells (CellProfiler).

  4. Use composite cell map to apply pixel classification for membranes, nuclei or background, and save probabilities map as tiff (Ilastik). If CellProfiler modules alone are deemed sufficient to achieve a reliable segmentation mask this step can be bypassed using the --skip_ilastik parameter in which case the composite tiff generated in step 3 will be used in subsequent steps instead.

  5. Use probability/composite tiff and pre-processed full stack tiff for segmentation to generate a single cell mask as tiff, and subsequently overlay cell mask onto full stack tiff to generate single cell expression data in csv file (CellProfiler).

Quick Start

i. Install nextflow

ii. Install one of docker or singularity

iii. Download the pipeline and test it on a minimal dataset with a single command

bash nextflow run nf-core/imcyto -profile test,<docker/singularity/institute>

Please check nf-core/configs to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use -profile <institute> in your command. This will enable either docker or singularity and set the appropriate execution settings for your local compute environment.

iv. Start running your own analysis!

bash nextflow run nf-core/imcyto \ --input "./inputs/*.mcd" \ --metadata './inputs/metadata.csv' \ --full_stack_cppipe './plugins/full_stack_preprocessing.cppipe' \ --ilastik_stack_cppipe './plugins/ilastik_stack_preprocessing.cppipe' \ --segmentation_cppipe './plugins/segmentation.cppipe' \ --ilastik_training_ilp './plugins/ilastik_training_params.ilp' \ --plugins './plugins/cp_plugins/' \ -profile <docker/singularity/institute>

See usage docs for all of the available options when running the pipeline.

Documentation

The nf-core/imcyto pipeline comes with documentation about the pipeline, found in the docs/ directory:

  1. Installation
  2. Pipeline configuration
  3. Running the pipeline
  4. Output and how to interpret the results
  5. Troubleshooting

Credits

The pipeline was originally written by The Bioinformatics & Biostatistics Group for use at The Francis Crick Institute, London.

The pipeline was developed by Harshil Patel and Nourdine Bah in collaboration with Karishma Valand, Febe van Maldegem, Emma Colliver and Mihaela Angelova.

Many thanks to others who contributed as a result of the Crick Data Challenge (Jan 2019) - Gavin Kelly, Becky Saunders, Katey Enfield, Alix Lemarois, Nuria Folguera Blasco, Andre Altmann.

It would not have been possible to develop this pipeline without the guidelines, scripts and plugins provided by the Bodenmiller Lab. Thank you too!

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

For further information or help, don't hesitate to get in touch on Slack (you can join with this invite).

Citation

If you use nf-core/imcyto for your analysis, please cite it using the following preprint:

Characterisation of tumour microenvironment remodelling following oncogene inhibition in preclinical studies with imaging mass cytometry.

Febe van Maldegem, Karishma Valand, Megan Cole, Harshil Patel, Mihaela Angelova, Sareena Rana, Emma Colliver, Katey Enfield, Nourdine Bah, Gavin Kelly, Victoria Siu Kwan Tsang, Edurne Mugarza, Christopher Moore, Philip Hobson, Dina Levi, Miriam Molina, Charles Swanton & Julian Downward.

Nat Commun. 2021 Oct 8;12(1):5906. doi: 10.1038/s41467-021-26214-x

The Zenodo doi for the pipeline itself is: 10.5281/zenodo.3865430

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.
ReadCube: Full Access Link

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

Owner

  • Name: nf-core
  • Login: nf-core
  • Kind: organization
  • Email: core@nf-co.re

A community effort to collect a curated set of analysis pipelines built using Nextflow.

Citation (CITATIONS.md)

# nf-core/imcyto: Citations

## [nf-core](https://www.ncbi.nlm.nih.gov/pubmed/32055031/)

> Ewels PA, Peltzer A, Fillinger S, Patel H, Alneberg J, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. The nf-core framework for community-curated bioinformatics pipelines. Nat Biotechnol. 2020 Mar;38(3):276-278. doi: 10.1038/s41587-020-0439-x. PubMed PMID: 32055031. ReadCube: [Full Access Link](https://rdcu.be/b1GjZ).

## [Nextflow](https://www.ncbi.nlm.nih.gov/pubmed/28398311/)

> Di Tommaso P, Chatzou M, Floden EW, Barja PP, Palumbo E, Notredame C. Nextflow enables reproducible computational workflows. Nat Biotechnol. 2017 Apr 11;35(4):316-319. doi: 10.1038/nbt.3820. PubMed PMID: 28398311.

## Pipeline tools

* [CellProfiler](https://www.ncbi.nlm.nih.gov/pubmed/29969450/)
  > McQuin C, Goodman A, Chernyshev V, Kamentsky L, Cimini BA, Karhohs KW, Doan M, Ding L, Rafelski SM, Thirstrup D, Wiegraebe W, Singh S, Becker T, Caicedo JC, Carpenter AE. CellProfiler 3.0: Next-generation image processing for biology. PLoS Biol. 2018 Jul 3;16(7):e2005970. doi: 10.1371/journal.pbio.2005970. eCollection 2018 Jul. PubMed PMID: 29969450; PubMed Central PMCID: PMC6029841.

* [ilastik](https://www.ncbi.nlm.nih.gov/pubmed/31570887/)
  > Berg S, Kutra D, Kroeger T, Straehle CN, Kausler BX, Haubold C, Schiegg M, Ales J, Beier T, Rudy M, Eren K, Cervantes JI, Xu B, Beuttenmueller F, Wolny A, Zhang C, Koethe U, Hamprecht FA, Kreshuk A. ilastik: interactive machine learning for (bio)image analysis. Nat Methods. 2019 Sep 30. doi: 10.1038/s41592-019-0582-9. [Epub ahead of print] Review. PubMed PMID: 31570887.

* [histoCAT](https://www.ncbi.nlm.nih.gov/pubmed/28783155/)
  > Schapiro D, Jackson HW, Raghuraman S, Fischer JR, Zanotelli VRT, Schulz D, Giesen C, Catena R, Varga Z, Bodenmiller B. histoCAT: analysis of cell phenotypes and interactions in multiplex image cytometry data. Nat Methods. 2017 Sep;14(9):873-876. doi: 10.1038/nmeth.4391. Epub 2017 Aug 7. PubMed PMID: 28783155; PubMed Central PMCID: PMC5617107.

* [imctools](https://github.com/BodenmillerGroup/imctools)

* [Zanotelli & Bodenmiller, Jan 2019](https://github.com/BodenmillerGroup/ImcSegmentationPipeline/blob/development/documentation/imcsegmentationpipeline_documentation.pdf)

* [CellProfiler Bodenmiller custom plugins](https://github.com/BodenmillerGroup/ImcPluginsCP)

## Software packaging/containerisation tools

* [BioContainers](https://www.ncbi.nlm.nih.gov/pubmed/28379341/)
  > da Veiga Leprevost F, Grüning BA, Alves Aflitos S, Röst HL, Uszkoreit J, Barsnes H, Vaudel M, Moreno P, Gatto L, Weber J, Bai M, Jimenez RC, Sachsenberg T, Pfeuffer J, Vera Alvarez R, Griss J, Nesvizhskii AI, Perez-Riverol Y. BioContainers: an open-source and community-driven framework for software standardization. Bioinformatics. 2017 Aug 15;33(16):2580-2582. doi: 10.1093/bioinformatics/btx192. PubMed PMID: 28379341; PubMed Central PMCID: PMC5870671.

* [Singularity](https://www.ncbi.nlm.nih.gov/pubmed/28494014/)
  > Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.

* [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241)

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 4
  • Pull request event: 8
  • Create event: 5
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 4
  • Pull request event: 8
  • Create event: 5

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 241
  • Total Committers: 6
  • Avg Commits per committer: 40.167
  • Development Distribution Score (DDS): 0.095
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
drpatelh d****l@g****m 218
Karishma 5****l 15
Harshil Patel d****h 4
Mihaela Angelova a****a@g****m 2
MaxUlysse m****a@g****m 1
runner r****r@f****0 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 70
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 19 days
  • Total issue authors: 7
  • Total pull request authors: 8
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.51
  • Merged pull requests: 41
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 20 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.5
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • SBata (2)
  • arcolombo (1)
  • sailseem (1)
  • algebio (1)
  • DavidSriker (1)
  • jen-reeve (1)
  • drpatelh (1)
Pull Request Authors
  • nf-core-bot (37)
  • drpatelh (34)
  • maxulysse (3)
  • KarishmaVal (1)
  • feebs (1)
  • ewels (1)
  • Precancer (1)
  • KevinMenden (1)
Top Labels
Issue Labels
question (1) bug (1)
Pull Request Labels
WIP (2)

Dependencies

.github/workflows/branch.yml actions
.github/workflows/ci.yml actions
  • actions/checkout v2 composite
.github/workflows/linting.yml actions
  • actions/checkout v2 composite
  • actions/checkout v1 composite
  • actions/setup-node v1 composite
  • actions/setup-python v1 composite
Dockerfile docker
  • nfcore/base 1.9 build