DeepBacs for multi-task bacterial image analysis using open-source deep learning approaches
The DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
This work demonstrates and guides how to use a range of state-of-the-art artificial neural-networks to analyse bacterial microscopy images using the recently developed ZeroCostDL4Mic platform. We generated a database of image datasets used to train networks for various image analysis tasks and present strategies for data acquisition and curation, as well as model training. We showcase different deep learning (DL) approaches for segmenting bright field and fluorescence images of different bacterial species, use object detection to classify different growth stages in time-lapse imaging data, and carry out DL-assisted phenotypic profiling of antibiotic-treated cells. To also demonstrate the ability of DL to enhance low-phototoxicity live-cell microscopy, we showcase how image denoising can allow researchers to attain high-fidelity data in faster and longer imaging. Finally, artificial labelling of cell membranes and predictions of super-resolution images allow for accurate mapping of cell shape and intracellular targets. Our purposefully-built database of training and testing data aids in novice users’ training, enabling them to quickly explore how to analyse their data through DL. We hope this lays a fertile ground for the efficient application of DL in microbiology and fosters the creation of tools for bacterial cell biology and antibiotic research.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“This dataset combines major currently available datasets: Cellpose, Cellpose Nuclei, Omnipose, TissueNet, LiveCell, YeaZ, DeepBacs, Neurips 2022, MoNuSeg, MoNuSAC, CryoNuSeg, NuInsSeg, BCCD, CPM 15+17, TNBC, LynSec, IHC TMA, CoNIC, PanNuke [1-3, 17-36]”
From Cellpose-SAM: superhuman generalization for cellular segmentation (2025) · cites this paper as [21]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
U-Net: Convolutional Networks for Biomedical Image Segmentation
Ronneberger, O., Fischer, P., & Brox, T. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-24574-4_28 · Cited by 99,404
LeCun, Y., Bengio, Y., & Hinton, G. (2015) · Nature · doi:10.1038/nature14539 · Cited by 84,126
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2577031 · Cited by 73,472
Image quality assessment: from error visibility to structural similarity
Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P. (2004) · IEEE Transactions on Image Processing · doi:10.1109/tip.2003.819861 · Cited by 57,892
YOLO9000: Better, Faster, Stronger
Redmon, J., & Farhadi, A. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.690 · Cited by 19,892 · cited 4×
“This is used extensively in real-life applications, such as self-driving cars or detecting items in photographs 12,13 .”
InfluentialnnU-Net: a self-configuring method for deep learning-based biomedical image segmentation
Isensee, F., Jaeger, P. F., Kohl, S. A. A., Petersen, J., & Maier-Hein, K. H. (2021) · Nature Methods · doi:10.1038/s41592-020-01008-z · Cited by 10,477
QuPath: Open source software for digital pathology image analysis
Bankhead, P., Loughrey, M. B., Fernández, J. A., Dombrowski, Y., McArt, D. G., Dunne, P. D., McQuaid, S., Gray, R. T., Murray, L. J., Coleman, H. G., et al. (2017) · Scientific Reports · doi:10.1038/s41598-017-17204-5 · Cited by 8,908
Double-slit photoelectron interference in strong-field ionization of the neon dimer
Kunitski, M., Eicke, N., Huber, P., Köhler, J., Zeller, S., Voigtsberger, J., Schlott, N., Henrichs, K., Sann, H., Trinter, F., et al. (2019) · Nature Communications · doi:10.1038/s41467-018-07882-8 · Cited by 8,162
Cellpose: a generalist algorithm for cellular segmentation
Stringer, C., Wang, T., Michaelos, M., & Pachitariu, M. (2021) · Nature Methods · doi:10.1038/s41592-020-01018-x · Cited by 4,369 · cited 3×
“Finally, and motivated by generalist approaches such as Cellpose 10 , we were interested in whether a single StarDist model is capable of performing all the segmentation tasks shown in Fig.”
Gustafsson, M. G. L. (2000) · Journal of Microscopy · doi:10.1046/j.1365-2818.2000.00710.x · Cited by 3,786
ilastik: interactive machine learning for (bio)image analysis
Berg, S., Kutra, D., Kroeger, T., Straehle, C. N., Kausler, B. X., Haubold, C., Schiegg, M., Ales, J., Beier, T., Rudy, M., et al. (2019) · Nature Methods · doi:10.1038/s41592-019-0582-9 · Cited by 3,368
A subcellular map of the human proteome
Thul, P. J., Åkesson, L., Wiking, M., Mahdessian, D., Geladaki, A., Ait Blal, H., Alm, T., Asplund, A., Björk, L., Breckels, L. M., et al. (2017) · Science · doi:10.1126/science.aal3321 · Cited by 2,813 · cited 1×
“However, these methodologies dominantly focused on the study of eukaryotes, particularly given the wealth of pre-existing imaging data 17,27 .”
Cell Detection with Star-Convex Polygons
Schmidt, U., Weigert, M., Broaddus, C., & Myers, G. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-00934-2_30 · Cited by 1,826 · cited 5×
“4h, Supplementary Video 9).”
InfluentialDeep learning for cellular image analysis
Moen, E., Bannon, D., Kudo, T., Graf, W., Covert, M., & Van Valen, D. (2019) · Nature Methods · doi:10.1038/s41592-019-0403-1 · Cited by 1,225 · cited 2×
“Using the datasets that we provide, well-performing models can be trained within the time course of hours (see Supplementary Tables 3, 5, 9-11).”
Super-resolution microscopy with DNA-PAINT
Schnitzbauer, J., Strauss, M. T., Schlichthaerle, T., Schueder, F., & Jungmann, R. (2017) · Nature Protocols · doi:10.1038/nprot.2017.024 · Cited by 1,047
In Silico Labeling: Predicting Fluorescent Labels in Unlabeled Images
Christiansen, E. M., Yang, S. J., Ando, D. M., Javaherian, A., Skibinski, G., Lipnick, S., Mount, E., O’Neil, A., Shah, K., Lee, A. K., et al. (2018) · Cell · doi:10.1016/j.cell.2018.03.040 · Cited by 635
Van Valen, D. A., Kudo, T., Lane, K. M., Macklin, D. N., Quach, N. T., DeFelice, M. M., Maayan, I., Tanouchi, Y., Ashley, E. A., & Covert, M. W. (2016) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1005177 · Cited by 557 · cited 4×
“If this is not already included in the network 32,33 , segmentation masks can be used with TrackMate, which was recently updated for the use of DL technology 46 (Supplementary Video 3).”
InfluentialEvaluation and development of deep neural networks for image super-resolution in optical microscopy
Qiao, C., Li, D., Guo, Y., Liu, C., Jiang, T., Dai, Q., & Li, D. (2021) · Nature Methods · doi:10.1038/s41592-020-01048-5 · Cited by 465
Research works printed but not linked: 66
- Goodswen, S. J. et al. Machine learning and applications in microbiology. FEMS Microbiol. Rev. 45, 1–19 (2021). · DOI · Paper page
- Laine, R. F. et al. Structured illumination microscopy combined with machine learning enables the high throughput analysis and classification of virus structure. Elife 7, 1–17 (2018). · DOI
- Zoffmann, S. et al. Machine learning-powered antibiotics phenotypic drug discovery. Sci. Rep. 9, 1–14 (2019). · DOI
- von Chamier, L., Laine, R. F. & Henriques, R. Artificial intelligence for microscopy: what you should know. Biochem. Soc. Trans. 47, 1029–1040 (2019). · DOI · Paper page
- Belthangady, C. & Royer, L. A. Applications, promises, and pitfalls of deep learning for fluorescence image reconstruction. Nat. Methods 16, 1215–1225 (2019). · DOI · Paper page
- Falk, T. et al. U-Net: deep learning for cell counting, detection, and morphometry. Nat. Methods 16, 67–70 (2019). · DOI · Paper page
- Weigert, M. et al. Content-aware image restoration: pushing the limits of fluorescence microscopy. Nat. Methods 15, 1090–1097 (2018). · DOI · Paper page
- Krull, A., Buchholz, T. O. & Jug, F. Noise2void-learning denoising from single noisy images. In Proc. IEEE Computer Society Conference on Computer Vision and Pattern Recognition. 2129–2137 (2019). · DOI · Paper page
- Wang, H. et al. Deep learning enables cross-modality super-resolution in fluorescence microscopy. Nat. Methods 16, 103–110 (2019). · DOI · Paper page
- Isola, P., Zhu, J. Y., Zhou, T. & Efros, A. A. Image-to-image translation with conditional adversarial networks. In Proc. IEEE Conference on Computer Vision and Pattern Recognition. 1125–1134 (2017). · DOI · Paper page
- Ounkomol, C., Seshamani, S., Maleckar, M. M., Collman, F. & Johnson, G. R. Label-free prediction of three-dimensional fluorescence images from transmitted-light microscopy. Nat. Methods 15, 917–920 (2018). · DOI · Paper page
- von Chamier, L. et al. Democratising deep learning for microscopy with ZeroCostDL4Mic. Nat. Commun. 12, 1–18 (2021). · DOI · Paper page
- Ouyang, W., Mueller, F., Hjelmare, M., Lundberg, E. & Zimmer, C. ImJoy: an open-source computational platform for the deep learning era. Nat. Methods 16, 1199–1200 (2019). · DOI · Paper page
- Gómez-de-Mariscal, E. et al. DeepImageJ: A user-friendly environment to run deep learning models in ImageJ. Nat. Methods 18, 1192–1195 (2021). · DOI · Paper page
- Mcquin, C. et al. Cellprofiler 3.0: Next-generation image processing for biology. PLoS Biol. 16, 1–17 (2018). · DOI · Paper page
- Bannon, D. et al. DeepCell Kiosk: scaling deep learning–enabled cellular image analysis with Kubernetes. Nat. Methods 18, 43–45 (2021). · DOI · Paper page
- Panigrahi, S. et al. Misic, a general deep learning-based method for the high-throughput cell segmentation of complex bacterial communities. Elife 10, 1–18 (2021). · DOI
- Hartmann, R. et al. Quantitative image analysis of microbial communities with BiofilmQ. Nat. Microbiol. 6, 151–156 (2021). · DOI · Paper page
- Zhang, M. et al. Non-invasive single-cell morphometry in living bacterial biofilms. Nat. Commun. 11, 1–13 (2020). · DOI · Paper page
- Lugagne, J. B., Lin, H. & Dunlop, M. J. Delta: Automated cell segmentation, tracking, and lineage reconstruction using deep learning. PLoS Comput. Biol. 16, 1–18 (2020). · DOI · Paper page
- Connor, O. M. O. & Alnahhas, R. N., Jean-Baptiste Lugagne. DeLTA 2 .0: A deep learning pipeline for quantifying single-cell spatial and temporal dynamics. PLoS Comput. Biol. 18, 1–18 (2022).
- Waithe, D. et al. Object detection networks and augmented reality for cellular detection in fluorescence microscopy. J. Cell Biol. 219, e201903166 (2020). · DOI
- Luisier, F., Vonesch, C., Blu, T. & Unser, M. Fast Haar-wavelet denoising of multidimensional fluorescence microscopy data. In 2009 IEEE International Symposium on Biomedical Imaging: From Nano to Macro. 310–313 (2009). · DOI
- Li, X. et al. Unsupervised content-preserving transformation for optical microscopy. Light Sci. Appl. 10, 44 (2021). · DOI
- Wang, Y. et al. Image denoising for fluorescence microscopy by supervised to self-supervised transfer learning. Opt. Express 29, 41303 (2021). · DOI
- European Organization For Nuclear Research & OpenAIRE. Zenodo. (CERN, 2013). https://doi.org/10.25495/7GXK-RD71. · doi:10.25495/7gxk-rd71 · Paper page
- Cutler, K. J., Stringer, C., Wiggins, P. A. & Mougous, J. D. Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation. bioRxiv https://doi.org/10.1101/2021.11.03.467199 (2021). · doi:10.1101/2021.11.03.467199
- Sliusarenko, O., Heinritz, J., Emonet, T. & Jacobs-Wagner, C. High-throughput, subpixel precision analysis of bacterial morphogenesis and intracellular spatio-temporal dynamics. Mol. Microbiol. 80, 612–627 (2011). · DOI · Paper page
- Mandal, S. & Uhlmann, V. Splinedist: Automated Cell Segmentation With Spline Curves. In 2021 IEEE 18th International Symposium on Biomedical Imaging (ISBI). 1082–1086 (2021). · DOI
- Schindelin, J. et al. Fiji: An open-source platform for biological-image analysis. Nat. Methods 9, 676–682 (2012). · DOI · Paper page
- de Jong, I. G., Beilharz, K., Kuipers, O. P. & Veening, J. W. Live cell imaging of Bacillus subtilis and Streptococcus pneumoniae using automated time-lapse microscopy. J. Vis. Exp. https://doi.org/10.3791/3145 (2011). · DOI · Paper page
- Tinevez, J. Y. et al. TrackMate: An open and extensible platform for single-particle tracking. Methods 115, 80–90 (2017). · DOI · Paper page
- Ershov, D. et al. TrackMate 7: integrating state-of-the-art segmentation algorithms into tracking pipelines. Nat Methods (2022). · DOI · Paper page
- Whitley, K. D. et al. FtsZ treadmilling is essential for Z-ring condensation and septal constriction initiation in Bacillus subtilis cell division. Nat. Commun. 12, 2448 (2021). · DOI · Paper page
- Nonejuie, P., Burkart, M., Pogliano, K. & Pogliano, J. Bacterial cytological profiling rapidly identifies the cellular pathways targeted by antibacterial molecules. Proc. Natl Acad. Sci. USA 110, 16169–16174 (2013). · DOI · Paper page
- Everingham, M., Van-Gool, L., Williams, C. K. I., Winn, J. & Zisserman, A. The pascal visual object classes (VOC) challenge. Int. J. Comput. Vis. 88, 303–338 (2010). · DOI · Paper page
- Laine, R. F., Jacquemet, G. & Krull, A. Imaging in focus: an introduction to denoising bioimages in the era of deep learning. Int. J. Biochem. Cell Biol. 140, 106077 (2021). · DOI
- Bindels, D. S. et al. mScarlet: A bright monomeric red fluorescent protein for cellular imaging. Nat. Methods 14, 53–56 (2016). · DOI · Paper page
- Gao, Y. et al. Charged residues in the H-NS linker drive DNA binding and gene silencing in single cells. Proc. Natl Acad. Sci. USA 114, 12560–12565 (2017). · DOI
- Ouzounov, N. et al. MreB orientation correlates with cell diameter in Escherichia coli. Biophys. J. 111, 1035–1043 (2016). · DOI
- Van Teeffelen, S. et al. The bacterial actin MreB rotates, and rotation depends on cell-wall assembly. Proc. Natl Acad. Sci. USA 108, 15822–15827 (2011). · DOI · Paper page
- Garner, E. C. et al. Coupled, circumferential motions of the cell wall synthesis machinery and MreB filaments in B. subtilis. Science 333, 222–225 (2011). · DOI · Paper page
- Domínguez-Escobar, J. et al. Processive movement of MreB-associated cell wall biosynthetic complexes in bacteria. Science 333, 225–228 (2011). · DOI · Paper page
- Özbaykal, G. et al. The transpeptidase PBP2 governs initial localization and activity of the major cell-wall synthesis machinery in E. coli. Elife 9, 1–37 (2020). · DOI
- Whitley, K. D., Middlemiss, S., Jukes, C., Dekker, C. & Holden, S. High-resolution imaging of bacterial spatial organization with vertical cell imaging by nanostructured immobilization (VerCINI). Nat. Protoc. 17, 847–869 (2022). · DOI
- Ducret, A., Quardokus, E. M. & Brun, Y. V. MicrobeJ, a tool for high throughput bacterial cell detection and quantitative analysis. Nat. Microbiol. 1, 1–7 (2016). · DOI · Paper page
- Stylianidou, S., Brennan, C., Nissen, S. B., Kuwada, N. J. & Wiggins, P. A. SuperSegger: robust image segmentation, analysis and lineage tracking of bacterial cells. Mol. Microbiol. 102, 690–700 (2016). · DOI · Paper page
- Sharonov, A. & Hochstrasser, R. M. Wide-field subdiffraction imaging by accumulated binding of diffusing probes. Proc. Natl Acad. Sci. USA 103, 18911–18916 (2006). · DOI · Paper page
- Spahn, C. K. et al. A toolbox for multiplexed super-resolution imaging of the E. coli nucleoid and membrane using novel PAINT labels. Sci. Rep. 8, 14768 (2018). · DOI · Paper page
- Culley, S. et al. Quantitative mapping and minimization of super-resolution optical imaging artifacts. Nat. Methods 15, 263–266 (2018). · DOI · Paper page
- Descloux, A., Grußmayer, K. S. & Radenovic, A. Parameter-free image resolution estimation based on decorrelation analysis. Nat. Methods 16, 918–924 (2019). · DOI · Paper page
- Laine, R. F., Arganda-Carreras, I., Henriques, R. & Jacquemet, G. Avoiding a replication crisis in deep-learning- based bioimage analysis. Nat. Methods 18, 1122–1144 (2021). · DOI · Paper page
- Mahecic, D., Stepp, W. L., Zhang, C., Weigert, M. & Manley, S. Event-driven acquisition for microscopy. bioRxiv https://doi.org/10.1101/2021.10.04.463102 (2021). · doi:10.1101/2021.10.04.463102
- Ventola, C. L. The antibiotic resistance. Crisis Pharm. Ther. 40, 277–283 (2015).
- Spahn, C., Endesfelder, U. & Heilemann, M. Super-resolution imaging of Escherichia coli nucleoids reveals highly structured and asymmetric segregation during fast growth. J. Struct. Biol. 185, 243–9 (2014). · DOI
- Messelink, J. J. B., van Teeseling, M. C. F., Janssen, J., Thanbichler, M. & Broedersz, C. P. Learning the distribution of single-cell chromosome conformations in bacteria reveals emergent order across genomic scales. Nat. Commun. 12, 1963 (2021). · DOI
- Maggioni, M. et al. Efficient multi-stage video denoising with recurrent spatio-temporal fusion. Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. https://doi.org/10.1109/CVPR46437.2021.00347 (2021). · DOI
- Monteiro, J. M. et al. Cell shape dynamics during the staphylococcal cell cycle. Nat. Commun. 6, 8055 (2015). · DOI · Paper page
- Saraiva, B. M., Krippahl, L., Filipe, S. R., Henriques, R. & Pinho, M. G. eHooke: A tool for automated image analysis of spherical bacteria based on cell cycle progression. Biol. Imaging 1, 1–13 (2021). · DOI
- Ouyang, W. et al. BioImage Model Zoo: A Community-Driven Resource for Accessible Deep Learning in BioImage Analysis. (Cold Spring Harbor Laboratory, 2022). https://doi.org/10.1101/2022.06.07.495102. · DOI · Paper page
- Legland, D., Arganda-Carreras, I. & Andrey, P. MorphoLibJ: Integrated library and plugins for mathematical morphology with ImageJ. Bioinformatics 32, 3532–3534 (2016). · DOI · Paper page
- Ellefsen, K. L., Dynes, J. L., Parker, I. & Waigh, T. Spinning-spot shadowless TIRF microscopy. PLoS ONE 10, 1–17 (2015). · doi:10.1371/journal.pone.0136055
- Thévenaz, P., Ruttimann, U. E. & Unser, M. A pyramid approach to subpixel registration based on intensity. IEEE Trans. Image Process. 7, 27–41 (1998). · DOI · Paper page
- Bloice, M. D., Roth, P. M. & Holzinger, A. Biomedical image augmentation using Augmentor. Bioinformatics 35, 4522–4524 (2019). · DOI · Paper page
- Laine, R. F. et al. NanoJ: A high-performance open-source super-resolution microscopy toolbox. J. Phys. D: Appl. Phys. 52, 163001 (2018). · DOI · Paper page
- Ouyang, W., Aristov, A., Lelek, M., Hao, X. & Zimmer, C. Deep learning massively accelerates super-resolution localization microscopy. Nat. Biotechnol. 36, 460–468 (2018). · DOI · Paper page
Cited by
Cellpose-SAM: superhuman generalization for cellular segmentation
Pachitariu, M., Rariden, M., & Stringer, C. (2025) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2025.04.28.651001 · Cited by 561
“• DeepBacs [21]: We used the following segmentation datasets from DeepBacs: S. aureus bright-field and fluorescence with 56 training patches and 10 test images [82], E. coli bright-field with 19 training images and 15 test images [83], and B. subtilis fluorescence with 80 training images and 10…”
Segment Anything for Microscopy
Archit, A., Freckmann, L., Nair, S., Khalid, N., Hilt, P., Rajashekar, V., Freitag, M., Teuber, C., Spitzner, M., Tapia Contreras, C., et al. (2025) · Nature Methods · doi:10.1038/s41592-024-02580-4 · Cited by 519
Cellpose3: one-click image restoration for improved cellular segmentation
Stringer, C., & Pachitariu, M. (2025) · Nature Methods · doi:10.1038/s41592-025-02595-5 · Cited by 461
Metadata
- Authors
- Spahn, C., Gómez-de-Mariscal, E., Laine, R. F., Pereira, P. M., von Chamier, L., Conduit, M., Pinho, M. G., Jacquemet, G., Holden, S., Heilemann, M., & Henriques, R.
- ORCID
- Venue
- Communications Biology
- Published
- 2022-07-09
- Volume
- 5
- Issue
- 1
- ISSN
- 2399-3642
- Cited by
- 140
- References
- 18
- Language
- en
- Licence
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.