CosciaLab/histo: Citations¶
This pipeline has no DOI of its own and should not be cited in place of the tools it wraps. If you use it, please cite the tools below.
Pipelines this project is derived from¶
Both are MIT licensed. This pipeline would not exist without them.
sopa — the entire downstream half is derived from nf-core/sopa, and many modules are vendored from it.
Blampey, Q., Mulder, K., Gardet, M. et al. Sopa: a technology-invariant pipeline for analyses of image-based spatial omics. Nat Commun 15, 4981 (2024). Blampey et al. (2024)
MCMICRO — the preprocessing half is derived from nf-core/mcmicro. Also the source of the UNetCoreograph TMA dearray tool, which has no separate publication.
Schapiro, D., Sokolov, A., Yapp, C. et al. MCMICRO: a scalable, modular image-processing pipeline for multiplexed tissue imaging. Nat Methods 19, 311–315 (2022). Schapiro et al. (2021)
Frameworks¶
nf-core — this is not an nf-core pipeline, but it uses the nf-core template, modules and tooling.
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.
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.
Preprocessing tools¶
BaSiC / BaSiCPy — illumination correction
Peng T, Thorn K, Schroeder T, Wang L, Theis FJ, Marr C, Navab N. A BaSiC tool for background and shading correction of optical microscopy images. Nat Commun 8, 14836 (2017). Peng et al. (2017)
ASHLAR — stitching and registration
Muhlich JL, Chen YA, Yapp C, Russell D, Santagata S, Sorger PK. Stitching and registering highly multiplexed whole-slide images of tissues and tumors using ASHLAR. Bioinformatics. 2022 Sep 30;38(19):4613-4621. doi: 10.1093/bioinformatics/btac544.
The pipeline runs a fork, josenimo/ashlar (branch
histo-qc), which adds rotation correction and machine-readable QC; cite the paper above.background
_subtraction — pixel-level background subtraction, from the Schapiro Lab Bestak K, Perez V, Wuennemann F. Backsub: a pixel-by-pixel channel subtraction tool for multiplexed immunofluorescence data (2025). https://
github .com /SchapiroLabor /Background _subtraction
Segmentation, data structures and reporting¶
Cellpose — cell segmentation
Stringer C, Wang T, Michaelos M, Pachitariu M. Cellpose: a generalist algorithm for cellular segmentation. Nat Methods 18, 100–106 (2021). Stringer et al. (2020)
Pachitariu M, Rariden M, Stringer C. Cellpose-SAM: superhuman generalization for cellular segmentation. bioRxiv (2025). Pachitariu et al. (2025)
InstanSeg — cell and nucleus segmentation, under
use_instansegGoldsborough T, et al. InstanSeg: an embedding-based instance segmentation algorithm optimized for accurate, efficient and portable cell segmentation (2024). https://
arxiv .org /abs /2408 .15954 Schmidt U, Weigert M, Broaddus C, Myers G. Cell Detection with Star-Convex Polygons. MICCAI 2018, LNCS 11071, 265–273 (2018). Schmidt et al. (2018)
Nimbus — per-cell marker positivity, under
use_nimbusRumberger JL, Greenwald NF, Ranek JS, Boonrat P, Walker C, Franzen J, Varra SR, Kong A, Sowers C, Liu CC, Averbukh I, Piyadasa H, Vanguri R, Nederlof I, Wang XJ, Van Valen D, Kok M, Bendall SC, Hollmann TJ, Kainmueller D, Angelo M. Automated classification of cellular expression in multiplexed imaging data with Nimbus. Nat Methods 22(10), 2161–2170 (2025). Rumberger et al. (2025)
VirTues — cell, tissue-square and tissue embeddings, under
use_virtuesWenckstern J, Jain E, von Querfurth B, Cheng Y, Vasilev K, Pariset M, Cheng PF, Liakopoulos P, Michielin O, Wicki A, Gut G, Bunne C. The Virtual Tissues foundation model resolves spatial proteomics across scales. Nature 657(8132), 744–754 (2026). Wenckstern et al. (2026); preprint arXiv:2501.06039
The weights (
sp32) are CC BY-NC 4.0; the code is MIT. VirTues on GitHub.spora — the spatial proteomics data and tooling the released VirTues weights were trained with; its intensity recipe is followed
von Querfurth B, Wenckstern J, Jain E, Klein L, Cheng P, Cheng Y, Vincent-Cuaz C, Haberecker M, Frossard P, Wicki A, Michielin O, Bunne C. spora: A Unified Multimodal Dataset and Platform for Spatial Proteomics. arXiv:2610.24002 (2026). https://
arxiv .org /abs /2610 .24002. Code: spora-io. ESM-2 — protein sequence embeddings for each marker, under
use_virtuesLin Z, Akin H, Rao R, Hie B, Zhu Z, Lu W, Smetanin N, Verkuil R, Kabeli O, Shmueli Y, dos Santos Costa A, Fazel-Zarandi M, Sercu T, Candido S, Rives A. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science 379, 1123–1130 (2023). Lin et al. (2023)
UniProt — human reviewed protein sequences, with isoforms, bundled in the VirTues image
The UniProt Consortium. UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Res 53(D1), D609–D619 (2025). undefined et al. (2024)
SpatialData — the Zarr-backed data structure the whole downstream half is built on
Marconato L, Palla G, Yamauchi KA, Virshup I, Heidari E, Treis T, Vierdag WM, Toth M, Stockhaus S, Shrestha RB, Rombaut B, Pollaris L, Lehner L, Vöhringer H, Kats I, Saeys Y, Saka SK, Huber W, Gerstung M, Moore J, Theis FJ, Stegle O. SpatialData: an open and universal data framework for spatial omics. Nat Methods 22, 58–62 (2025). Marconato et al. (2024)
Virshup I, Rybakov S, Theis FJ, Angerer P, Wolf FA. bioRxiv 2021.12.16.473007; doi: Virshup et al. (2021)
Scanpy. The QC report’s clustering is
sc.tl.leiden.Wolf F, Angerer P, Theis F. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol 19, 15 (2018). doi: Wolf et al. (2018)
Leiden. The community-detection algorithm behind the QC report’s clusters. The report presents them as a summary of staining rather than as cell types, because seed-to-seed agreement on the one slide measured so far peaked at 0.596 adjusted Rand.
Traag VA, Waltman L, van Eck NJ. From Louvain to Leiden: guaranteeing well-connected communities. Sci Rep 9, 5233 (2019). Traag et al. (2019)
python-igraph. The Leiden implementation actually called.
bin/qc_images.pypassesflavor="igraph"tosc.tl.leiden, so the clustering runs through igraph’s own implementation rather than through leidenalg, which is not a sopa dependency.Csardi G, Nepusz T. The igraph software package for complex network research. InterJournal, Complex Systems, 1695 (2006). https://igraph.org
Software packaging and containerisation¶
Anaconda Software Distribution. Computer software. Vers. 2-2.4.0. Anaconda, Nov. 2016. Web.
Grüning B, Dale R, Sjödin A, Chapman BA, Rowe J, Tomkins-Tinch CH, Valieris R, Köster J; Bioconda Team. Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat Methods. 2018 Jul;15(7):475-476. doi: 10.1038/s41592-018-0046-7. PubMed PMID: 29967506.
da Veiga Leprevost F, Grüning B, Aflitos SA, Röst HL, Uszkoreit J, Barsnes H, Vaudel M, Moreno P, Gatto L, Weber J, Bai M, Jimenez RC, Sachsenberg T, Pfeuffer J, Alvarez RV, 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.
Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241.
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.
- Blampey, Q., Mulder, K., Gardet, M., Christodoulidis, S., Dutertre, C.-A., André, F., Ginhoux, F., & Cournède, P.-H. (2024). Sopa: a technology-invariant pipeline for analyses of image-based spatial omics. Nature Communications, 15(1). 10.1038/s41467-024-48981-z
- 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
- Peng, T., Thorn, K., Schroeder, T., Wang, L., Theis, F. J., Marr, C., & Navab, N. (2017). A BaSiC tool for background and shading correction of optical microscopy images. Nature Communications, 8(1). 10.1038/ncomms14836
- Stringer, C., Wang, T., Michaelos, M., & Pachitariu, M. (2020). Cellpose: a generalist algorithm for cellular segmentation. Nature Methods, 18(1), 100–106. 10.1038/s41592-020-01018-x
- Pachitariu, M., Rariden, M., & Stringer, C. (2025). Cellpose-SAM: superhuman generalization for cellular segmentation. 10.1101/2025.04.28.651001
- Schmidt, U., Weigert, M., Broaddus, C., & Myers, G. (2018). Cell Detection with Star-Convex Polygons. In Medical Image Computing and Computer Assisted Intervention – MICCAI 2018 (pp. 265–273). Springer International Publishing. 10.1007/978-3-030-00934-2_30
- Rumberger, J. L., Greenwald, N. F., Ranek, J. S., Boonrat, P., Walker, C., Franzen, J., Varra, S. R., Kong, A., Sowers, C., Liu, C. C., Averbukh, I., Piyadasa, H., Vanguri, R., Nederlof, I., Wang, X. J., Van Valen, D., Kok, M., Bendall, S. C., Hollmann, T. J., … Angelo, M. (2025). Automated classification of cellular expression in multiplexed imaging data with Nimbus. Nature Methods, 22(10), 2161–2170. 10.1038/s41592-025-02826-9
- Wenckstern, J., Jain, E., von Querfurth, B., Cheng, Y., Vasilev, K., Pariset, M., Cheng, P. F., Liakopoulos, P., Michielin, O., Wicki, A., Gut, G., & Bunne, C. (2026). The Virtual Tissues foundation model resolves spatial proteomics across scales. Nature, 657(8132), 744–754. 10.1038/s41586-026-10884-y
- Lin, Z., Akin, H., Rao, R., Hie, B., Zhu, Z., Lu, W., Smetanin, N., Verkuil, R., Kabeli, O., Shmueli, Y., dos Santos Costa, A., Fazel-Zarandi, M., Sercu, T., Candido, S., & Rives, A. (2023). Evolutionary-scale prediction of atomic-level protein structure with a language model. Science, 379(6637), 1123–1130. 10.1126/science.ade2574
- Bateman, A., Martin, M.-J., Orchard, S., Magrane, M., Adesina, A., Ahmad, S., Bowler-Barnett, E. H., Bye-A-Jee, H., Carpentier, D., Denny, P., Fan, J., Garmiri, P., Gonzales, L. J. da C., Hussein, A., Ignatchenko, A., Insana, G., Ishtiaq, R., Joshi, V., Jyothi, D., … Zhang, J. (2024). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. 10.1093/nar/gkae1010
- Marconato, L., Palla, G., Yamauchi, K. A., Virshup, I., Heidari, E., Treis, T., Vierdag, W.-M., Toth, M., Stockhaus, S., Shrestha, R. B., Rombaut, B., Pollaris, L., Lehner, L., Vöhringer, H., Kats, I., Saeys, Y., Saka, S. K., Huber, W., Gerstung, M., … Stegle, O. (2024). SpatialData: an open and universal data framework for spatial omics. Nature Methods, 22(1), 58–62. 10.1038/s41592-024-02212-x
- Virshup, I., Rybakov, S., Theis, F. J., Angerer, P., & Wolf, F. A. (2021). anndata: Annotated data. 10.1101/2021.12.16.473007
- Wolf, F. A., Angerer, P., & Theis, F. J. (2018). SCANPY: large-scale single-cell gene expression data analysis. Genome Biology, 19(1). 10.1186/s13059-017-1382-0
- Traag, V. A., Waltman, L., & van Eck, N. J. (2019). From Louvain to Leiden: guaranteeing well-connected communities. Scientific Reports, 9(1). 10.1038/s41598-019-41695-z