Hostname: page-component-5db58dd55d-bthnr Total loading time: 0 Render date: 2026-07-07T13:02:06.444Z Has data issue: false hasContentIssue false

eHooke: A tool for automated image analysis of spherical bacteria based on cell cycle progression

Published online by Cambridge University Press:  24 September 2021

Bruno M. Saraiva*
Affiliation:
Instituto de Tecnologia Química e Biológica António Xavier, Universidade Nova de Lisboa, Oeiras, Portugal
Ludwig Krippahl
Affiliation:
NOVA LINCS, Departamento de Informática, Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal
Sérgio R. Filipe
Affiliation:
Instituto de Tecnologia Química e Biológica António Xavier, Universidade Nova de Lisboa, Oeiras, Portugal UCIBIO-REQUIMTE, Departamento de Ciências da Vida, Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal
Ricardo Henriques
Affiliation:
Instituto Gulbenkian de Ciência, Oeiras, Portugal MRC Laboratory for Molecular Cell Biology, University College London, London, United Kingdom
Mariana G. Pinho*
Affiliation:
Instituto de Tecnologia Química e Biológica António Xavier, Universidade Nova de Lisboa, Oeiras, Portugal
*
*Corresponding authors: E-mail: bsaraiva@itqb.unl.pt, mgpinho@itqb.unl.pt
*Corresponding authors: E-mail: bsaraiva@itqb.unl.pt, mgpinho@itqb.unl.pt
Rights & Permissions [Opens in a new window]

Abstract

Fluorescence microscopy is a critical tool for cell biology studies on bacterial cell division and morphogenesis. Because the analysis of fluorescence microscopy images evolved beyond initial qualitative studies, numerous images analysis tools were developed to extract quantitative parameters on cell morphology and organization. To understand cellular processes required for bacterial growth and division, it is particularly important to perform such analysis in the context of cell cycle progression. However, manual assignment of cell cycle stages is laborious and prone to user bias. Although cell elongation can be used as a proxy for cell cycle progression in rod-shaped or ovoid bacteria, that is not the case for cocci, such as Staphylococcus aureus. Here, we describe eHooke, an image analysis framework developed specifically for automated analysis of microscopy images of spherical bacterial cells. eHooke contains a trained artificial neural network to automatically classify the cell cycle phase of individual S. aureus cells. Users can then apply various functions to obtain biologically relevant information on morphological features of individual cells and cellular localization of proteins, in the context of the cell cycle.

Information

Type
Software Report
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (https://creativecommons.org/licenses/by-nc-sa/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is included and the original work is properly cited. The written permission of Cambridge University Press must be obtained for commercial re-use.
Copyright
© The Author(s), 2021. Published by Cambridge University Press
Figure 0

Figure 1. Cell segmentation. (a) Schematic representation of the cell segmentation workflow performed by eHooke. A base image (phase-contrast or inverted fluorescence image) is loaded, and an isodata thresholding algorithm is applied to create a binary mask. This mask separates the background from the foreground and is then used to find the center of individual cells by measuring each pixel’s Euclidean distance to the background. The pixels with the highest Euclidean distance within their surroundings are considered as peaks, which, together with the binary mask, are used to define individual cells by applying a watershed algorithm. Scale bar: 1 μm. (b) Image of a Staphylococcus aureus cell stained with the membrane dye Nile red and imaged by structured illumination microscopy, segmented by eHooke to define three subcellular regions: membrane, septum, and cytoplasm.

Figure 1

Figure 2. Workflow for generating training and test datasets. (a) Staphylococcus aureus JE2 cells were labeled with a membrane (Nile red, in purple) and a DNA (Hoechst 33342, in cyan) dye and imaged by widefield and structured illumination microscopy (SIM). eHooke was then used for cell segmentation generating 11,370 and 9,284 images of single cells obtained by widefield and SIM microscopy, respectively. Scale bar: 1 μm. (b) Each cell image was manually classified according to the cell cycle phase by groups of two (widefield) or three (SIM) users; 945 widefield and 536 SIM cell images (marked *) were classified by all users and later used to compare classifications between users (see Supplementary Figure 2). Only cells where the majority of users agreed on the classification were selected for use in datasets. From these selected cells, 10% of cells in each cell cycle phase were randomly selected and separated to create a test dataset. For the remaining 90% cells, the number of cells in each cell cycle phase was balanced by randomly discarding cells from Phases 1 and 2, so that each phase had the same number of cells in the training dataset. Widefield cell images were then resized to the same size as SIM images. Resized widefield images were combined with SIM images, resulting in a total of 9,786 cell images. Each of these images was further rotated 23 times, 15° at a time, creating the training dataset with 234,864 cell images. For training, a data split of 70% for training and 30% for validation was used.

Figure 2

Figure 3. Schematic representation and validation of an artificial neural network (ANN) for automated classification of cell cycle phase of Staphylococcus aureus cells. (a) Schematic representation of the structure of the used ANN; n represents the number of neurons in each layer. (b,c) Confusion matrices for the accuracy of the trained ANN using a test dataset of (b) widefield fluorescence microscopy images acquired using a Zeiss Axio Observer Microscope (n = 755; Phase 1: 302 cells, Phase 2: 236 cells, Phase 3: 217 cells), and (c) SIM images acquired using a Zeiss Elyra PS.1 Microscope (n = 777; Phase 1: 369 cells, Phase 2: 264 cells, Phase 3: 144 cells). (d) Fraction of the population of parental S. aureus JE2 cells (n = 748) and sle1 mutant (n = 651), previously described as being enriched in Phase 3 cells(9), in each phase of the cell cycle. The cell cycle phase of individual cells was assigned automatically using the trained ANN.

Figure 3

Figure 4. Examples of single-cell morphological measurements performed by eHooke. (a) Staphylococcus aureus JE2 cells stained with membrane dye Nile red and imaged by SIM. Scale bars: 1 μm. (b) Quantification of eccentricity of JE2 cells shows an increase along the cell cycle, as previously reported(9). Phase 1 cells have a median eccentricity of 0.452 ± 0.096 (n = 339), Phase 2 cells of 0.488 ± 0.081 (n = 265), and Phase 3 cells of 0.538 ± 0.115 (n = 150). (c) S. aureus COL cells were incubated for 30 min in the absence (left) or presence (right) of the cell division inhibitor PC190723 (2.5 μg mL−1), stained with membrane dye Nile red and imaged by SIM. Scale bars: 1 μm. (d) Quantification of cell area by eHooke for both conditions shows that the presence of PC190723 leads to an increase in the median cell area, in agreement with inhibition of cell division as the mode of action for this compound (COL: n = 173, COL + PC190723: n = 124). (b,d) Medians are represented by full lines and quartiles by dashed lines. Statistical analysis was performed using a two-sided Mann–Whitney U test. ****p < .0001.

Supplementary material: File

Saraiva et al. supplementary material

Figure S1-S7 and Table S1

Download Saraiva et al. supplementary material(File)
File 1.8 MB