Skip to main content

TECHNOLOGY AND CODE article

Front. Immunol., 11 January 2024
Sec. Cytokines and Soluble Mediators in Immunity
This article is part of the Research Topic Adenine Nucleotides in Immunity and Inflammation View all 15 articles

DARTS: an open-source Python pipeline for Ca2+ microdomain analysis in live cell imaging data

  • 1Department of Applied Medical Informatics, University Medical Center Hamburg-Eppendorf, Hamburg, Germany
  • 2Department of Computational Neuroscience, University Medical Center Hamburg-Eppendorf, Hamburg, Germany
  • 3Center for Biomedical Artificial Intelligence (bAIome), University Medical Center Hamburg-Eppendorf, Hamburg, Germany
  • 4The Calcium Signalling Group, Department of Biochemistry and Molecular Cell Biology, University Medical Center Hamburg-Eppendorf, Hamburg, Germany
  • 5Institute for Immunology, University Medical Center Hamburg-Eppendorf, Hamburg, Germany

Ca2+ microdomains play a key role in intracellular signaling processes. For instance, they mediate the activation of T cells and, thus, the initial adaptive immune system. They are, however, also of utmost importance for activation of other cells, and a detailed understanding of the dynamics of these spatially localized Ca2+ signals is crucial for a better understanding of the underlying signaling processes. A typical approach to analyze Ca2+ microdomain dynamics is live cell fluorescence microscopy imaging. Experiments usually involve imaging a larger number of cells of different groups (for instance, wild type and knockout cells), followed by a time consuming image and data analysis. With DARTS, we present a modular Python pipeline for efficient Ca2+ microdomain analysis in live cell imaging data. DARTS (Deconvolution, Analysis, Registration, Tracking, and Shape normalization) provides state-of-the-art image postprocessing options like deep learning-based cell detection and tracking, spatio-temporal image deconvolution, and bleaching correction. An integrated automated Ca2+ microdomain detection offers direct access to global statistics like the number of microdomains for cell groups, corresponding signal intensity levels, and the temporal evolution of the measures. With a focus on bead stimulation experiments, DARTS provides a so-called dartboard projection analysis and visualization approach. A dartboard projection covers spatio-temporal normalization of the bead contact areas and cell shape normalization onto a circular template that enables aggregation of the spatiotemporal information of the microdomain detection results for the individual cells of the cell groups of interest. The dartboard visualization allows intuitive interpretation of the spatio-temporal microdomain dynamics at the group level. The application of DARTS is illustrated by three use cases in the context of the formation of initial Ca2+ microdomains after cell stimulation. DARTS is provided as an open-source solution and will be continuously extended upon the feedback of the community.

Code available at: 10.5281/zenodo.10459243.

1 Introduction

The activation of T cells, and thus the initial adaptive immune response, is mediated by an increase of the free cytosolic Ca2+ concentration. These signals are highly dynamic and spatially localized in the form of Ca2+ microdomains (1). There have been numerous studies investigating the molecular mechanisms and the role of Ca2+ signaling in early T cell activation in primary murine T cells (26) as well as Jurkat cells (2, 7). The studies show that the second messenger nicotinic acid adenine dinucleotide phosphate (NAADP), its binding protein named hematological and neurological expressed 1–like protein (HN1L) [also known as Jupiter microtubule-associated homolog 2 (JPT2)], and the type 1 ryanodine receptor (RyR1) are involved in the formation of subplasmalemmal Ca2+ signals that occur in the first seconds after T cell stimulation (7). Another essential component of the innate immune system are natural killer (NK) cells that contribute to the control of intracellular pathogens and cancer cells through direct cytotoxicity and the release of cytokines. To name a recent example, the NK cell status correlates with a decline in viral load in COVID-19 and thus can control SARS-CoV-2 replication by recognizing infected target cells (8). It has been shown that educated human NK cells have increased global Ca2+ signals compared to uneducated human NK cells following antibody stimulation (9). Similar to T cells, it is assumed that localized Ca2+ signals also arise after NK cell activation, but these Ca2+ microdomains have not been visualized so far. In line, in both cell types (and not only them), many questions about the molecular mechanisms behind the activation and signaling response are unsolved, and a better understanding of Ca2+ microdomain formation and dispersion is indispensable.

Fluorescence microscopy, and in particular live cell imaging, is an invaluable tool to study Ca2+ microdomains. As the relevant time frame is in the very early seconds after stimulation, high spatial and temporal resolution is crucial to obtain meaningful results. Even state-of-the-art imaging setups, however, encounter severe biological and physical constraints. Phototoxicity and photobleaching demand low photon doses, which, combined with out-of-focus light, lead to an intrinsically low signal-to-noise ratio (SNR). In addition, there is a trade-off between exposure times and imaging speed. Computational restoration of the acquired images, that is, a reduction of the noise level and correction for out-of-focus light, therefore has the potential to increase the SNR and to improve the analysis of Ca2+ microdomains in high-resolution live cell imaging data (1013).

However, even when using computational image restoration approaches and deconvolution techniques, a key challenge remains for the comprehensive analysis of Ca2+ microdomains in live cell imaging data: It requires consistent and reliable, ideally automated, localization and quantification of Ca2+ microdomains across large ensembles of cells that often exhibit significant morphological changes between different cells and even within the same cell over time.

To address this challenge, in the present work, the modular pipeline DARTS (Deconvolution, Analysis, Registration, Tracking, and Shape normalization) for Ca2+ microdomain analysis in live cell fluorescence microscopy imaging data is introduced. The pipeline tackles imaging-related issues by providing problem-tailored image postprocessing routines (for instance, denoising and deconvolution, bleaching correction). Adapting a shape normalization technique introduced in (14), DARTS is able to compensate for morphological cell shape changes typically observed in the given application context. Moreover, DARTS offers automated detection of the microdomains in the live cell imaging data, the aggregation of the analysis results across cell ensembles, and intuitive dartboard visualization of the aggregated analysis results.

The individual DARTS parts and modules are explained in the following Method section. The Results section illustrates the use of DARTS with three application examples:

● The first use case illustrates the application of DARTS to the analysis of Ca2+ microdomains after stimulation of primary murine T cells, focusing on the comparison of wild type (WT) and RyR1 and RyR3 knockout (KO) cells (3).

● The second use case is based on a set of Jurkat T cells, in which the NAADP-binding protein HN1L/JPT2 is genetically deleted, resulting in a reduced formation of Ca2+ microdomains upon activation (7).

● As the third use case, DARTS is applied to the analysis of an NK cell line (KHYG-1) to illustrate that Ca2+ microdomains indeed arise after the activation of NK cells.

2 Methods

DARTS is implemented using an object-oriented approach in Python 3 and follows the open-source idea. The code as well as the software are provided under the most flexible license model (Apache 2.0 license). DARTS was tested for different operating systems (Windows, MacOS, Linux). The source code and a corresponding documentation can be found at github.com/ipmi-icns-uke/DARTS and ipmi-icns-uke.github.io/DARTS.

DARTS is intended both as a complete solution that can automatically process and analyze large volumes of cellular data “overnight” and as a toolkit from which individual modules can be selected, applied, and modified as needed. The intended and expected users are experimentalists with little or no programming experience. To support users without programming experience, a graphical user interface (GUI) is developed to help with parameter input. DARTS supports all common image input and output formats by integration of the Bio-Formats library (15).

The general DARTS pipeline is illustrated in Figure 1 and can be roughly divided into three main parts: live cell microscopy imaging data postprocessing; cell shape normalization; and Ca2+ microdomain detection and visualization.

Figure 1
www.frontiersin.org

Figure 1 Schematic representation of the DARTS pipeline and its modules. The pipeline consists of three main parts: general image postprocessing; cell shape normalization; and Ca2+ microdomain detection, aggregation and visualization.

2.1 DARTS image postprocessing modules

DARTS offers four image postprocessing modules: general image setup; cell detection and tracking; bleaching correction; and image denoising/deconvolution.

2.1.1 General image setup: channel registration, ratio image computation, background subtraction

Input: temporal image sequence(s)

Output: temporal image sequence(s), same size as input sequences

Ratiometric imaging is a standard technique in fluorescence microscopy for imaging intracellular calcium signals. Depending on the imaging setup, the images obtained for the two calcium indicators are provided as imaging data of two often imperfectly aligned channels. As a default first processing step for ratiometric imaging, DARTS improves the alignment by an intensity-based affine registration of the images of the two channels, making use of the SimpleElastix library of the SimpleITK image analysis toolkit (16). Depending on the user’s preference, only the channel images of the first frame are registered and the resulting transformation is applied to all frames of the acquired time series data (time efficient solution, default) or all frames of the time series are individually registered and aligned (accurate alignment). Based on the aligned channel data, the desired ratio image is calculated (details vary, depending on the used calcium indicators) and, if desired, lower and upper thresholds are introduced to restrict the ratio image intensity values to the ratio value range of interest. Moreover, background subtraction can be applied to compensate for background fluorescence.

2.1.2 Cell detection and tracking

Input: temporal image sequence, usually containing multiple cells

Output: temporal image sequence(s), each representing a region-of-interest containing a centered single cell

To allow analysis of Ca2+ microdomains at the single cell level and speed up subsequent analysis, DARTS performs automated detection and tracking of cells in the input live cell imaging sequence. The cells are identified in the individual frames of the input using the StarDist algorithm (17), a state-of-the-art algorithm that utilizes deep learning techniques to detect and segment cells in microscopy data. The result is a cell instance segmentation of the input image series at the frame level (cell representation: binary map, polyline of cell boundary). The detected individual cells are further tracked across time using the trackpy toolkit (18) in order to correctly position the regions of interest (ROI) and only retain the frames in which the cell is visible. For each cell that is successfully tracked (visible in a pre-defined number of frames, no large positional changes between consecutive frames), a new image time series is generated representing a rectangular region of interest (ROI) with the cell centered within the ROI, thus compensating translational movements of the cell.

2.1.3 Bleaching correction

Input: temporal image sequence

Output: temporal image sequence, same size as image sequence

Calcium indicators often exhibit a relevant decrease of fluorescence intensity over time, commonly referred to as bleaching. DARTS provides an additive and a multiplicative bleaching correction that results in a frame-by-frame normalization of the mean cell pixel intensity to a constant value, and a biexponential fit-based additive correction (19). For ratiometric imaging, bleaching correction can be applied separately to the individual channel data.

2.1.4 Image denoising/deconvolution

Input: temporal image sequence

Output: temporal image sequence, same size as image sequence

For reduction of out-of-focus light and image noise, two algorithms are provided: the standard Lucy-Richardson (LR) algorithm (20, 21) and the in-house developed time-dependent entropy (TDE) deconvolution (12). TDE can also be used as a re-implementation of the entropy-based image restoration approach by Arigovindan et al. (22), which specifically addresses the restoration of fluorescence signals in microscopy images with low signal-to-noise ratio (SNR). TDE extends the idea to time-series data, employing temporal consistency of signals over time as opposed to temporally independent noise patterns, and is particularly suited for live cell imaging data with low SNR, for instance due to short exposure times and high temporal resolution. For image data with reasonable SNR, however, the faster and parameter-free (excepting specification of the PSF) LR algorithm might be the more efficient choice.

2.2 DARTS shape normalization

Input: temporal image sequence, representing a ROI containing a centered single-cell

Output: temporal image sequence, representing a ROI containing the shape-normalized cell

Ca2+ microdomain analysis at a population level requires a spatially consistent evaluation of intracellular Ca2+ dynamics at the level of the individual cells of the population (for example, a consistent analysis of only the assembly of localized Ca2+ signals close to the contact point of a cell-activating bead). This is, depending on the variation in shape between different cells and also the degree of cell distortion over time, not always an easy task, because the relative position of intracellular signals, for instance with regard to the plasma membrane or the bead contact point, cannot always be directly described in a similar way for all cells and video frames. DARTS follows an approach introduced in (11): to map the individual cells to a common coordinate system and template of circular shape, respectively. For nearly circular cells like primary murine T cells, this step involves only a translation and scaling step. For other cells, the required transformation is more complex. DARTS adapts and modifies a shape normalization approach presented in (14). For each frame of the input image sequence (assumed to represent a ROI that contains a single cell to be analyzed), the coordinate system is converted from Cartesian to polar coordinates, (x, y) → (r, θ), where r is the radius and θ the polar angle. The centroid of the cell serves as the origin of the polar coordinate system. The coordinates of the cell border (ro, θ)i=1,…,N, for instance, computed by the DARTS cell detection and tracking module, are then mapped onto a circle with a radius determined by the mean radius value of the outline rav = ∑i=1,…,N ro,i/N, scaled by a constant factor. This corresponds to a coordinate transformation (ro, θ) → (ro’, θ) = T(ro, θ), with T being the transformation. To apply this transformation to the entire space of the considered ROI image, the transformation is interpolated using the nearest neighbor method and the inverse T-1(r', θ) = (r, θ) is used to obtain the pixel intensity values of the transformed image J(r', θ) from the corresponding locations in the source image I(r, θ).

2.3 DARTS Ca2+ microdomain analysis and dartboard projection

Input: temporal image sequences, each representing a ROI containing a centered single-cell

Output: analysis results at the single cell and the cell population level (text or Excel format)

The Ca2+ microdomain module workflow consists of two parts: frame-by-frame identification of the microdomains at the single-cell level and aggregation of the results for a cell population using a so-called dartboard projection.

Ca2+ microdomains are spatially localized areas of high Ca2+ concentration inside a cell. In DARTS, they are defined at a frame level and as small, connected sets of cell pixels with relative intensity values (normalized by the mean intensity of the cell pixels of the frame) above a predefined threshold. Both an appropriate definition of the size of pixel sets as well as the intensity threshold depends on the imaging setup (spatial and temporal microscopy resolution) and the applied postprocessing routines (for instance, deconvolution methods and additional image filters). It has to be carefully selected by the user, ideally combined with a comprehensive noise analysis of the setup. DARTS default values are chosen in agreement with (11). The single-cell microdomain analysis results (for instance the localization of the microdomains in each frame) can be exported as tables for further external signal analysis.

The dartboard projection analysis aims to aggregate and visualize the single-cell Ca2+ microdomain analysis results, in particular for the scenario of cell activation with a stimulatory bead. First, for each cell, the bead contact time and position relative to the center of the cell on a clock scale (1-12) needs to be defined by the user. DARTS provides a GUI for this step, where position and time point for each bead contact can be selected. To facilitate batch processing of larger data sets, the bead contact selection process is launched for all selected files before further postprocessing starts; all remaining processing steps are then fully automated and can be run “overnight”. Alternatively to the GUI-based bead contact selection, user input can be completely removed by providing a text file with the required information, for example generated by a previous run of the DARTS bead contact selection. To analyze and compare the microdomain locations and their appearance times relative to the contact within the different cells, the shape-normalized cells (output of the shape normalization module) are rotated such that the bead contact points of the cells are spatially aligned and temporally shifted such that the bead contacts are also temporally aligned. The structure of the dartboard is illustrated in Figure 1. The middle of the dartboard is defined as the frame-specific centroid coordinates of a shape-normalized cell image, and the outer border of the dartboard is aligned with the cell border. The identified Ca2+ microdomains are assigned to the different dartboard areas, depending on their angle relative to the bead contact position and the relative distance to the board center. The granularity of the dartboard analysis, that is, the number of dartboard rings and segments as well as the length of time periods used to aggregate the signals can be selected by the user, depending on the intended analysis scenario and cell lines. The radii of the rings of the dartboard decrease from inner to outer to ensure intuitive interpretation of the final results, that is, Ca2+ microdomain frequency within cell areas of identical size. To ensure comparability of all dartboard segments, results within a segment are normalized with respect to the individual segment area, thus compensating for the larger dartboard center (“bullseye”).

In principle, an averaging of the mere pixel intensities across the different cells of the considered cell set would also be possible after shape normalization. However, this would result in an unintended bias in the case of a global Ca2+ signal increase. In addition, the aggregation of local Ca2+ signals within larger spatial areas (the dartboard segments) allows a quick overview of the spatio-temporal distribution of Ca2+ microdomains even for medium-sized cell sets and an easy visual comparison of different data sets.

3 Results

The following application examples demonstrate the application of DARTS for three different cell types and lines.

3.1 Role of RYR1 and RYR3 in activation of primary murine T cells

The first application example corresponded to the Ca2+ microdomain analysis described in (3). It was based on primary murine WT and knockout CD4+ T cells. From the biological perspective, the imaging experiments were performed to investigate the role of type 1 ryanodine receptors 1 and 3 (RYR1, RYR3) in the formation of initial Ca2+ microdomains upon T cell stimulation. From a technical point of view, the application and imaging data were selected to illustrate the validity of the proposed DARTS pipeline in terms of reproducing the published observations and effects, despite the completely new implementation of the analysis parts compared to (11). In particular, primary murine T cells have a circular shape in the imaging data. Therefore, this example focused on the general workflow and not on specifics and potential problems encountered during shape normalization.

3.1.1 Data set description

Primary murine CD4+ WT T cells as well as Ryr1-/- (2) and Ryr3-/- (23) on C57BL/6 J background (Mus musculus) were freshly isolated by negative selection using the EasySep Mouse CD4+ T Cell Enrichment Kit (STEMCELL Technologies Inc.). Image data were acquired by ratiometric Ca2+ imaging. Therefore, the freshly isolated T cells were loaded with Fluo4-AM (10 µM) and Fura Red-AM (20 µM) for 50 min at room temperature. The T cells were stimulated with protein G beads (Merck Millipore), coated with antibodies against CD3 and CD28 to mimic an immune synapse. Imaging was carried out with a Leica IRBE2 microscope using 100-fold magnification, a Sutter DG-4 as a light source and an electron-multiplying charge-coupled device (EMCCD) camera (Hamamatsu). Temporal resolution was 25 ms (40 frames/s) in 14-bit mode with twofold binning resulting in a spatial resolution of 368 nm. The emission wavelengths were split with a Dual-View module (Optical Insights, PerkinElmer Inc.) and the following filters were applied for the acquisition of initial Ca2+ microdomains (excitation (ex), 480/40; beam splitter (bs), 495; emission 1 (em1) 1, 542/50; em2, 650/57).

3.1.2 Illustration of DARTS application

Since the data was acquired within a ratiometric imaging setup, all DARTS postprocessing modules were applied: channel registration, background subtraction, cell detection and tracking, deconvolution, bleaching correction, and ratio computation. Deconvolution was performed separately for the two-channel data using LR deconvolution, to be consistent with the procedure in (3). Since bleaching of Fluo4 was negligible, the bleaching correction was only applied to the Fura Red-channel data. Being interested in only Ca2+ microdomains, an additive correction was applied that normalizes the mean Fura Red intensity inside the cells for each frame to a constant value.

Following the application of the postprocessing modules, the ratio image series underwent the implemented shape normalization. Since primary T cells inherently exhibit a relatively circular shape, the shape-normalized ratio images closely resembled the original input ratio images and the original signal distribution (Figure 2A).

Figure 2
www.frontiersin.org

Figure 2 Application of DARTS to Ca2+ microdomain analysis in primary WT and Ryr1-/- and Ryr3-/- murine T cells. (A) Ca2+ signals in an exemplary WT T cell (top) and a Ryr1-/- T cell (bottom) upon the first seconds after bead contact. For both cells, the upper row shows the original and the lower row the shape-normalized cell representation. (B, C) Percentage of activated cells and number of Ca2+ microdomains within the first 15 s after bead stimulation; comparison for WT and Ryr1-/- and WT and Ryr3-/-, respectively. Data are presented as means ± SEM (WT, n = 66 cells, Ryr1-/-, n = 31 cells; WT, n = 13 cells, Ryr3-/-, n = 19 cells; statistical testing by Mann-Whitney-U-test, *p<0.05). (D) Number of Ca2+ microdomains as a function of time for WT (averaged across n = 66 cells) and Ryr1-/- cells (n = 31 cells; two-tailed Mann-Whitney-U-test, ****p<0.0001. (E) Dartboard projection plots of the WT cells in comparison to Ryr1-/- as well as WT in comparison to Ryr3-/-, showing the number of microdomains per second and dartboard segment area unit, averaged over the intervals 0-5 s, 5-10 s, and 10-15 s after bead contact and the same cells used for the global analysis shown in (B, C). Bead contact location and time were aligned for all cells.

The results of the subsequent Ca2+ microdomain analysis are summarized in Figures 2B–E. The threshold for the detection of Ca2+ microdomains was based on a comprehensive noise analysis (3). Focusing on microdomain formation after the bead contact, analysis was performed for all frames from 1 second before and up to 15 seconds after bead contact.

The evaluation of the detected microdomains already allowed computation of global statistics such as the fraction of activated cells (cells that show microdomains from the bead contact on) and the number of signals per frame for each cell (Figures 2B, C). This information can be exported from DARTS to Excel or text format for subsequent detailed analysis in external programs. From the biological perspective, the global statistics revealed a significant difference between the number of microdomains per frame for the WT and the Ryr1-/- cells after bead contact (Figure 2B). The corresponding evaluation, but time-resolved and only for the period from 1 second before to 1 second after bead contact, is shown in Figure 2D. In contrast, no significant differences of the averaged number of signals between WT and Ryr3-/- cells for the present dataset was detected. The findings are consistent with the results in (3), illustrating that DARTS was able to reproduce the previous analysis results. Since it is a completely new and extended open-source implementation of the previous proprietary Matlab analysis workflow, perfect quantitative agreement is not expected. The new workflow now includes additional analysis steps like shape normalization to allow application to other use cases.

The dartboard projections are shown in Figure 2E; related dartboard information can also be exported from DARTS for subsequent analysis or visualization in external programs. Here, three dartboards for five-second intervals (0-5 s, 5-10 s, 10-15 s after bead contact) were generated. Representing the average number of hotspots per area unit and second, the dartboards exhibited a clear visual difference between WT and Ryr1-/- cells in the three time intervals. The Ryr1-/- cells barely showed any signals, especially close to the bead contact site, while the Ca2+ microdomain density in the WT cells was elevated in particular close to and directly after bead contact. In contrast, the patterns for WT and Ryr3-/- were similar, with a relatively high microdomain density close to the bead contact site, demonstrating that the detected Ca2+ signals that were summarized in the diagram in Figure 2C were indeed related to the bead stimulation of the cells. This information, not shown in (3), illustrates the additional value of spatially and temporally local analysis and information provided by the dartboard projections.

3.2 Human Jurkat cells: WT vs. Hn1l/Jpt2 knockout

Continuing with the formation of initial Ca2+ microdomains in T cells, it has been reported that RYR1 is activated by nicotinic acid adenine dinucleotide phosphate (NAADP) (24). In (7), hematological and neurological expressed 1–like protein (HN1L), also known as Jupiter microtubule-associated homolog 2 (JPT2), was identified as a NAADP-binding protein. The conclusions drawn in (7) were (at least partly) based on initial Ca2+ microdomain analysis in Jurkat T cells. Compared to the primary murine T cells in section 3.1, Jurkat T cells exhibited considerable shape variation and deformation over time. Therefore, a direct application of a dartboard projection was not possible, and only global Ca2+ microdomains statistics (for instance, average number of signals for the entire cells) for WT and Hn1l/Jpt2-/- cells were presented in (7). Now, the DARTS workflow was applied to corresponding human Jurkat T cells to demonstrate that the shape normalization integrated in DARTS enables local spatiotemporal Ca2+ microdomain analysis even for cells with more complex shape and shape changes over time.

3.2.1 Data set description

WT Jurkat T cells and Hn1l/Jpt2-/- Jurkat T cells (clone C2) were loaded with Fluo4-AM (10 µM) and Fura Red-AM (20 µM) for ratiometric single-cell Ca2+ imaging. The cells were stimulated with protein G beads (Merck Millipore) coated with antibodies against the T cell receptor CD3 (OKT-3) to mimic an immune synapse. Acquisition set-up for initial Ca2+ microdomains in Jurkat T cells was identical as described in section 3.1.

3.2.2 Illustration of DARTS application

The data processing pipeline used to analyze the Jurkat T cell data set was identical to the workflow described for the primary T cells in section 1. The analysis results are shown in Figure 3. Figure 3A illustrates the successful application of the shape normalization to the ratio images for both WT and C2 cells. The distribution of the visible Ca2+ signals and signal patterns inside the cells was preserved after normalization, and the microdomain size and morphology differed in accordance with the deformation of the cells and their local deviation from an optimal circle before shape normalization.

Figure 3
www.frontiersin.org

Figure 3 Ca2+ microdomain and dartboard analysis in Jurkat T cells. (A) Ca2+ signals in a WT Jurkat cell (top) and a Hn1l/Jpt2-/- (C2 clone) Jurkat cell (bottom) within the first seconds after stimulatory bead contact. For both cells, the upper row shows the original and the lower row the shape-normalized cell representation. (B) Global statistical analysis: percentage of activated cells and number of Ca2+ microdomains within the first 15s after bead stimulation. Data are presented similarly to Figure 2 (means ± SEM; WT, n = 24 cells; C2, n = 33 cells). Statistical testing by two-tailed Mann-Whitney-U-test, *p<0.05. (C) Number of signals as a function of time for WT and C2 Jurkat T cells, averaged across the 24 WT and the 33 C2 clone data. Statistical testing by two-tailed Mann-Whitney-U-test, ****p<0.0001. (D, E) Dartboard projection plots for the WT (top) and C2 clone cell sets [bottom; same cells as used for (B) and (D)], showing the location and frequency Ca2+ microdomains within the first 5 seconds after bead contact (D) and at a refined time scale [(E); moving average computation with a 1s interval].

The global Ca2+ microdomain statistics shown in Figures 3B, C agree with the corresponding results in (7): The average number of signals after bead contact was significantly higher in the WT cells compared to the C2 cells. In addition, for the WT cells, a peak of the Ca2+ microdomain number can be seen at around 4 to 5 s after bead contact (Figure 3C). Different from the data shown by Roggenkamp et al., the present analysis was based on the shape-normalized ratio images, supporting that the shape normalization does not negatively affect Ca2+ microdomain representation and detection.

However, the shape normalization enabled dartboard projections and, therefore, the analysis of local spatiotemporal Ca2+ signal distributions in the considered cell groups. In Figure 3D, the detected Ca2+ microdomains were aggregated over the first 5 seconds after bead contact. For the knockout cells, the dartboard showed that the detected signals were not located close to the bead contact area. For the WT cells, two main compartments were visible: Ca2+ microdomains in the dartboard regions close to the bead contact and microdomains in and near the dartboard bullseye, that is, in the cell centers. Increasing the temporal resolution of the dartboard projections, as shown in Figure 3E, finally illustrated for the WT cells that the microdomains close to the bead contact were primarily identified directly after bead contact, while the microdomains in the cell centers correlated to the described peak around 4-5 s in Figure 3C. For the knockout cells, no such observations were made.

3.3 Human NK cells: time-dependent study of signal

The examples in sections 3.1 and 3.2 focused on Ca2+ microdomain formation in T cells. However, Ca2+ microdomain formation is also relevant in other cell types and contexts, and the application of DARTS is not restricted to T cells. In this third application example, DARTS was applied to Ca2+ microdomain analysis in NK cells, a cell type, for which such localized Ca2+ signals have not been visualized and comprehensively analyzed so far.

3.3.1 Data set description

KHYG-1 cells, a human NK cell line, were loaded with Fluo4-AM (10 µM) and Fura Red-AM (20 µM) for ratiometric single-cell Ca2+ imaging. KHYG-1 cells were stimulated with protein G beads (Merck Millipore), coated with a combination of antibodies (anti-NKp46 and anti-2B4) for a localized activation. The imaging set-up was identical to the setup described in section 3.1.

3.3.2 Illustration of DARTS application

The analysis workflow applied to the KHYG-1 cells was the same as the one used for the Jurkat T cells. As visible for the NK cell shown in the top row of Figure 4, aggregation of localized Ca2+ signals in a NK cell set for subsequent dartboard projections required shape normalization for the cells. The central scientific questions in the present analysis scenario were: Is it possible to visualize initial Ca2+ microdomains in NK cells stimulated with antibody-coated beads? If so, can the Ca2+ microdomains be spatially and temporally associated with the stimulating bead contact?

Figure 4
www.frontiersin.org

Figure 4 Application of DARTS to KHYG-1 cells. (A) Ca2+ signals in two exemplary KHYG-1 cells within the first seconds after stimulatory bead contact (top: original cell representation; bottom: shape-normalized cell representation). (B) Number of Ca2+ microdomains as a function of time for a dartboard area near the bead contact (black), opposite the bead contact (red), and the cell center (dartboard bullseye), averaged across n=7 cells. Statistical testing by two-tailed Mann-Whitney-U-test, ***p<0.001. (C) The corresponding average number of selected Ca2+ microdomains. Statistical testing by two-tailed Mann-Whitney-U-test, *p<0.05. (D) Dartboard projection plots, averaged over the n=7 cells and different time frames.

To answer the first question, global microdomain statistics would have been sufficient. However, the dartboard projection provides the means to simultaneously answer both questions. Here, a microdomain analysis was performed in three dartboard areas: (1) close to the bead contact site, (2) for the bullseye, and (3) for the opposite side of the bead contact site (Figure 4B). The analysis results summarized in Figure 4C show that not only Ca2+ microdomains were detected in the NK cells, but that these were mainly located close to the bead contact. Figure 4B further illustrates that the detected bullseye microdomains arose later, approximately 10 s after bead contact. Figure 4D provides the corresponding comprehensive dartboard projections, further strengthening the observations shown in Figures 4C, B.

Thus, both scientific questions could be answered with yes. Here, the dartboard projections could be used to define inner-cell control areas to demonstrate that the initial Ca2+ dynamics can be directly associated with the bead contact.

4 Discussion

In the present work, we introduced DARTS, an open-source Python pipeline to process fluorescence microscopy live cell imaging data with the specific focus on the analysis of Ca2+ microdomains. DARTS integrates state-of-the-art deep learning methods for cell detection and segmentation and provides cell shape normalization and a so-called dartboard projection to facilitate intuitive visualization and comparison of Ca2+ microdomain dynamics within and across different cell data sets.

The application of DARTS was demonstrated by means of three examples. The examples illustrate that the dartboard analysis and visualization enables aggregation of locally resolved information that helps to compare and understand the spatio-temporal Ca2+ dynamics at different time points and intervals post-bead stimulation for different cell groups. This, in turn, is essential for a better understanding of the underlying cellular processes. Residual quantitative differences in, for instance, the number of hotspots compared to the corresponding quantitative results in (3, 7) are due to implementation differences of post-processing modules, such as an altered order of the deconvolution and bleaching correction and changes of the deconvolution implementation. Moreover, the shape normalization is expected to change the results of the hotspot detection slightly, depending on the deviation from a perfect circle. However, these low-level differences were negligible for the application examples, demonstrating the robustness of the implemented methods.

As shown in the application examples, the primary use case of DARTS is to analyze Ca2+ microdomain dynamics for groups of bead-activated cells. However, it can also be used to define intra-cellular control areas, for instance to answer the question if observed Ca2+ dynamics are more pronounced near the bead contact than farther away (cf. application example 3). Thus, the DARTS analysis options provide a more holistic view than the related usual global measures.

Despite its current application focus, different DARTS modules and analysis options are expected to be of interest for different experiments and analysis scenarios. Potential use cases are, for instance, a microdomain analysis for different cell activation approaches like microinjection. General methodical aspects of DARTS like the provided deconvolution approaches and the shape normalization can also be applied to live cell imaging data acquired in an entirely different experimental setting. The application is not limited to immune cells alone, other cell types such as neurons are also expected to work with the framework. For the shape normalization, however, a minimal convexity/circularity is required. Similarly, the trigger of the Ca2+ release does not need to be a bead contact. The postprocessing and analysis steps can also be used without bead contact definition.

DARTS will be continuously extended. Current developments comprise the autodetection of bead contacts, adapting state-of-the-art machine learning-based methods like in (25), as well as integration of further deconvolution and denoising approaches. Moreover, options for autodetection of rare shape normalization failures (see Figure 5 for examples) will also be incorporated. In each case: Since DARTS is provided as an open-source solution, the next implementation steps and extensions will also depend on and be aligned with the needs of the community. Feedback and suggestions to optimize the DARTS pipeline and its modules are very much welcome.

Figure 5
www.frontiersin.org

Figure 5 Limitations of the DARTS pipeline. Examples of failed processing: (A) frayed cell edges and (B) “vanishing” cell, both due to erroneous threshold-based background subtraction; (C) failed cell shape normalization for a cell that was not entirely within the region of interest to be processed.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author contributions

LW: Conceptualization, Formal analysis, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. DK: Formal analysis, Investigation, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. HH: Formal analysis, Software, Writing – review & editing. FF: Software, Writing – review & editing. FG: Formal analysis, Investigation, Writing – review & editing. FM: Formal analysis, Investigation, Writing – review & editing. MA: Funding acquisition, Writing – review & editing. AG: Funding acquisition, Writing – review & editing. BD: Data curation, Formal analysis, Funding acquisition, Project administration, Supervision, Validation, Writing – review & editing. RW: Conceptualization, Funding acquisition, Project administration, Supervision, Validation, Writing – review & editing.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was supported by the Deutsche Forschungsgemeinschaft (DFG) (project number 335447717; SFB1328, A01 to AHG, A02 to B-PD and RW; project number 516286863 to B-PD and MA). We acknowledge financial support from the Open Access Publication Fund of UKE (Universitätsklinikum Hamburg-Eppendorf) and the DFG.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

The reviewer GD declared a past co-authorship with one of the authors B-PD, AG to the handling editor.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Guse AH, Gil Montoya DC, Diercks B-P. Mechanisms and functions of calcium microdomains produced by ORAI channels, d-myo-inositol 1,4,5-trisphosphate receptors, or ryanodine receptors. Pharmacol Ther (2021) 223:107804. doi: 10.1016/j.pharmthera.2021.107804

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Wolf IMA, Diercks B-P, Gattkowski E, Czarniak F, Kempski J, Werner R, et al. Frontrunners of T cell activation: Initial, localized Ca2+ signals mediated by NAADP and the type 1 ryanodine receptor. Sci Signal (2015) 8:ra102–2. doi: 10.1126/scisignal.aab0863

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Diercks B-P, Werner R, Weidemüller P, Czarniak F, Hernandez L, Lehmann C, et al. ORAI1, STIM1/2, and RYR1 shape subsecond Ca2+ microdomains upon T cell activation. Sci Signal (2018) 11:eaat0358. doi: 10.1126/scisignal.aat0358

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Trebak M, Kinet J-P. Calcium signalling in T cells. Nat Rev Immunol (2019) 19:154–69. doi: 10.1038/s41577-018-0110-7

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Brock VJ, Wolf IMA, Er-Lukowiak M, Lory N, Stähler T, Woelk L-M, et al. P2X4 and P2X7 are essential players in basal T cell activity and Ca2+ signaling milliseconds after T cell activation. Sci Adv (2022) 8:eabl9770. doi: 10.1126/sciadv.abl9770

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Weiß M, Hernandez LC, Gil Montoya DC, Löhndorf A, Krüger A, Kopdag M, et al. Adhesion to laminin-1 and collagen IV induces the formation of Ca2+ microdomains that sensitize mouse T cells for activation. Sci Signal (2023) 16:eabn9405. doi: 10.1126/scisignal.abn9405

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Roggenkamp HG, Khansahib I, Hernandez C. LC, Zhang Y, Lodygin D, Krüger A, et al. HN1L/JPT2: A signaling protein that connects NAADP generation to Ca2+ microdomain formation. Sci Signal (2021) 14:eabd5647. doi: 10.1126/scisignal.abd5647

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Witkowski M, Tizian C, Ferreira-Gomes M, Niemeyer D, Jones TC, Heinrich F, et al. Untimely TGFβ responses in COVID-19 limit antiviral functions of NK cells. Nature (2021) 600:295–301. doi: 10.1038/s41586-021-04142-6

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Highton AJ, Diercks B-P, Möckl F, Martrus G, Sauter J, Schmidt AH, et al. High metabolic function and resilience of NKG2A-educated NK cells. Front Immunol (2020) 11. doi: 10.3389/fimmu.2020.559576

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Huang X, Fan J, Li L, Liu H, Wu R, Wu Y, et al. Fast, long-term, super-resolution imaging with Hessian structured illumination microscopy. Nat Biotechnol (2018) 36:451–9. doi: 10.1038/nbt.4115

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Diercks B-P, Werner R, Schetelig D, Wolf IMA, Guse AH. High-resolution calcium imaging method for local calcium signaling. In: Heizmann CW, editor. Calcium-Binding Proteins of the EF-Hand Superfamily, Methods in Molecular Biology. New York, NY: Springer New York (2019). p. 27–39. doi: 10.1007/978-1-4939-9030-6_3

CrossRef Full Text | Google Scholar

12. Woelk L-M, Kannabiran SA, Brock VJ, Gee CE, Lohr C, Guse AH, et al. Time-dependent image restoration of low-SNR live-cell Ca2 fluorescence microscopy data. Int J Mol Sci (2021) 22:11792. doi: 10.3390/ijms222111792

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Zhao W, Zhao S, Li L, Huang X, Xing S, Zhang Y, et al. Sparse deconvolution improves the resolution of live-cell super-resolution fluorescence microscopy | Nature Biotechnology. Nat Biotechnol (2022) 40:606–17. doi: 10.1038/s41587-021-01092-2

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Möhl C, Kirchgessner N, Schäfer C, Hoffmann B, Merkel R. Quantitative mapping of averaged focal adhesion dynamics in migrating cells by shape normalization. J Cell Sci (2012) 125:155–65. doi: 10.1242/jcs.090746

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Linkert M, Rueden CT, Allan C, Burel J-M, Moore W, Patterson A, et al. Metadata matters: access to image data in the real world. J Cell Biol (2010) 189:777–82. doi: 10.1083/jcb.201004104

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Lowekamp BC, Chen DT, Ibáñez L, Blezek D. The design of SimpleITK. Front Neuroinform (2013) 7:45. doi: 10.3389/fninf.2013.00045

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Schmidt U, Weigert M, Broaddus C, Myers G. Cell detection with star-convex polygons. In: Frangi AF, Schnabel JA, Davatzikos C, Alberola-López C, Fichtinger G, editors. Medical Image Computing and Computer Assisted Intervention – MICCAI 2018, Lecture Notes in Computer Science. Cham: Springer International Publishing (2018). p. 265–73. doi: 10.1007/978-3-030-00934-2_30

CrossRef Full Text | Google Scholar

18. Crocker JC, Grier DG. Methods of digital video microscopy for colloidal studies. J Colloid Interf Sci (1996) 179(1):298–310. doi: 10.1006/jcis.1996.0217

CrossRef Full Text | Google Scholar

19. Schetelig D, Wolf IMA, Diercks B-P, Fliegert R, Guse AH, Schlaefer A, et al. A modular framework for post-processing and analysis of fluorescence microscopy image sequences of subcellular calcium dynamics. In: Handels H, Deserno TM, Meinzer H-P, Tolxdorff T, editors. Bildverarbeitung Für Die Medizin 2015, Informatik Aktuell. Berlin, Heidelberg: Springer (2015). p. 401–6. doi: 10.1007/978-3-662-46224-9_69

CrossRef Full Text | Google Scholar

20. Richardson WH. Bayesian-based iterative method of image restoration*. J Opt Soc Am (1972) 62:55. doi: 10.1364/JOSA.62.000055

CrossRef Full Text | Google Scholar

21. Lucy LB. An iterative technique for the rectification of observed distributions. Astron J (1974) 79:745. doi: 10.1086/111605

CrossRef Full Text | Google Scholar

22. Arigovindan M, Fung JC, Elnatan D, Mennella V, Chan Y-HM, Pollard M, et al. High-resolution restoration of 3D structures from widefield images with extreme low signal-to-noise-ratio. Proc Natl Acad Sci (2013) 110:17344–9. doi: 10.1073/pnas.1315675110

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Takeshima H, Ikemoto T, Nishi M, Nishiyama N, Shimuta M, Sugitani Y, et al. Generation and characterization of mutant mice lacking ryanodine receptor type 3. J Biol Chem (1996) 271:19649–52. doi: 10.1074/jbc.271.33.19649

PubMed Abstract | CrossRef Full Text | Google Scholar

24. Langhorst MF, Schwarzmann N, Guse AH. Ca2+ release via ryanodine receptors and Ca2+ entry: major mechanisms in NAADP-mediated Ca2+ signaling in T-lymphocytes. Cell Signal (2004) 16:1283–9. doi: 10.1016/j.cellsig.2004.03.013

PubMed Abstract | CrossRef Full Text | Google Scholar

25. Hadaeghi F, Diercks B-P, Schetelig D, Damicelli F, Wolf IMA, Werner R. Spatio-temporal feature learning with reservoir computing for T-cell segmentation in live-cell Ca2+ fluorescence microscopy. Sci Rep (2021) 11:8233. doi: 10.1038/s41598-021-87607-y

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: intracellular signaling, Ca2+ microdomains, live cell imaging, image analysis, shape normalization, Python, open source

Citation: Woelk L-M, Kovacevic D, Husseini H, Förster F, Gerlach F, Möckl F, Altfeld M, Guse AH, Diercks B-P and Werner R (2024) DARTS: an open-source Python pipeline for Ca2+ microdomain analysis in live cell imaging data. Front. Immunol. 14:1299435. doi: 10.3389/fimmu.2023.1299435

Received: 22 September 2023; Accepted: 26 December 2023;
Published: 11 January 2024.

Edited by:

Eugenio Martinelli, University of Rome Tor Vergata, Italy

Reviewed by:

Geneviève Dupont, Université libre de Bruxelles, Belgium
Carola Ledderose, University of California, San Diego, United States

Copyright © 2024 Woelk, Kovacevic, Husseini, Förster, Gerlach, Möckl, Altfeld, Guse, Diercks and Werner. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: René Werner, r.werner@uke.de; Dejan Kovacevic, dejan.kovacevic@stud.uke.uni-hamburg.de

†These authors share first authorship

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.