Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Genetically encoded photo-switchable molecular sensors for optoacoustic and super-resolution imaging


Reversibly photo-switchable proteins are essential for many super-resolution fluorescence microscopic and optoacoustic imaging methods. However, they have yet to be used as sensors that measure the distribution of specific analytes at the nanoscale or in the tissues of live animals. Here we constructed the prototype of a photo-switchable Ca2+ sensor based on GCaMP5G that can be switched with 405/488-nm light and describe its molecular mechanisms at the structural level, including the importance of the interaction of the core barrel structure of the fluorescent protein with the Ca2+ receptor moiety. We demonstrate super-resolution imaging of Ca2+ concentration in cultured cells and optoacoustic Ca2+ imaging in implanted tumor cells in mice under controlled Ca2+ conditions. Finally, we show the generalizability of the concept by constructing examples of photo-switching maltose and dopamine sensors based on periplasmatic binding protein and G-protein-coupled receptor-based sensors.


Reversibly switchable fluorescent proteins (RSFPs) can be alternated between a fluorescent and nonfluorescent state by illumination with light of varying wavelength. RSFPs are key to several fluorescence super-resolution microscopy (SRM) schemes, such as RESOLFT1, which allows for unprecedented insights into the structures of cells at nanometer resolution2. Additionally, photo-switching can be exploited to improve the contrast-to-background ratio of an image by modulating the signals of labeled cells or subcellular structures, thereby enabling their separation from the nonmodulating background (locked-in detection). While this strategy is a niche application for fluorescence3,4,5,6,7, photo-switching becomes a critical contrast enhancement approach for optoacoustic (OA, also photo-acoustic) imaging to overcome background signals due to tissue absorption8,9,10,11,12,13. Suitable switchable labels can maximize the capabilities of OA imaging to allow in vivo tracking of small numbers of transgene-labeled cells deep within tissues (>10 mm). Photo-switching labels for OA are mainly based on Bacteriophytochromes, which are suited for deep-tissue imaging due to their near-infrared (NIR) absorbance14, whereas RSFPs for SRM are usually derived from the green fluorescent protein (GFP) family of labels.

In addition to labels, genetically encoded indicators (GEIs) or sensors are a second essential tool of life science imaging. GEIs are proteins in which the signal from a readout moiety is altered following binding of a receptor moiety to a target chemical. This mechanism allows for the use of GEIs in visualization of the dynamic chemical composition of cells and their surroundings, enabling sensing of small molecules, including metabolites and ions15 such as Ca2+ (refs. 16,17), or other cellular parameters, such as voltage18 or pH19. While current GEIs allow us to observe biological processes at the cellular level, there are currently few demonstrations of visualization at nanometer resolution—for example, of the stimulated emission depletion type with synthetic Ca2+-sensing dyes20 or a H2O2-sensing yellow fluorescent protein derivate21, as well as a protein kinase A sensor for stochastic SRM22. Total internal reflection imaging can achieve nanometer-scale resolution with Ca2+-GEIs, but is limited to events at the cell membrane due to the nature of the evanescent field23.

Likewise, high-resolution imaging of larger fields-of-view or whole animals using GEIs is limited. Imaging of GEIs with intravital microscopy affords limited volumes of view (~500 µm depth/1 × 1 mm2 field-of-view), while macroscopic fluorescence imaging offers only low resolution due to photon diffusion. GEIs of the Ca2+-sensing GCaMP type have been imaged using OA24; however, imaging was facilitated by the low background from blood absorption in brain tissue. In normal tissue, the use of GCaMPs in OA imaging would probably be hindered by the aforementioned background absorption, even for the recently introduced Ca2+-GEIs in the NIR25,26,27.

Augmention of GEIs with photo-switching capabilities (rsGEIs) would enable both the visualization of chemical distributions at the nanoscale using RESOLFT SRM concepts, as well as the sensing of molecules and ions in OA imaging of whole live animals, by overcoming tissue background absorption. In the present work we introduce the concept of rsGEIs (Fig. 1a). These sensors show photo-switching only when bound to the molecule of interest. In the nonbound state, similar to conventional sensors, rsGEIs show no signal and are not switchable.

Fig. 1: Concept and photophysical characterization of rsGCaMP1.1 and rsGCaMP1.4-ER.
figure 1

a, Concept (left) showing the dependence of photo-switching on ligand binding (Ca2+ in the case of rsGCaMPs). The engineering concept of rsGCaMPs is based on GCaMP architecture (right). Red dots symbolize regions of mutational screening, which eventually allowed photo-switching (bottom) in rsGCaMPs. US, ultrasound. b, Dependence of changes in absorption or fluorescence on Ca2+ concentration. Norm., normalized. ce, Change in absorption spectra of GCaMP5G (c) and rsGCaMP1.1 (d), and the fluorescence spectrum of rsGCaMP1.4-ER (e), as Ca2+ concentration increases from 0 to 750 µM. fh, 488- and 405-nm-dependent photo-switching in rsEGFP2 (f) and rsGCaMP1.1 (g) in the presence of 0 and 39 µM free Ca2+, and fluorescence of rsGCaMP1.4-ER (h) in the Ca2+-saturated (sat.; 750 µM total Ca2+) and free state (0 mM total Ca2+). i, Major rsGCaMP variants used in the key imaging experiments in this study. A full overview of all variants can be found in Extended Data Table 1b. All data were recorded in triplicate and are reported as mean and standard deviation. Error bars are omitted in the spectra for clarity. A side-by-side comparison of all binding curves, absorbance spectra and fluorescence spectra with errors can be found in Supplementary Figs. 13. Photo-switching was achieved using a 405/12.5- and a 490/26-nm light-emitting diode (LED), and a 5-mm cross-section liquid light guide delivering 1,528 and 270 mW cm–2, at 405 and 488 nm, respectively. a.u., arbitrary units.

Source data

We engineered a prototype rsGEI based on the conventional Ca2+ indicator GCaMP5G28 by coupling cis/trans photo-isomerization, which underlies the photo-switching, to Ca2+ binding. The choice was governed by the importance of Ca2+ visualization and the availability of rich structural and photophysical data on GCaMPs. We explore the molecular mechanisms of our prototype and demonstrate the use of rsGEIs for SRM, as well as conceptually for OA image enhancement. Lastly, we show that the approach of introducing reversible photo-switching is not limited to GCaMP-like molecules.


Protein engineering and characterization

Based on the conventional Ca2+ indicator GCaMP5G28 and study of RSFP rsEGFP2 (ref. 29), we inserted mutations surrounding the chromophore and in the linkers between rsEGFP2 and Calmodulin (Supporting Information 1 and Extended Data Table 1). Several iterations led to variant rsGCaMP1.1, which shows a Ca2+ response similar to GCaMP5G (Fig. 1b–d) but exhibits photochromism-based photo-switching in the Ca2+ bound form (Fig. 1g). This behavior is similar to green RSFPs such as Dronpas and rsEGFPs (Fig. 1f), with the 488-nm band readily photo-switchable. The variant rsGCaMP1.1 shows a poor fluorescent quantum yield (QY) of only 1.6%. Hence, we further introduced mutations in the region of the chromophore, resulting in variants with a molecular brightness of ~1/4 that of the well-used RSFP rsEGFP2 and of ~1/7 of GCaMP5G. Based on those variants, we further tuned Ca2+ affinity30,31 to enable measurements of Ca2+ distribution in the endoplasmic reticulum (ER). Variant rsGCaMP1.4-ER shows a QY of 9.2% and a dissociation constant (Kd) of 72 µM (Fig. 1b,e). Absorbance and fluorescence are readily photo-switchable at pH 7.0–8.0 and photo-switching shows a dependence on Ca2+ concentration, with the bulk switching kinetics being faster for higher Ca2+ concentrations (Fig. 1h and Supplementary Figs. 35). Excited-state lifetime measurements and global biexponential fitting of fluorescent switching at different Ca2+ concentrations suggest that at least two distinct species are involved in tailoring the Ca2+ response (Supplementary Fig. 6, Supporting Information 2 and Extended Data Figs. 1 and 2). Proteins behave as monomers in solution for all relevant Ca2+ concentrations (rsGCaMP1.4-ER; Supplementary Fig. 7) and can be readily expressed in mammalian cells showing Ca2+ responses and photo-switching (Exemplary for rsGCaMP1.1, rsGCaMP1.3 and rsGCaMP1.4-ER; Extended Data Fig. 3), including response to variations in Ca2+ concentration (thapsigargin treatment; Extended Data Fig. 3c,d).

Structural analysis of photo-switching in rsGCaMP

Towards gaining a better understanding of the molecular mechanism underlying the combination of Ca2+ susceptibility and photo-switching, we performed X-ray crystallography. While several variants of rsGCaMP crystallized as swapped dimers, as previously reported for GCaMPs32,33 (Supplementary Fig. 8 and Supplementary Table 1), the variant rsGCaMP1.1 crystalized as a monomer. The crystal was switchable following 488- and 405-nm illumination, suggesting preservation of native switching characteristics (Supplementary Fig. 9). We elucidated the structures of Ca2+-bound rsGCaMP1.1 at equilibrium and the 488-nm switched-off state to 2.15 and 2.90 Å, respectively (Supplementary Table 2). The fold resembles that of conventional GCaMPs (Fig. 2a), with 0.37- and 0.42-Å root mean square deviation from the nearest related structure, GCaMP3 (PDB ID: 4ik5) for ON and OFF states, respectively33. The chromophore shows a cis/trans isomerization between the ON and OFF state (Fig. 2b,c). In both states it lacks hydrogen bond interactions, except from the imidazolidone ring to R57 and E126 (all numbering GCaMP5G; 96 and 222, GFP numbering). This lack of stabilization may explain the exceptional speed of photo-switching and low photo-fatigue (Supplementary Figs. 4 and 16 and Extended Data Fig. 5a,e).

Fig. 2: Structural characterization of rsGCaMPs in the equilibrium and photo-switched-off states.
figure 2

a, Structural overview of rsGCaMP1.1. b,c, Surrounding chromophores in the ON (equilibrium (eq.) (b) and OFF state (c) after 10-s illumination with 488-nm light. Final 2FoFc electron density around the chromophores is contoured at the 1σ level. d, Chemical differences between HT and OBF. OBF requires only a flip over the τ-bond while HT involves both τ- and φ-bonds; this results in partial rearrangement of the methine bridge character. e, Chromophores of rsGCaMP1.1 in the ON and OFF states (left) showing the HT in comparison to the OBF mechanism of rsEGFP2 (right). f, Structural comparison of rsGCaMP and rsEGFP2 in their respective ON and OFF states indicates that a more compressed barrel might actively block the trans-position (known from rsEGFP2) in rsGCaMP1.1. g, Influence of mutations I71H and V107I on the stability of the ON-state chromophore in rsGCaMP1.2. h, Similar representation for rsGCaMP1.3, showing the impact of mutations I71F and V107T. Water network shown with numbers in italics.

Remarkably, the chromophore in rsGCaMP1.1 does not exhibit the one-bond flip (OBF) isomerization observed in the related rsEGFP2 and most other RSFPs, but rather a tight hula-twist (HT; Fig. 2d,e and Extended Data Fig. 4). The HT involves a rotation about both the τ- and φ-bond and a partial transfer of the double-bond character (i- to p-position; Fig. 2d). This is in contrast to the OBF, which is primarily a rotation about the τ-bond of the methine bridge, preserving the i-position of the double bond34,35. Hence the HT is energetically less favorable than the OBF, although largely preserves interactions of the chromophore with the surrounding side chains34,35. The HT is rare in RSFPs, and found only in asFP595, with a protein chain break next to the chromophore. Similar to studies on pure chromophores in solution35, the HT can be artificially generated in RSFPs by restricting the unit cell and consequently the β-barrel, as shown for rsEGFP2 (ref. 36) (Extended Data 4c and Supporting Information 3). It is likely that, in the case of Ca2+-bound rsGCaMP1.1, the adjacent Calmodulin-M13 moiety hinders the expansion of the β-barrel ('breathing')37, blocking the OBF and forcing the more volume-saving HT. This is corroborated by β-sheets 7, 8 and 10, which are moved inwards in rsGCaMP1.1 compared to rsEGFP2. The effect is most apparent with V54 of β-sheet 7 (V151 in rsEGFP2) that sterically blocks the position of the OBF-derived trans-chromophore of rsEGFP2 in rsGCaMP1.1 (Fig. 2f). Also V107 (T204 in rsEGFP2) is probably less mobile than in rsEGFP2 and thus not able to accommodate the positional intermediates necessary for the OBF in rsEGFP2 (ref. 38). A similar trans state was recently reported from the use of XFEL crystallography39 that is transiently (picoseconds) present in rsEGFP239 and may be trapped by the structural constraints introduced in rsGCaMPs. As such, the observed mechanism may point to more general characteristics of RSFPs, linking the environment to trappable intermediates with useful photophysics as shown here for rsGCaMPs.

We further mutated rsGCaMPs to increase brightness. The reason for the almost sixfold increase in brightness of rsGCaMP1.2 and rsGCaMP1.3 compared to rsGCaMP is apparent from their crystal structures (Fig. 2g,h), which show a I71H-enhanced water network and a direct effect of V107T in stabilization of the ON-state chromophore. This increase in ON-state stability alters the switching kinetics only slightly (Supplementary Fig. 4a and Extended Data Fig. 5a). For rsGCaMP1.2 we also elucidated the structure in the photo-switched state (Supplementary Fig. 10), which confirms the HT finding from rsGCaMP1.1. Overall this suggests that rsGCaMPs may be engineered using similar strategies as for RSFPs.

Proof-of-concept applications for SRM visualization of Ca2+

We evaluated the feasibility of performing SRM by exploiting the photo-switching capacities of rsGCaMP. Ca2+-loaded rsGCaMPs yielded an illumination-power-dependent switching comparable to rsEGFP2, but with less photo-fatigue (Extended Data Fig. 5a–e). Moreover, the dependence of photo-switching kinetics on Ca2+ concentrations described above was also visible under imaging conditions for SRM (Extended Data Fig. 5f–h). First, we explored the general possibility of using the Ca2+-dependent photo-switching effect to record Ca2+-dependent super-resolution images exploiting the RESOLFT principle. We applied MoNaLISA40,41 imaging on rsGCaMP1.4-ER conjugated to 1.5-µm lipid-coated beads (Fig. 3a and Supplementary Fig. 11). The resolution of MoNaLISA images was enhanced under high Ca2+ conditions, while the sensor was largely in its OFF-state under low-Ca2+ conditions, preventing imaging. Despite the still comparably low brightness, the observed resolution enhancement fell only slightly short of rsEGFP2 (125 ± 36 versus 105 ± 40 nm; Fig. 3b). As a next step we imaged rsGCaMP1.4-ER targeted to the ER (Fig. 3c and Extended Data Fig. 6). With an ER Ca2+ concentration of ~500 µM (refs. 30,42) and rsGCaMP1.4-ER showing Kd = 72 µM, we assume that a majority of sensor molecules are bound to Ca2+ and contributing to imaging (~90%). We observed clear resolution enhancement compared to enhanced confocal microscopy (Fig. 3d and Extended Data Fig. 6c). To confirm the validity of our imaging, we imaged immunostaining against rsGCaMP1.4-ER and similarly targeted rsEGFP2. Both showed comparable protein distribution within the lumen of the ER (Supplementary Fig. 12). Furthermore, imaging of rsGCaMP1.4-ER coregistered with the ER membrane did not indicate any perturbation of network structure (Sec61β-SNAP 647-SiR; Supplementary Fig. 13). Likewise rsGCaMP1.4-ER did not show a tendency for oligomerization (Supplementary Fig. 7), which could have perturbed imaging. However, it is also apparent that the still comparably low-photon budget of rsGCaMP1.4-ER leads to sparser MoNaLISA images (Extended Data Fig. 7 and Supporting Information 4). Given that, it is apparent from the beads experiment (Fig. 3a,b) and the controls that the imaging using rsGCaMP1.4-ER indeed reflects Ca2+ distribution in the ER at nanometer resolution. Furthermore, by coimaging of rsGCaMP1.4-ER and MitoTracker (Fig. 3e and Supplementary Fig. 14), we could show that coregistered imaging using rsGCaMPs and RESOLFT is generally possible. Time-resolved imaging (Fig. 3e) contained only minimal motion artifacts (Supplementary Fig. 15).

Fig. 3: Fluorescence super-resolution microscopy of rsGCaMP1.4-ER.
figure 3

a, Comparison between zero and saturating free Ca2+ for rsGCaMP1.4-ER and rsEGFP2 linked to bead-supported lipid bilayers. Confocal images are displayed with the same intensity range for each protein. Representative of n = 2. Scale bars, 1 µm. b, Bar plot showing FWHM measured for several beads (within a 40 × 40-µm2 field-of-view) that were imaged with either MoNaLISA or enhanced (en.) confocal imaging and were functionalized with either rsEGFP2 (MoNaLISA, 105 ± 40 nm for n = 24 line profiles) or rsGCaMP1.4-ER (MoNaLISA, 125 ± 36 nm; enhanced confocal, 216 ± 33 nm for n = 35 line profiles, mean ± standard deviation (s.d.)). Example of a FWHM measurement is shown for rsGCaMP1.4-ER (bottom right); a double-Gaussian fit of the measured line profile (black dots) affords a value of 80 nm. Scale bar, 500 nm. Norm. fluo., normal fluorescence; x, line profile indicated with red markings in inset. c, Side-by-side enhanced confocal and MoNaLISA images of rsGCaMP1.4-ER with enlargements (white box insets). The displayed images are the sum of ten consecutive images for MoNaLISA and four frames for enhanced confocal, acquired 15 s apart. An exemplary line profile yields a tubule diameter of 120 nm for MoNaLISA. Scale bars, 5 µm (entire field of view), 1 µm (No. 1) and 500 nm (No. 2). n = 3 independent measurements; Extended Data Fig. 6. d, FWHM measured for n = 26 relatively invariant tubules (169 ± 55 nm for MoNaLISA versus 265 ± 50 nm for enhanced confocal; Extended Data Fig. 6c). In the box plot the median line, the 25–75% percentile box and 1.5× interquartile range whiskers interval are reported. Deviation from the expected value of 107 ± 23 nm (ref. 58) can be linked to the integration time (16 s). e, Dynamics of rsGCaMP1.4-ER/Ca2+ on the ER tubular network for two different regions, with and without live staining of mitochondria. The final frame of the second region (projections) contains the centroid of each bright spot of rsGCaMP1.4-ER throughout the sequential time lapse. The same color code is used to group together temporal evolution of the same density localized to different time points (Supplementary Fig. 14). Scale bars, 1 µm.

Concept of photo-switching based Ca2+ sensing in OA

Next, we explored the use of rsGCaMPs to image Ca2+ in OA. Similar to the 488-nm absorbance peak, the OA signal of rsGCaMP at this wavelength could be readily switched (Fig. 4a), with bulk switching kinetics encoding Ca2+ concentration (Fig. 4b,c). Similar to other photo-switching proteins43, the switching of rsGCaMPs in OA also exhibits a kinetic dependency on the intensity of the laser light (Supplementary Fig. 16a). Moreover, when compared to, for example, rsEGFP2, rsGCaMPs display low photo-fatigue under OA illumination conditions (Supplementary Fig. 16b). Exploiting photo-switching of the OA signal, we show that it is possible to unmix the sensor and read out relative Ca2+ concentrations in OA images. Tubing filled with rsGCaMP1.1, rsGCaMP1.4-ER and different concentrations of Ca2+ was imaged in an adapted commercial multispectral optoacoustic tomography (MSOT) device and could clearly be differentiated from the control Ca2+-free sensor tubing (Fig. 4d). Moreover, fitting the photo-switching kinetics enabled extraction of relative Ca2+ concentrations from the image (Fig. 4e,f). Choosing variants with adequate affinity may allow the imaging of a wide range of Ca2+ concentrations, similar to existing GEI for calcium. Such unmixing was also possible when the tubes were subcutaneously implanted in a sacrificed FoxN1 nude mouse (Fig. 4g). However, readout of kinetics was not straightforward presumably due to the influence of fluence changes strongly affecting imaging with blue light, which is unfavorable for in vivo in-tissue imaging (Fig. 4h). Such unmixing is independent of the OA imaging concept—that is, single-element scanning or different multi-element array types (Supporting Information 5 and Extended Data Fig. 8). Finally, we showed the general feasibility of rsGEI imaging in vivo by implanting HeLa cells expressing rsGCaMP1.1 subcutaneously into the back of a mouse. The signal from the cells could be clearly delineated based on photo-switching (Fig. 4i,j and Supplementary Figs. 17 and 18), and this was possible despite imaging with blue light. Based on the observed photo-switching kinetics, we even tentatively distinguished implants containing ionomycin/Ca2+ from those showing the resting-state Ca2+ concentration (no treatment; Fig. 4k and Supplementary Fig. 17). These findings demonstrate the feasibility of extracting relative Ca2+ concentrations in vivo using photo-switching sensors.

Fig. 4: Proof-of-concept OA background-free Ca2+ imaging using rsGCaMPs.
figure 4

a, Exemplary photo-switching of the OA signal of rsGCaMP1.1 at 39 µM Ca2+ using 488-nm (1.8 mJ s–1) and 420-nm (1.8 mJ s–1) light. b, Dependence of switching kinetics on Ca2+ concentration at 0–39 µM (n = 1; data presented as mean ± s.d. for three switching cycles). c, Plot of mean time constants obtained from b as a function of Ca2+ concentration (data presented as mean ± s.d.). d, Example image of a tomography slice from a sacrificed mouse with 1-mm tubing filled with purified rsGCaMP1.1 or rsGCaMP1.4-ER and different Ca2+ concentrations and adjacent to the skin. Colors indicate the kinetic constant of each pixel, to aid visualization of photo-switching kinetics. UST, ultrasound transducer. Scale bars, 1 mm. e, Mean photo-switching kinetics for the positions in each indicated region of interest (ROI), together with a fitted single exponential (pink line). Kinetics are scaled to the minimum/maximum values for ROI –2 or −1 (not indicating residual signal). f, Time constants extracted from exponential fits in e. g, Example image of a tomography slice from a sacrificed mouse with tubes implanted subcutaneously, representation as in d. Scale bars, 1 mm. h, Mean switching kinetics, representation as in e. f, The two lowest concentrations are no longer distinguishable due to the effect of light fluence. Example measurement for the two measurements, n = 1 for each. i, In vivo imaging of subcutaneous implants of HeLa cells expressing rsGCaMP1.1 (2.5 million cells, ~3,000 per imaging voxel) pretreated with 5 µM Ionomycin and 10 mM Ca2+ (right), 5 mM EGTA (middle) or untreated (left). Scale bars, 1 mm. j, Histology showing GFP channel fluorescence of rsGCaMP1.1, displayed as a maximum-intensity projection over all slices. Scale bar, 1 mm. k, Tentative relative Ca2+ concertation from mean switching kinetics of implants (corresponding to numbered ROIs in i; kinetics normalized to maximum). Note that kinetic discrimination is poor due to strong absorption of blue light by tissues. OA imaging was carried out in vivo using 10-Hz pulsed illumination at 488 nm (1.5 mJ s–1) and 420 nm (2 mJ s–1). Representative of n = 3; further examples and descriptions of the analyses can be found in Supplementary Figs. 17 and 18.

Source data

Generalization of photo-switching to other molecular sensor scaffolds

The concept of rsGEIs is not restricted to Ca2+ indicators. We engineered switchable versions of two other popular molecular indicators: a maltose indicator based on a periplasmic binding protein44 (PBP) and a dopamine indicator based on a G-protein-coupled receptor (GPCR)45 ('dLight'). For the former sensor we inserted mutations in the five published maltose sensor variants44, and only one showed maltose-dependent photo-switching with 488- and 405-nm light (Fig. 5, Supplementary Fig. 19 and Extended Data Fig. 9a). Notably, the maltose sensor had the same brightness as the template sensor and showed an even higher dynamic range following maltose binding (Supplementary Table 3). Mutation of dLight1.3b allowed for a variant that showed photo-switching of fluorescence in the ligand-bound form in mammalian cells (Extended Data Fig. 9b–d). However, due to the poor brightness of this first variant no further characterization was undertaken. Overall, this underpins the universality of the rsGEI concept, especially in regard to the binding promiscuity of PBP or GPCR scaffolds, allowing envisioning of indicators for diverse ligands for OA and SRM applications.

Fig. 5: Generalization of the concept of photo-switchable molecular indicators extended to PBP-type indicators.
figure 5

a, Molecular building principle of PBP-based GEIs using the example of a maltose-binding protein44. b,c, Absorbance (b) and fluorescence (c) spectra of purified photo-switching maltose indicator (Variant A) in the maltose-free and -saturated states photo-switched with 405- and 488-nm light. Photo-switching was achieved using 405/12.5- and 490/26-nm LEDs and a 5-mm-cross-section liquid light guide delivering 1,528 and 270 mW cm–2, at 405 and 488 nm, respectively. Representative spectra are shown. Details of the photophysical characteristics of photo-switching maltose sensor variants can be found in Supplementary Table 3. d, Change in mean fluorescence intensity of the photo-switching maltose indicator (Variant A) as a function of maltose concentration (n = 3 independent protein samples; data presented as mean ± s.d.). Error bars indicate s.d. e, Image of HeLa cells expressing the photo-switching maltose sensor targeted to the outer membrane. In contrast to the maltose-free state, proteins can be readily photo-switched in maltose-bound state. Asterisk indicates the pixel position of the representative switching cycles shown. Scale bars in all images, 20 µm. Further examples can be found in Extended Data Fig. 9a.

Source data


Our work demonstrates the feasibility of implementing photo-switching in molecular sensors. The structural data show the influence of the M13/Calmodulin moiety on the 'open flank' of the β-barrel of the fluorescent protein, preventing bulging of the barrel for photo-isomerization and enforcing a rare HT. This is related to, for example, the Dronpa oligomerization photo-switch46 and demonstrates that the β-barrel is not a fixed scaffold. Rather, influence can be exerted on the photophysics of the chromophore via the β-barrel by packing interactions, which are probably even enhanced if the β-barrel is more flexible at those positions—for example, through circular permutation.

The photo-switching properties of rsGEIs can be exploited to image the distribution of molecules in SRM, as well as to achieve OA imaging without any background from blood. To date, the only reported combinations of an indicator and photo-responsive behavior are green-to-red photo-convertible47,48 and photo-activatable Ca2+ GEIs49. Recently the Schreiter laboratory published a photo-switching GEI based on mEos for marking, erasing and remarking of neuronal populations50. To facilitate efficient marking, this sensor can be efficiently switched to a nonfluorescent OFF-state in the Ca2+-bound state. However, it retains high fluorescence with only moderate switching in the Ca2+-free state and exhibits relatively small overall spectral changes at high Ca2+ concentrations, the former being potentially problematic for use in SRM and the latter for OA. The photophysical configuration presented in our rsGCaMPs is also a template for the further generation of photo-switching NIR Ca2+ sensors. Such development is necessary since OA imaging using the rsGCaMP prototype is limited by its required excitation by blue light, which penetrates tissue poorly, impeding whole-animal imaging. Of note, two non-photo-switchable Ca2+ indicators based on bacteriophytochromes were recently reported25,26,27]. Thus, a translation of our concept to rsGEIs that are switchable by NIR light can be envisioned. Shifting the excitation window to the NIR range will also reduce differences in fluence within the sample and thus their effect on switching. However, correction of the results by fluence models may still be necessary for accurate readout.

While the presented prototype sensor has comparably low brightness, which can lead to sparsity in RESOLFT measurements, we demonstrated a path for improvement through structural and photophysical studies. For SRM, this could enable the study of Ca2+ microdomains in lysosomes51, either at the immunological synapse52 or between the ER and mitochondria53. Fast-probe kinetics can enhance the speed of the technique, focusing on the nanoscale dynamics of Ca2+ domains (smaller field-of-view guided by coregistration to localized phenomena). Furthermore, the generality of the probe construction allows us to envision future rsGEIs and, eventually, to visualize nanodomains for other molecules such as neurotransmitters9 or ATP54. Lastly, photo-switching ability can already enhance resolution short of RESOLFT concepts—for example, by enhanced confocals (factor 1.0–1.4 enhancement40). For OA, expansion of the concept to NIR proteins could provide insight into the intricate mosaic of chemical conditions in the tumor microenvironment55, including the influence of metabolic therapeutics56 or chimeric antigen receptor T cells57. Using the sensors together with existing photo-switching labels will allow multiplexed visualization of small molecules, together with labeled cells, and allow unique insights into their (patho-)physiological interplay in vivo in whole organisms.


General cloning and mutagenesis

GCaMP5G28 was synthesized as gene strings (GeneArt, LifeTechnologies). Plasmid-encoding, maltose-binding protein MBP175-cpGFP44 and the pDisplay vector were a kind gift from L. Looger. dLight1.3b was synthesized as gene strings. For bacterial protein expression, the coding sequence of GCaMP5G was PCR amplified as a NdeI/HindIII fragment with a C-terminal His-tag and cloned into the pRSETa vector. All site-specific mutants in this study were generated using the QuikChange Lightning Mutagenesis Kit (Agilent Technologies). For creation of the switchable maltose sensor library, MBP leader sequences of varying length and with different linker sequences and MBP C terminus were amplified, cpGFP was amplified from rsGCaMP0.9 and different variants were constructed using overlap PCR and cloned into NdeI/XhoI of the pRSETa vector. For cytoplasmic mammalian expression of rsGCaMPs and the photo-switchable dopamine sensor, coding sequences were cloned into the pcDNA3.0 vector (Thermo Fisher Scientific) at the EcoR1 and Not1 sites. To target rsGCaMP1.4-ER and rsEGFP2 to the ER lumen, genes were cloned into the pEF/myc/ER vector (Invitrogen) at the SalI and NotI sites. For mammalian surface expression of the reversible switchable maltose sensor (Variant A), the gene was cloned into the pDisplay vector (Invitrogen) at the BglII and PstI sites.

Protein expression and purification

Proteins were expressed in Escherichia coli BL21 and purified by Ni-NTA affinity chromatography in Tris buffer pH 8.0 and 300 mM NaCl. To remove all calcium from the rsGCaMP variants and GCaMP5G protein, we performed buffer exchange with MOPS buffer (pH 7.2, 100 mM NaCl) with further addition of ethylene glycol tetraacetic acid (EGTA) to a final concentration of 5 mM. The final step entailed size-exclusion chromatography using a HiLoad 26/600 Superdex 75-pg column (Amersham Biosciences) in MOPS buffer to remove any residual calcium and EGTA. Purified proteins were frozen immediately in liquid nitrogen and stored at −80 °C until measurement. Proteins showed no absorbance changes after thawing and centrifugation at 14,000 r.p.m. for 45 min.

Absorption and fluorescence spectroscopy

Spectra for GCaMP5G, rsGEFP2, rsGCaMP0.9 and rsGCaMP were measured in buffer solutions in the presence or absence of defined concentrations of free Ca2+.

Calcium titrations

For in vitro calcium titration for the calcium sensor with nanomolar affinity, the protein in MOPS buffer pH 7.2 was mixed with different volumes of zero-free calcium buffer (10 mM EGTA, 100 mM KCl and 30 mM MOPS, pH 7.2) and the 39-μM free calcium buffer (10 mM CaEGTA in 100 mM KCl and 30 mM MOPS, pH 7.2) of the calcium calibration buffer kit (Invitrogen), as reported by Akerboom et al.28. For the titration series for the calcium sensor with micromolar affinity, titration affinity was performed according to the protocol described by Henderson et al.30. In short, titrations (100 nM to 10 mM) were performed by dilution of a 10 mM CaCl2 stock solution in 100 mM KCl and 30 mM MOPS, pH 7.2. Photophysical properties for iMalSnFR and the final switchable iMalSnFR variant were measured in Tris buffer pH 8.0 and 300 mM NaCl in the presence or absence of 200 mM maltose. Ultraviolet-visible measurements were performed using an UV-1800 spectrophotometer (Shimadzu) in a cell with a path length of 1 cm. Emission properties were determined using a Cary Eclipse fluorescence spectrophotometer (Varian). For fluorescence quantum yield determination we used superfolder GFP59 as standard. Maltose affinity was determined as reported by Marvin et al.44. Triplicate experiments were performed with different samples from the same purification batch. Absorption coefficients were determined using the protein peak at 280 nm as reference. Relaxation kinetics and switching of rsGCaMP crystals and solutions were recorded using light from SOLIS 405- and 490-nm LEDs (Thorlabs) and 405 ± 2-nm and 488 ± 2-nm bandpass filters, respectively, focused with a ×20 or ×10 objective lens on the crystal or well-filled solution. Fluorescence was recorded using a photo-multiplier tube (no. H10492, Hamamatsu). For relaxation kinetics, photo-switching was recorded for multiple dark periods. Data were visualized using Graphpad Prism 9.

Structure determination

Protein purification for crystallization

Proteins were purified as described above, with subsequent buffer exchange to 15 mM Tris buffer with 100 mM NaCl and 2 mM CaCl2 at pH 8.0. Several attempts to crystallize rsGCaMP were necessary, since most attempts exhibited dimeric forms as previously reported32 (Supplementary Table 1). For the eventually successful variant, we constructed rsGCaMP.LP294TR.ΔRSET (rsGCaMP1.1). We removed the first 26 amino acids (T7 Tag and Xpress Tag) from the rsGCaMP by amplification of the remaining gene sequence as a NdeI/HindIII PCR fragment with a C-terminal His-tag and inserted this into pRSETa. Subsequently, the LP linker at position 294 was replaced by a TR linker using site-directed mutagenesis. Purification was conducted as described above, the protein concentration adjusted to 5 mg ml–1 and the concentration of free Ca2+ to 5 mM.

Crystallization and data acquisition

Crystallization experiments for all rsGCaMP variants were performed at the X-ray Crystallography Platform at Helmholtz Zentrum München. For rsGCaMP1.1 the initial crystallization screening was done at 292 K using 5 mg ml–1 protein with a Mosquito (SPT Labtech) nanodrop dispenser in sitting-drop, 96-well plates and commercial screens. After selection of the best hits, manual optimization was performed. Most of the crystallization conditions tested led to the growth of crystals in the C2 space group. With this symmetry, the asymmetric unit of the crystals contained two molecules of rsGCaMP1.1 which underwent domain swapping (Supplementary Fig. 8). The monomeric rsGCaMP1.1 crystals grew in 0.21 M sodium formate, 0.1 M Bis-Tris-Propane buffer pH 8.5 and 18% (w/v) PEG 3350. The crystals for other rsGCaMP variants presented in this paper were obtained under similar conditions. For rsGCaMP1.2 the best crystals appeared in 0.20 M sodium formate, 0.1 M Bis-Tris-Propane buffer pH 8.5 and 22% (w/v) PEG 3350. The rsGCaMP1.3 variant gave the best diffracting crystals in 0.20 M sodium formate, 0.1 M Bis-Tris-Propane buffer pH 8.5 and 19% (w/v) PEG 3350. For X-ray diffraction experiments, rsGCaMP crystals were mounted and flash-cooled to 100 K in liquid nitrogen. Cryoprotection was performed for ~2 s in reservoir solution supplemented with 25–30% (v/v) ethylene glycol. All data were collected on the SLS PXIII X06DA beamline (PSI, Villigen) at 100 K. Before collection of the OFF form, rsGCaMP crystals were illuminated for 5–10 s with 488-nm light. All datasets were indexed and integrated using XDS28 and scaled with SCALA30,44. Intensities were converted to structure-factor amplitudes using the program TRUNCATE59. Supplementary Table 2 summarizes statistics.

Structure determination and refinement of rsGCaMP variants

The structure of rsGCaMP1.1 was solved with the MolRep32 program from CCP4 (ref. 60). The closest homolog (PDB ID: 3ek4) served as a search model61. The structure of rsGCaMP1.2 and rsGCaMP1.3 was solved using as a search model the previously refined rsGCaMP1.1 model. For all rsGCaMP variants, model rebuilding was performed in COOT62. Further refinement was done in REFMAC5 (ref. 63) using the maximum-likelihood target function. Stereochemical analysis of the final models was done in PROCHECK64 and MolProbity65. Supplementary Table 2 summarizes refinement parameters.

SRM measurements

Cell culture

U2OS (ATCC HTB-96) or Hela cells (ATCC CCL-2), were cultured in DMEM (Thermo Fisher Scientific, no. 41966029) supplemented with 10% (v/v) fetal bovine serum (Thermo Fisher Scientific, no. 10270106), 1% penicillin/streptomycin (Sigma-Aldrich, no. P4333) and maintained at 37 °C and 5% CO2 in a humidified incubator. For transfection, 1 × 105 cells per well were seeded on 18-mm coverslips. After 24 h, cells were transfected using Fugene (Promega); 36–48 h after transfection, cells were washed in PBS solution, placed with phenol-red-free DMEM or Leibovitz’s L-15 medium (Thermo Fisher Scientific, no. 21083027) in a chamber and imaged at room temperature. For live staining of mitochondria, cells were incubated for 10 min with MitoTracker DeepRed FM (Thermo Fisher Scientific, no. M22426) at 37 °C before imaging. For visualization of the ER network in both the lumen and membrane, double transfection with rsGCaMP1.4-ER (lumen) and SNAP-Sec61β (membrane) was used. For visualization of the second channel, cells were incubated with 647-SiR (SNAP-Cell 647-SiR, BioLabs; final concentration 0.15 μM) for 1 h and then washed before imaging. For control of protein distribution, 48-h-transfected cells were fixed in 4% paraformaldehyde for 15 min at room temperature. After permeabilization (5 min in Tryton 0.1%) and blocking (10 min in 5% bovine serum albumin), cells were incubated for 1 h with 1:1,000 FluoTag-X4-anti-GFP-AbberiorSTAR580 (no. N0304-Ab580-L, Nanotag Biotechnologies) to label the expressed proteins.

MoNaLISA imaging scheme and acquisition

The MoNaLISA setup used in this study was custom-built, as reported by Masullo et al. All images were recorded with a multifocal pattern of periodicity 625 nm coupled with an OFF pattern of 312.5 nm. For rsEGFP2, the ON-switch was performed with 405-nm light, 650 W cm–2 for 0.5 ms; the OFF confinement with 1.0–1.5 ms of 488-nm light at 650 W cm–2 and the readout with 240 kW cm–2 of 488 nm for 1 ms. The step size was 35 nm, for a global dwell time of 5 ms and recording time of 1.5 s. The second confocal channel used for recording of mitochondria was imaged in a sequential manner using 350 W cm–2 of 590-nm light for 2 ms. The spectral interval of the second camera was 620/70 nm. For imaging of SiR emission, a filter at 670/40 nm was used and the recording scheme was set to acquire quasi-simultaneously the two channels with interleaved excitation on a pixel-by-pixel basis (see Supplementary Fig. 11 for details). The software used for acquisition and final image reconstruction was ImSwitch60 on Python 3.9.

Image processing

The images presented were deconvolved with a narrow Gaussian of 50-nm full width at half maximum (FWHM), combined with a wider Gaussian of 175-nm FWHM, accounting for 10% of the PSF amplitude; such a geometry considers the properties of RSFPs where a background signal due to a non-photo-switchable fraction of the molecules is expected. The final image is the result of five iterations of the Richardson–Lucy algorithm, with the deconvolution performed using Imspector (Max Planck Innovations).

To understand the compatibility of rsGCaMP in a RESOLFT imaging scheme, the photophysical behavior of different variants was tested under the range of powers typically used in this super-resolved modality. An area of 2.6 × 1.0 µm2 enclosed in an extended beam of 50-µm FWHM was considered for the analysis. The purified protein under study was embedded in a thin polyacrylamide (PAA) gel layer at a concentration of around 1 mg µl–1. The measurements are either at Ca2+ saturating condition—to follow the power dependency of their photophysical behavior and for comparison to standard non-sensor rsFPs, like rsEGFP2—or at fixed powers and varying Ca2+ concentration in the solution used for the PAA protein layer. The OFF-switching kinetics were recorded in pump-probe modality where, after 1 ms of 405-nm pulse (at 0.05 kW cm–2), a 488-nm-long pulse followed to switch off all fluorescence. The cycle was repeated 25 times and averaged. OFF-switching kinetics were analyzed with biexponential functions, and the average rate is reported as the characteristic decay time of fluorescence; the plateau level reached by fluorescence at the end of the 488-nm light pulse is reported as the background level. For ON-switching at increasing power of the 405-nm light (range 0.03–0.37 kW cm–2), five cycles were recorded at 0.21 kW cm–2 of 488-nm light for 1–2 ms and averaged. The global curve was then normalized to the level of fluorescence at equilibrium (before the power series). Each cycle comprises 1 ms of 405 nm at 0.1 kW cm–2 and 488 nm at 0.21 kw cm–2 for the time needed to reduce fluorescence to 20% of the initial value.

Imaging of rsEGFP2 and rsGCaMP1.4-ER beads

A bead-supported lipid bilayer (bSLB)61 of 2.5 µm in diameter was saturated with rsEGFP2 or rsGCaMP1.4-ER, taking advantage of the His-tag sequence of the protein and a lipid mixture of SM/chol/DGS-NTA (66/30/40). An aliquot of 10 µl of bSLB dispersion was mixed with 10 µl of 4 µM protein solution. To visualize the varying imaging response of the protein at the two extremes of fully Ca2+ saturated and non-Ca2+ bound, the protein was diluted either in MOPs buffer with 9 mM of CaCl2 or MOPS buffer only. After 30-min incubation at room temperature, a 4-µl drop was placed on a sealed coverslip to prevent evaporation.

OA spectroscopy

A protein sample (200 µl) at a concentration of 18.5 µM—so that optical density is in the range 0.3–1.2 (optimal dynamic range of the device)—in the presence or absence of free Ca2+ as described above, was measured in a custom-built OA spectrometer as described by Fuenzalida-Werner et al.62. The affinity curves derived from the switching kinetics at different Ca2+ concentrations were calculated as follows: six decay kinetics of the same sample were measured using averaged OA signals per free Ca2+ concentration to reduce measurement noise, and were subsequently normalized to the maximum value. Decay kinetics for the higher Ca2+ concentration were fitted with a single exponential decay model and its offset (y0) was used as constant to facilitate the fitting of the noisier, lower Ca2+ concentrations. The decay constant versus the log value of the free calcium concentration was fitted with a dose–response model with Hill slope.

OA tomography imaging

Tubes containing undiluted sheep blood and rsGCaMP at a concentration of 77 µM, together with four different concentrations of free Ca2+, were placed behind a 5-mm layer of agar containing 2% intralipid in a water bath for coupling. The sample was illuminated by the same laser as for OA spectroscopy, delivered by a fiber illuminating the sample at an angle of 45° and recorded by a curved, 64-element array (focal distance, 4 cm; angular coverage, 172°; central frequency, 5 MHz; Imasonic). For this measurement, we kept the power constant at 1.78 mJ s–1 at 488 and 420 nm. To ensure linear responses from all widely varying absorbance in our samples, we worked within the 1-dB compression point linear range of our custom-built 53-dB amplifier bank (<1 V) and used a digitization dynamic range of 1 V (12 bit, 8 × 8-channel PXI 5105; National Instruments). A custom-designed LabVIEW program (National Instruments) was used for rapid automatic data acquisition. Data were averaged over three laser pulses to improve the signal-to-noise ratio. We recorded ten cycles with 120 pulses at 488 nm and 120 pulses at 420 nm. OA signals were reconstructed to images using a non-negative constrained version of a previously described model-based approach63.

The probability that a pixel would contain data comprising photo-switchable signals was assessed using two measures: (1) the contribution of the correct frequency component after Fourier transform; and (2) a low r2 after fitting a single exponential. We extracted the intensity over time from pixels identified to contain photo-switchable signals. These values were fitted with an exponential decay model using an offset constant determined from the sample with the highest free Ca2+ concentration. To obtain the affinity curve, the decay constant was plotted versus the log value of the free calcium concentration and fitted with a dose–response model to the Hill slope. The values of the function were fixed to allow the fitting to converge on both maximum (39 µM free calcium) and minimum (0 µM free calcium).

OA RSOM imaging

Details of the employed RSOM setup are described elsewhere64. Independent tubes containing undiluted sheep blood and rsGCaMP, at a concentration of 107 µM, and four different concentrations of free Ca2+ were placed over a layer of agar with 2% intralipid. The sample was illuminated from above by nanosecond-excitation pulses at 50 Hz generated by an optical parametric oscillator (OPO) laser (Spitlight-DPSS 250 ZHG-OPO, InnoLas). Energy was kept constant at 80 µJ per pulse at 488 nm. Additionally, rsGCaMP samples were keep in the ON-state by different intensities of co-illumination with a 405-nm LED (5.1 W; Solis, Thorlabs) with collimated output. Detection of ultrasonic signals was carried out as in ref. 64. Images were acquired by raster-scanning the detector over the sample in 12-µm steps. Datasets were bandpass-filtered (10–30 MHz) and reconstructed using a tomographic virtual point detector back-projection algorithm with a dynamic aperture65. RSOM images were captured in triplicate and averaged after reconstruction for each LED intensity level. Unmixing of switching dynamics was performed by calculating the proportional difference between each ON- and OFF-state image—that is, without 405-nm co-illumination.

OA imaging with commercial MSOT, animal experimentation and histology

In vivo data were acquired using a commercially available MSOT scanner (MSOT In Vision 256-TF, iThera Medical) equipped with an alternative light source delivering wavelengths of 488 and 420 nm (Spitlight-DPSS 250 ZHG-OPO, InnoLas). In brief, nanosecond-pulsed light was generated from a tunable OPO laser and delivered to the sample through a ring-type fiber bundle. Wavelengths of 420 and 488 nm were used for photo-switching and imaging in mice. Light absorbed by the sample generates an acoustic signal that propagates through it and is detected outside the sample by a cylindrically focused, 256-element transducer. The acquired acoustic data were reconstructed using ViewMSOT v. (iThera Medical) software. Analysis was conducted using a custom script with Matlab2019a. The outline of the analysis can be found in Supplementary Fig. 18.

Animal experiments were approved by the Government of Upper Bavaria (no. ROB-55.2-2532.Vet02-18-120). Three Matrigel implants with HeLa cells expressing rsGCaMP1.1 and mCherry were implanted subcutaneously in the back of 6- to 8-week-old, adult female Hsd:Athymic Nude-Foxn1nu mice (Envigo). A 12/12-h light/dark cycle and housing were implemented according to Annex A of European Convention no. 2007/526 EG. Cells were pretreated with either 5 µM ionomycin and 10 mM Ca2+ or 5 mM EGTA, or left untreated. Mice were anesthetized with 2% isoflurane in O2 and placed in the MSOT holder, using ultrasound gel and water as coupling media. After termination of experiments, all mice were sacrificed and stored at −80 °C. Cell fluorescence, after cryopreservation of mice in Tissue-Tek O.C.T. (Sakura Finetek Europe), was imaged in cut sections (10 μm; Leica CM1950, Leica Microsystems) at intervals of 250 μm with 482/35 nm for excitation and 535/38 nm for detection of GFP fluorescence. Images were recorded using a charge-coupled device camera (DL-604M, Andor Technology) with 10-s exposure and a gain of 10.

Reporting Summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Data availability

All source data are available online at under the identifier The structures elucidated in the work are available from PDB under the identifiers 6YA9, 6TV7, 6ZSM, 6ZSN and 7AUG. Source data are provided with this paper.

Code availability

SRM and OA acquisition code are available from the corresponding author upon request. MSOT analysis code is available online at under the identifier


  1. 1.

    Eggeling, C., Willig, K. I., Sahl, S. J. & Hell, S. W. Lens-based fluorescence nanoscopy. Q. Rev. Biophys. 48, 178–243 (2015).

    CAS  PubMed  Google Scholar 

  2. 2.

    Grotjohann, T. et al. Diffraction-unlimited all-optical imaging and writing with a photochromic GFP. Nature 478, 204–208 (2011).

    CAS  PubMed  Google Scholar 

  3. 3.

    Marriott, G. et al. Optical lock-in detection imaging microscopy for contrast-enhanced imaging in living cells. Proc. Natl Acad. Sci. USA 105, 17789–17794 (2008).

    CAS  PubMed  PubMed Central  Google Scholar 

  4. 4.

    Quérard, J. et al. Resonant out-of-phase fluorescence microscopy and remote imaging overcome spectral limitations. Nat. Commun. 8, 969 (2017).

  5. 5.

    Yao, J. et al. Reversibly switchable fluorescence microscopy with enhanced resolution and image contrast. J. Biomed. Opt. 19, 086018 (2014).

    PubMed  PubMed Central  Google Scholar 

  6. 6.

    Vettenburg, T., Corral, A., Rodríguez-Pulido, A., Flors, C. & Ripoll, J. Photoswitching-enabled contrast enhancement in light sheet fluorescence microscopy. ACS Photonics 4, 424–428 (2017).

    CAS  Google Scholar 

  7. 7.

    Kao, Y.-T., Zhu, X., Xu, F. & Min, W. Focal switching of photochromic fluorescent proteins enables multiphoton microscopy with superior image contrast. Biomed. Opt. Express 3, 1955–1963 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  8. 8.

    Stiel, A. C. et al. High-contrast imaging of reversibly switchable fluorescent proteins via temporally unmixed multispectral optoacoustic tomography. Opt. Lett. 40, 367–370 (2015).

    Google Scholar 

  9. 9.

    Yao, J. et al. Multiscale photoacoustic tomography using reversibly switchable bacterial phytochrome as a near-infrared photochromic probe. Nat. Methods 13, 67–73 (2015).

    PubMed  PubMed Central  Google Scholar 

  10. 10.

    Chee, R. K. W., Li, Y., Zhang, W., Campbell, R. E. & Zemp, R. J. In vivo photoacoustic difference-spectra imaging of bacteria using photoswitchable chromoproteins. J. Biomed. Opt. 23, 106006 (2018).

    Google Scholar 

  11. 11.

    Märk, J. et al. Dual-wavelength 3D photoacoustic imaging of mammalian cells using a photoswitchable phytochrome reporter protein. Commun. Phys. 1, 3 (2018).

    Google Scholar 

  12. 12.

    Li, L. et al. Small near-infrared photochromic protein for photoacoustic multi-contrast imaging and detection of protein interactions in vivo. Nat. Commun. 9, 2734 (2018).

    PubMed  PubMed Central  Google Scholar 

  13. 13.

    Mishra, K. et al. Multiplexed whole-animal imaging with reversibly switchable optoacoustic proteins. Sci. Adv. 6, eaaz6293 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  14. 14.

    Mishra, K., Fuenzalida-Werner, J. P. J. P., Ntziachristos, V. & Stiel, A. C. Photocontrollable proteins for optoacoustic imaging. Anal. Chem. 91, 5470–5477 (2019).

    CAS  PubMed  Google Scholar 

  15. 15.

    Ni, Q., Mehta, S. & Zhang, J. Live-cell imaging of cell signaling using genetically encoded fluorescent reporters. FEBS J. 285, 203–219 (2018).

    CAS  PubMed  Google Scholar 

  16. 16.

    Zhao, Y. et al. An expanded palette of genetically encoded Ca2+ indicators. Science 333, 1888–1891 (2011).

    CAS  PubMed  PubMed Central  Google Scholar 

  17. 17.

    Rose, T., Goltstein, P. M., Portugues, R. & Griesbeck, O. Putting a finishing touch on GECIs. Front. Mol. Neurosci. 7, 88 (2014).

    PubMed  PubMed Central  Google Scholar 

  18. 18.

    Platisa, J. & Pieribone, V. A. Genetically encoded fluorescent voltage indicators: are we there yet? Curr. Opin. Neurobiol. 50, 146–153 (2018).

    CAS  PubMed  PubMed Central  Google Scholar 

  19. 19.

    Martynov, V. I., Pakhomov, A. A., Deyev, I. E. & Petrenko, A. G. Genetically encoded fluorescent indicators for live cell pH imaging. Biochim. Biophys. Acta, Gen. Subj. 1862, 2924–2939 (2018).

    CAS  Google Scholar 

  20. 20.

    Neef, J. et al. Quantitative optical nanophysiology of Ca2+ signaling at inner hair cell active zones. Nat. Commun. 9, 290 (2018).

    PubMed  PubMed Central  Google Scholar 

  21. 21.

    Mishina, N. M. et al. Live-cell STED microscopy with genetically encoded biosensor. Nano Lett. 15, 2928–2932 (2015).

    CAS  PubMed  Google Scholar 

  22. 22.

    Mo, G. C. H. et al. Genetically encoded biosensors for visualizing live-cell biochemical activity at super-resolution. Nat. Methods 14, 427–434 (2017).

    CAS  PubMed  PubMed Central  Google Scholar 

  23. 23.

    Serulle, Y., Sugimori, M. & Llinas, R. R. Imaging synaptosomal calcium concentration microdomains and vesicle fusion by using total internal reflection fluorescent microscopy. Proc. Natl Acad. Sci. USA 104, 1697–1702 (2007).

    CAS  PubMed  PubMed Central  Google Scholar 

  24. 24.

    Gottschalk, S. et al. Rapid volumetric optoacoustic imaging of neural dynamics across the mouse brain. Nat. Biomed. Eng. 3, 392–401 (2019).

    CAS  PubMed  PubMed Central  Google Scholar 

  25. 25.

    Qian, Y. et al. A genetically encoded near-infrared fluorescent calcium ion indicator. Nat. Methods 16, 171–174 (2019).

    CAS  PubMed  PubMed Central  Google Scholar 

  26. 26.

    Subach, O. M., Barykina, N. V., Anokhin, K. V., Piatkevich, K. D. & Subach, F. V. Near-infrared genetically encoded positive calcium indicator based on gaf-fp bacterial phytochrome. Int. J. Mol. Sci. 20, E3488 (2019).

    PubMed  Google Scholar 

  27. 27.

    Shemetov, A. A. et al. Bright near-infrared genetically encoded calcium indicator for in vivo imaging. Nat. Biotechnol. 39, 368–377 (2021).

  28. 28.

    Akerboom, J. et al. Optimization of a GCaMP calcium indicator for neural activity imaging. J. Neurosci. 32, 13819–13840 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  29. 29.

    Grotjohann, T. et al. rsEGFP2 enables fast RESOLFT nanoscopy of living cells. eLife 1, e00248 (2012).

    PubMed  PubMed Central  Google Scholar 

  30. 30.

    Henderson, M. J. et al. A low affinity GCaMP3 variant (GCaMPer) for imaging the endoplasmic reticulum calcium store. PLoS ONE 10, e0139273 (2015).

    PubMed  PubMed Central  Google Scholar 

  31. 31.

    de Juan-Sanz, J. et al. Axonal endoplasmic reticulum Ca2+ content controls release probability in CNS nerve terminals. Neuron 93, 867–881 (2017).

    PubMed  PubMed Central  Google Scholar 

  32. 32.

    Akerboom, J. et al. Crystal structures of the GCaMP calcium sensor reveal the mechanism of fluorescence signal change and aid rational design. J. Biol. Chem. 284, 6455–6464 (2009).

    CAS  PubMed  PubMed Central  Google Scholar 

  33. 33.

    Chen, Y. et al. Structural insight into enhanced calcium indicator GCaMP3 and GCaMPJ to promote further improvement. Protein Cell 4, 299–309 (2013).

    CAS  PubMed  PubMed Central  Google Scholar 

  34. 34.

    Smyrnova, D., Zinovjev, K., Tunón, I. & Ceulemans, A. Thermal isomerization mechanism in Dronpa and its mutants. J. Phys. Chem. B 120, 12820–12825 (2016).

    CAS  PubMed  Google Scholar 

  35. 35.

    Liu, R. S. H. Photoisomerization by hula-twist: a fundamental supramolecular photochemical reaction. Acc. Chem. Res. 34, 555–562 (2001).

    CAS  PubMed  Google Scholar 

  36. 36.

    Chang, J., Romei, M. G. & Boxer, S. G. Structural evidence of photoisomerization pathways in fluorescent proteins. J. Am. Chem. Soc. 141, 15504–15508 (2019).

    CAS  PubMed  PubMed Central  Google Scholar 

  37. 37.

    Kao, Y.-T. T., Zhu, X. & Min, W. Protein-flexibility mediated coupling between photoswitching kinetics and surrounding viscosity of a photochromic fluorescent protein. Proc. Natl Acad. Sci. USA 109, 3220–3225 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  38. 38.

    Coquelle, N. et al. Chromophore twisting in the excited state of a photoswitchable fluorescent protein captured by time-resolved serial femtosecond crystallography. Nat. Chem. 10, 31–37 (2018).

    CAS  PubMed  Google Scholar 

  39. 39.

    Woodhouse, J. et al. Photoswitching mechanism of a fluorescent protein revealed by time-resolved crystallography and transient absorption spectroscopy. Nat. Commun. 11, 741 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  40. 40.

    Dreier, J. et al. Smart scanning for low-illumination and fast RESOLFT nanoscopy in vivo. Nat. Commun. 10, 556 (2019).

    PubMed  PubMed Central  Google Scholar 

  41. 41.

    Masullo, L. A. et al. Enhanced photon collection enables four dimensional fluorescence nanoscopy of living systems. Nat. Commun., (2018).

    Article  PubMed  PubMed Central  Google Scholar 

  42. 42.

    Bagur, R. & Hajnóczky, G. Intracellular Ca2+ sensing: its role in calcium homeostasis and signaling. Mol. Cell 66, 780–788 (2017).

    CAS  PubMed  PubMed Central  Google Scholar 

  43. 43.

    Vetschera, P. et al. Characterization of reversibly switchable fluorescent proteins in optoacoustic imaging. Anal. Chem. 90, 10527–10535 (2018).

    CAS  PubMed  Google Scholar 

  44. 44.

    Marvin, J. S., Schreiter, E. R., Echevarría, I. M. & Looger, L. L. A genetically encoded, high-signal-to-noise maltose sensor. Proteins 79, 3025–3036 (2011).

    CAS  PubMed  PubMed Central  Google Scholar 

  45. 45.

    Patriarchi, T. et al. Ultrafast neuronal imaging of dopamine dynamics with designed genetically encoded sensors. Science 360, eaat4422 (2018).

    PubMed  PubMed Central  Google Scholar 

  46. 46.

    Zhou, X. X., Chung, H. K., Lam, A. J. & Lin, M. Z. Optical control of protein activity by fluorescent protein domains. Science 338, 810–814 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  47. 47.

    Fosque, B. F. et al. Neural circuits. Labeling of active neural circuits in vivo with designed calcium integrators. Science 347, 755–760 (2015).

    CAS  PubMed  Google Scholar 

  48. 48.

    Ai, M. et al. Green-to-red photoconversion of GCaMP. PLoS ONE 10, e0138127 (2015).

    PubMed  PubMed Central  Google Scholar 

  49. 49.

    Berlin, S. et al. Photoactivatable genetically encoded calcium indicators for targeted neuronal imaging. Nat. Methods 12, 852–858 (2015).

    CAS  PubMed  PubMed Central  Google Scholar 

  50. 50.

    Sha, F., Abdelfattah, A. S., Patel, R. & Schreiter, E. R. Erasable labeling of neuronal activity using a reversible calcium marker. eLife 9, e57249 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  51. 51.

    Medina, D. L. L. et al. Lysosomal calcium signalling regulates autophagy through calcineurin and TFEB. Nat. Cell Biol. 17, 288–299 (2015).

    PubMed  PubMed Central  Google Scholar 

  52. 52.

    Quintana, A. et al. Calcium microdomains at the immunological synapse: how ORAI channels, mitochondria and calcium pumps generate local calcium signals for efficient T-cell activation. EMBO J. 30, 3895–3912 (2011).

    CAS  PubMed  PubMed Central  Google Scholar 

  53. 53.

    Filadi, R., Theurey, P. & Pizzo, P. The endoplasmic reticulum-mitochondria coupling in health and disease: molecules, functions and significance. Cell Calcium 62, 1–15 (2017).

    CAS  PubMed  Google Scholar 

  54. 54.

    Kennedy, H. J. et al. Glucose generates sub-plasma membrane ATP microdomains in single islet beta-cells. Potential role for strategically located mitochondria. J. Biol. Chem. 274, 13281–13291 (1999).

    CAS  PubMed  Google Scholar 

  55. 55.

    Maman, S. & Witz, I. P. A history of exploring cancer in context. Nat. Rev. Cancer 18, 359–376 (2018).

    CAS  PubMed  Google Scholar 

  56. 56.

    Payen, V. L., Mina, E., Van Hée, V. F., Porporato, P. E. & Sonveaux, P. Monocarboxylate transporters in cancer. Mol. Metab. 33, 48–66 (2019).

  57. 57.

    O’Sullivan, D., Sanin, D. E., Pearce, E. J. & Pearce, E. L. Metabolic interventions in the immune response to cancer. Nat. Rev. Immunol. 19, 324–335 (2019).

    PubMed  Google Scholar 

  58. 58.

    Damenti, M., Coceano, G., Pennacchietti, F., Bodén, A. & Testa, I. STED and parallelized RESOLFT optical nanoscopy of the tubular endoplasmic reticulum and its mitochondrial contacts in neuronal cells. Neurobiol. Dis. 155, 105361 (2021).

  59. 59.

    Pédelacq, J.-D., Cabantous, S., Tran, T., Terwilliger, T. C. & Waldo, G. S. Engineering and characterization of a superfolder green fluorescent protein. Nat. Biotechnol. 24, 79–88 (2006).

    PubMed  Google Scholar 

  60. 60.

    Moreno, X., Al-Kadhimi, S., Alvelid, J., Bodén, A. & Testa, I. ImSwitch: generalizing microscope control in Python. J. Open Source Softw. 6, 3394 (2021).

    Google Scholar 

  61. 61.

    Beckers, D., Urbancic, D. & Sezgin, E. Impact of nanoscale hindrances on the relationship between lipid packing and diffusion in model membranes. J. Phys. Chem. B 124, 1487–1494 (2020).

    CAS  PubMed  PubMed Central  Google Scholar 

  62. 62.

    Fuenzalida Werner, J. P. et al. Challenging a preconception: optoacoustic spectrum differs from the optical absorption spectrum of proteins and dyes for molecular imaging. Anal. Chem. 92, 10717–10724 (2020).

    CAS  PubMed  Google Scholar 

  63. 63.

    Rosenthal, A., Razansky, D. & Ntziachristos, V. Fast semi-analytical model-based acoustic inversion for quantitative optoacoustic tomography. IEEE Trans. Med. Imaging 29, 1275–1285 (2010).

    PubMed  Google Scholar 

  64. 64.

    Schwarz, M., Buehler, A., Aguirre, J. & Ntziachristos, V. Three-dimensional multispectral optoacoustic mesoscopy reveals melanin and blood oxygenation in human skin in vivo. J. Biophotonics 9, 55–60 (2016).

    CAS  PubMed  Google Scholar 

  65. 65.

    Omar, M., Gateau, J. & Ntziachristos, V. Raster-scan optoacoustic mesoscopy in the 25–125 MHz range. Opt. Lett. 38, 2472–2474 (2013).

    PubMed  Google Scholar 

  66. 66.

    Helassa, N. et al. Fast-response Calmodulin-based fluorescent indicators reveal rapid intracellular calcium dynamics. Sci. Rep. 5, 15978 (2015).

  67. 67.

    Helassa, N., Podor, B., Fine, A. & Török, K. Design and mechanistic insight into ultrafast calcium indicators for monitoring intracellular calcium dynamics. Sci. Rep. 6, 38276 (2016).

  68. 68.

    Wu, J. et al. Red fluorescent genetically encoded Ca2+ indicators for use in mitochondria and endoplasmic reticulum. Biochem. J. 464, 13–22 (2014).

    CAS  PubMed  Google Scholar 

  69. 69.

    Gee, J. M. et al. Imaging activity in neurons and glia with a Polr2a-based and Cre-dependent GCaMP5G-IRES-tdTomato reporter mouse. Neuron 83, 1058–1072 (2014).

    CAS  PubMed  PubMed Central  Google Scholar 

Download references


We thank R. J. Wilson and S. Sulima for discussions on the manuscript; K. Winkler and R. Hillermann for technical assistance and J. Malekzadeh for initial MSOT measurements; H. Yang and D. Jüstel for advice on tomographic image reconstruction; P. Vetschera and A. Ghazaryan for initial development of the OA spectrometer; and iThera Medical for counseling on MSOT customization. K.M. (no. STI656/1-1) and A.C.S. (no. STI656/1-1 and no. STI 656/6-1) received funding from DFG. C.Z. received funding from the European Union Horizon 2020 research and innovation program under grant agreement no. 732720 (ESOTRAC). Y.H. thanks the China Scholarship Council for support via fellowship no. CSC 201306960006). I.T. and F.P. received funding from ERC starting grant no. MoNaLISA 638314 and VR starting grant no. 2016-03572.


Open access funding provided by Helmholtz Zentrum München - Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH).

Author information




K.M. envisioned mutations, planned experiments, conducted molecular biology, protein purification and cell culture work and helped with spectroscopy and manuscript writing. J.P.F.-W. envisioned mutations, planned experiments, conducted spectroscopy work, helped with protein purification, helped in conducting and planning the OA imaging experiments and helped with manuscript writing. F.P. performed super-resolution experiments, controls and analyzed data. R.J. grew crystals, recorded crystallography data and elucidated structures. A.C. performed confocal imaging. Y.H., J.P.F.-W. and K.M. conducted OA tomography experiments. C.Z. conducted raster-scanning OA experiments. U.K. assisted with all animal work. I.T., D.N. and V.N. contributed to the manuscript. A.C.S. envisioned the project, conceptualized photo-switching sensors, planned the experiments and wrote the manuscript.

Corresponding author

Correspondence to Andre C. Stiel.

Ethics declarations

Competing interests

V.N. is a shareholder of iThera Medical, manufacturer of one of the devices used for OA measurements.

Additional information

Peer review information Nature Biotechnology thanks the anonymous reviewers for their contribution to the peer review of this work.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Extended data

Extended Data Fig. 1 Lifetime dependence on Ca2+ for rsEGFP2 (non-sensor RSFP) and rsGCaMP1.4-ER.

The lifetimes of rsEGFP2 and rsGCaMP1.4-ER have been estimated at different calcium concentrations. The instrument response function (IRF) of the system is 200 ps (calculated FWHM) and the lifetime decay has been analyzed as a double exponential (see fit model in a and c). The raw data are reported for the different calcium conditions together with the fit for rsEGFP2 (a) and rsGCaMP1.4-ER (c). The residues and assessment of fit quality is reported separately for each condition below the corresponding dataset. The times and their contribution to the overall decay are reported in (b) and (d) for rsEGFP2 and rsGCaMP1.4-ER, respectively. The graphs report the value with the associated uncertainty derived from the fitting. The data is from one measurement (n=1). For rsEGFP2, two characteristic times of 2.68 ± 0.03 ns and 0.53 ± 0.06 ns can be detected above the IRF of the system and their amplitudes do not change for the two extreme conditions of calcium concentration in solution. For rsGCaMP1.4-ER the contribution to the fit of a fast component at 0.48 ± 0.03 ns appears to increase at higher Ca2+ concentrations at the expenses of the slower component of 1.9 ± 0.1 ns.

Source data

Extended Data Fig. 2 Different putative state diagram for rsGCaMPs.

Shown are simplified models for the photo-switching and Ca2+ binding dependent state changes. States, changes, and constants shown in gray are inferred, but we acquired no direct evidence of those state changes in this work. In particular, the switching (ksw-off/free and ksw-on/free) and relaxation (kdark/free) of the Ca2+-free state either do not exist or follow different photophysics than the Ca2+ bound states. For the Ca2+ association (kon) and disassociation (koff) in the switched on- and off-states, similar kinetics can be presumed due to the relative structural independence of the Ca2+ binding sites (but not known with certainty). The models assume either (a) a distinct photo-switched Ca2+-free state, presumably with a trans chromophore, which can revert back to the Ca2+ free state with a cis chromophore, (b) a distinct photo-switched Ca2+-free state, presumably with a trans chromophore, which can only revert back to the cis-chromophore via the Ca2+-bound state, or (c) that unbinding of the off-state with a trans chromophore directly reverts back to the unbound-state with a cis chromophore (presumably via a short-lived intermediate state). (d) Extended model as in a, but encompassing different binding states of Ca2+ for calmodulin (2 or 4 molecules of Ca2+), as suggested in66,67. Those states are likely to result also in different states for rsGCaMPs with different photophysics that can extend to photoswitching and dark-relaxation. This is a potential explanation for the Ca2+ dependent kinetics. Our current evidence strongly suggests this model with the slow and fast components (Extended Data Fig. 1 and Supplementary Fig. 6), likely associated with k2sw-off/bound and k4sw-off/bound, respectively (see also Supporting Information 2). The situation observed in the crystals and the switching thereof is artificially constricted to the bound states due to the crystallization occurring in this state (dotted box), which may explain the differences observed in Supplementary Fig. 9. For Model d this can presumably be a mixture of two states; however, due to uniformity in the crystal and no observed difference density, it is likely that only the sensor bound to four calcium ions crystallized (that is situation similar as in a).

Extended Data Fig. 3 Mammalian cell Ca2+ response and photo-switching of rsGCaMP variants.

a, Representative images of n=3 of HeLa cells expressing rsGCaMP1.1 treated with 5 µM Ionomycin and 5 mM EGTA or 10mM Ca2+ at consecutive timepoints, along with switching traces and the mean fluorescence intensities of exemplary pixels (asterisk). Samples were illuminated with 405 nm (100 kW/cm2) for on-switching and 485 nm for readout/off-switching (5 kW/cm2). The data shown are from single exemplary measurements. b, Similar data representative data of n=3 for rsGCaMP1.3. c, Exemplary images and fluorescence responses of HeLa cells expressing rsGCaMP1.4ER targeted to the ER with 10 µM Thapsigargin treatment. The change of the fluorescence signal upon Thapsigargin treatment is consistent with other GEIs for calcium targeted to the ER, such as GCaMPer (10.19)30 or ER-LAR-GECO168. For the fluorescence change, the mean and standard deviation of n=10 cells are shown. Scalebar for all images 10 µm. d, A similar exemplary Thapsigargin treatment experiment imaged with enhanced confocal. Shown is a representative of n=4.

Extended Data Fig. 4 Hula-twist in different RSFPs.

a and b, rsEGFP2 in comparison with rsGCaMP1.1. c, Contracted rsEGFP2 (Chang, 201936) in comparison with rsGCaMP1.1. d, Chromophores in the ON and OFF states colored as in previous panels.

Extended Data Fig. 5 Photo-switching for rsGCaMP under RESOLFT imaging conditions.

All experiments were performed on purified protein (1 mg/µl) in Acrylamide gel. a, Off-switching kinetics for different rsGCaMP variants under the same 488 nm intensity light (mean ± std of n=2 repetitions on different areas of the gel). A comparison with rsEGFP2, which is often used for RESOLFT imaging, is also included. Under continuous illumination with 488 nm light at 0.5 kW/cm2, the lifetime of the off-switching decay is 1.67 ± 0.05 for rsEGFP2. In general, the lifetimes are faster for the different rsGCaMPs: 0.41 ± 0.04 ms for rsGCaMP1.1, 0.85 ± 0.02 ms for rsGCaMP1.4-ER, and 1.2 ± 0.1 ms for rsGCaMP1.4-ER2. b, Residual fluorescence under the same 488 nm light. The background level is 4.0 ± 0.3% for rsEGFP2, 14 ± 1% for rsGCaMP1.1, 12.8 ± 0.3% for rsGCaMP1.4-ER, and 8.7 ± 0.2% for rsGCaMP1.4-ER2 (mean ± std over the last 20 points of the off-switching decay). c Off-switching rate between 0.1 and 1 kW/cm2. The rates extracted from the linear fits for the different proteins are: 2.31 ± 0.06 ms−1 for rsEGFP2, 4.6 ± 0.4 ms−1 for rsGCaMP1.1, 4.3 ± 0.1 ms−1 for rsGCaMP1.4-ER, and 4.5 ± 0.3 ms−1 for rsGCaMP1.4-ER2. d, On switching rate, followed by monitoring the fluorescence at increasing 405 nm intensity (mean ± std of n=3 repetitions). e, Fatigue resistance under the same illumination intensity of 488 and 405 nm (mean ± std of n=3 repetitions). Color code for (a-e) as in (b). f, Variation of the off-kinetics in relation to the Ca2+ concentration. g, Background fluorescence of the curves in (f) as a function of Ca2+ concentration. h, Off-rate of the curves in (f) as a function of Ca2+ concentration. The experiment results are reported as the mean ± std of 3–5 repetitions on different areas of the gel.

Source data

Extended Data Fig. 6 Further representative images of rsGCaMP1.4-ER.

a-b, For two different cells (n=2, with Fig.3 a total of n=3), en. confocal and MoNaLISA images taken of each cell transfected with rsGCaMP1.4-ER are shown. Two areas of the ER network are highlighted in enlargements #1 and #2. The line profiles across the red marks are fitted with a double gaussian (experimental points for the MoNaLISA image are represented as black dots, the related fit as a solid line, while the line profile over the confocal is shown as solid grey line). All images were acquired with a pixel size of 35 nm over the 625 nm scanning period, which, with a dwell time of 5 ms, results in a frame time of 1.6 sec. The final images are reported as the sum of 10 consecutive frames. c, For quantifying the resolution the FWHM across several ER tubules which are relatively persisting between the sequential acquisition of the MoNaLISA and the en. confocal image have been measured for the image reported in Figure 3b. To identify the regions of less mobility the skeleton images of the En. Confocal (grey line) and the MoNaLISA (cyan line) have been compared (left panel). The image of the difference between them (right panel) allows to identify tubules over the network that undergo minimal movement inside the interval of recording for the two images (with a precision of around 100 nm). The magenta lines identify the regions where the line profile (averaged over 4 pixels, 140 nm) has been traced. Scale bars, 5 µm. The graph on the very right reports the FWHMs for the same line profiles traced either in the MoNaLISA image or the en. confocal image (n=26). The box plot reports the median line, the 25%–75% percentile box and 1.5IQR whiskers interval are reported. The fit has been performed as reported in the methods section.

Extended Data Fig. 7 Nanoscale comparison between rsGCaMP1.4-ER and rsFP rsEGFP2 (not a sensor).

MoNaLISA images of ER labelled either with (a) rsEGFP2 or (b) rsGCaMP1.4-ER. The full field of view of 40x40 μm2 is reported together with zooms in the cells to highlight the increased details in the visualization of the structure and the distribution of the two proteins (and Ca2+ in case of rsGCaMP1.4ER). #1 and #2 are enlargements of rsEGFP2-ER a, while #3 and #4 are from rsGCaMP1.4-ER. Line profile across the tubules in region-of-interest #3 and #4 are reported, with the experimental points for the MoNaLISA as black dots; the double Gaussian fit over them in solid black line and the confocal line profile in solid gray line. (c) The rsEGFP2 image of the previous panel a is artificially lowered in signal as it would correspond to the mean signal of rsGCaMP1.4-ER. (d) Enlargement of area #5 from panel c. (e) Histogram of the fluorescence counts for the MoNaLISA images of the rsGCaMP1.4-ER (same image reported in panel b, blue bars), rsEGFP2-ER (image of panel a, red bars) and rsEGFP2-ER rescaled down by a factor of 4 to reach a similar distribution of rsGCaMP1.4-ER (image of panel c, yellow bars). It becomes apparent that this loss in signal carries an expected increase of sparsity of the signal. The images are representative of 5 repetitions (n=5).

Extended Data Fig. 8 Exemplary OA Imaging (n=1) with different geometries: 64-element array and single element scanning.

a, Tomography slice of tubings filled with blood or rsGCaMP with different Ca2+ concentrations. The sample is consecutively illuminated with 488 nm (1.8 mJ/s) and 420 nm (1.8 mJ/s) light to elicit photo-modulation. The raw data is shown (acquisition dynamic range adjusted to blood intensity) and unmixed based on the photo-modulation pattern. b, Normalized switching kinetics extracted by averaging over 10 switching cycles obtained from (a) (dots) together with linear regression (line). c, Normalized time constants from (b) vs. Ca2+ concentrations. d, Raster scanning optoacoustic (RSOM) images of tubings filled with blood or rsGCaMP with different Ca2+ concentrations. The sample was consecutively illuminated with either only 50 Hz pulsed 488 nm light (90 µJ at the sample) or 488 nm light together with different intensities of 405 nm light (max. 0.8 W at the sample) to switch rsGCaMP off or to maintain different mixed populations, respectively. The raw data is shown and unmixed based on differential images using the highest 405 nm intensity. e, Normalized unmixed signals obtained from (d) at different 405 nm intensities together with linear regressions. f, Normalized half-times obtained from (e) vs. Ca2+ concentrations. All scalebars 1 mm.

Extended Data Fig. 9 Additional data photo-switching maltose sensor and exemplary photo-switching variant of Dopamine sensor dLight1.3b45.

a, Two independent repetitions of maltose dependent photo-switching. Measurements like in Figure 4e. Yielding a total of three independent measurements (n=3). b, Concept of photo-switching GCPR based sensors. c, Change of fluorescence upon photo-switching shown for our engineered reversibly photo-switchable version of dLight1.3b (I253_N254insH, A268S, T415A, Q419L) with 10 µM and without dopamine. Since GPCR-based sensors express as mammalian membrane proteins the fluorescence was directly recorded upon switching of the sensor in HeLa cells. Shown are two representative photo-switching cycles of a single measurement (n=1). d, Dopamine response and photo-switching of the sensor expressed in HeLa cells. Shown are two independent measurements (n=2). Poor expression and signal complicated the analysis; however, it showcases the general possibility of using dopamine dependent photo-switching in imaging experiments. Scalebar 10 µm, light energies as in Extended Data Fig. 3.

Extended Data Table 1 Overview of Ca2+ binding rsGCaMP variants generated and proteins considered in this work.

a, Overview of the mutations introduced into GCaMP5G to generate the variants presented in this work. rsEGFP2 numbering is additionally indicated for comparison. b, Photophysical and Ca2+ binding data for variants from (a). All data was recorded as experimental triplicates (n=3) with the mean and standard deviation given. Photo-switching was achieved using a 405 / 12.5 nm LED and a 490 / 26 nm LED. Light was delivered with a 5 mm core diameter liquid light guide to the 50 µl cuvette, illuminating the whole volume from the top with 1528 mW/cm2 and 279 mW/cm2 at 405 and 488 nm, respectively28,29,69.

Supplementary information

Supplementary Information

Supporting Information 1–5, Figs. 1–19 and Tables 1–3.

Reporting Summary

Source data

Source Data Fig. 1

Crystallographic data deposited independently.

Source Data Fig. 4

Numerical data a–c in .xls format (a, one sheet; all other sheets, b,c). Imaging data deposited with

Source Data Fig. 5

One sheet per panel table. Source data can be extracted from Supplementary Figs. 1–3, deposited with

Source Data Extended Data Fig. 1

Explanatory graphic—no data. Crystallographic data deposited independently.

Source Data Extended Data Fig. 5

Imaging data deposited with

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Mishra, K., Fuenzalida-Werner, J.P., Pennacchietti, F. et al. Genetically encoded photo-switchable molecular sensors for optoacoustic and super-resolution imaging. Nat Biotechnol (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing