Introduction

Single-molecule Förster resonance energy transfer (FRET) spectroscopy is a very sensitive tool to detect distance changes on a nanometer scale. Since its development, it has become an indispensable experimental method in many areas of modern biological sciences1,2,3,4,5,6. In most single-molecule FRET studies, two-color FRET with a single pair of fluorophores (i.e., one donor and one acceptor) is used to deduce molecular states from the single distance information. Three-color FRET can provide much more information on molecular conformations7,8. For example, by attaching three fluorophores to a protein or nucleic acid, three-dimensional (3D) conformational changes including correlated motions of different parts of a molecule can be followed during folding7,9. Three-color FRET can also be used for probing molecular interactions. If conformational changes occur during protein-protein interactions, such as coupled binding and folding of intrinsically disordered proteins (IDPs)10, by attaching two fluorophores to a disordered protein and the third fluorophore to the second molecule, it is possible to correlate conformational changes of the IDP and its interaction with a binding partner. These processes often occur on a fast time scale (μs–ms)9,11,12,13,14, but the time resolution of typical three-color FRET experiments remains at tens of milliseconds. In this article, we describe our development of three-color FRET spectroscopy using intense continuous-wave (CW) laser excitation for the investigation of fast molecular processes occurring on μs to ms time scales.

Figure 1 provides a summary of the method in this paper. Typically three-color FRET is done with alternating laser excitation (ALEX)15,16 using CW lasers with intensity modulations or pulse-interleaved excitation (PIE)17 using pulsed lasers to determine all three FRET efficiencies (Fig. 1b)18,19. However, additional acceptor excitation increases photophysical problems such as photoblinking and photobleaching particularly when using intense pulses to collect data at a high photon detection rate (e.g., >50 ms−1). Single CW excitation alleviates these photophysical problems (see Supplementary Fig. 1 for the comparison of photophysical properties in single CW excitation and PIE). To determine all three FRET efficiencies by single CW laser excitation, we globally analyze three-color and two-color parts of trajectories (Fig. 1c, d). Due to the incomplete labeling and photobleaching of one of the two acceptors during the measurement, two-color segments are always present and can be utilized. By determining one FRET efficiency from the two-color photon trajectories, it is possible to calculate all three FRET efficiencies as previously demonstrated for slower processes20,21. To enhance the time resolution, we extended the photon trajectory analysis using the maximum likelihood method developed by Gopich and Szabo22 to the three-color analysis. This global analysis of fluorescence photon trajectories using the maximum likelihood method determines many parameters simultaneously and therefore involves extensive computation. We developed a fitting routine using CPU-GPU co-parallelization that reduces the computation time significantly, by almost two orders of magnitude compared to the calculation with a single CPU processor (see Supplementary Fig. 2 and “Methods”). (Analysis codes are available at https://github.com/hoisunglab/FRET_3colorCW.) We also describe the correction procedures to obtain accurate FRET efficiencies that can be related to the distances between the dyes.

Fig. 1: Three-color FRET.
figure 1

a When the donor (D) is excited by a laser (blue arrows), the excited energy decays to the ground state either through the radiative (rippled arrows) or non-radiative pathways (dashed arrows) with rate constant kD or the excited energy is transferred to A1 and A2 with transfer rates kET1 and kET2, respectively. The excited state energy of A1 can also be transferred to A2 with a transfer rate kET12. The two-color FRET efficiencies (E1, E2, and E12) are the efficiencies of the energy transfer between corresponding two dyes in the absence of a third dye. b Three-color alternating laser excitation or pulse-interleaved excitation (3c-ALEX/PIE) scheme. A molecule (light gray) containing all three fluorophores is excited by a donor excitation laser (Donor-ex) and an A1 excitation laser (yellow rippled arrow, A1-ex) alternately. The parameters are determined from the global analysis of the photon trajectories. The relaxation rate k and the population of the folded state pF are global fitting parameters. The fractions of acceptor 1 (ε1) and acceptor 2 (ε2) photon count rates in the folded (F) and unfolded (U) states are determined from the photon trajectories by D excitation. From the trajectories by A1 excitation, the fraction of A2 count rate, ε12, is determined. These acceptor fractions are converted to FRET efficiencies defined in (a) (see Methods). c The global analysis scheme of three- and two-color segments collected in a three-color CW donor excitation (3c-CW) folding experiment. From the two-color acceptor fractions, εDA1 and εDA2, two-color FRET efficiencies E12c and E22c are obtained, respectively. Using these values, two sets of three-color FRET efficiencies can be calculated and compared. d The global analysis scheme in a three-color CW donor excitation (3c-CW) binding experiment. The three-color and DA1 parts of the photon trajectories cannot be separately analyzed as in (c) because the unbound state is always two-color (DA1), whereas the bound state is either three-color or two-color (DA1) due to the binding to either A2-labeled (middle) or A2-unlabeled (left) binding partner. The three-color FRET efficiencies can be determined similarly using the acceptor fractions obtained from the maximum likelihood method.

To demonstrate the performance of the three-color CW method, we apply this method to two different systems: (1) folding of a designed protein, α3D23,24,25, and (2) binding of a disordered protein, the N-terminal transactivation domain (TAD) of the tumor suppressor protein p53, and one of its binding partners, the nuclear coactivator binding domain (NCBD) of the CREB binding protein (CBP)26 (Fig. 2). All fluorophores are attached site-specifically13,18 (see Methods and Fig. 2). Although both systems are two-state systems, the data of the binding experiment is much more complex and a completely different kinetics model is used in the analysis. In both experiments, we successfully extract fast (μs–ms) kinetic parameters, which are similar to the previous two-color experimental results. The analysis of simulated photon trajectories shows that folding and binding rates close to the photon count rate (65 ms−1) can be successfully extracted. We also compare the FRET efficiencies obtained from three-color measurements and two-color measurements and discuss the discrepancies between these values. Importantly, we find that the FRET efficiency conversion from the extracted fractions of acceptor photon count rates (acceptor fraction, ε) can be inaccurate depending on the specific set of values of a system. In this case, it is important to choose a FRET efficiency conversion scheme that leads to the smallest errors to calculate the three-color FRET efficiencies.

Fig. 2: Three-color FRET in protein folding and binding.
figure 2

a Three different fluorophores are attached to α3D site-specifically. Alexa 488 (donor, D) and Alexa 594 (acceptor 1, A1) are attached to 4-acetylphenylalanine (UA) at the N-terminus and cysteine at residue 33, respectively. Then, a cysteine residue is attached to the C-terminus using sortase-mediated ligation of a short peptide GGGC. This cysteine residue is labeled with CF680R (acceptor 2, A2). The labeled protein is immobilized on a polyethyleneglycol (PEG)-coated glass surface using biotin-streptavidin linkage. In two-color FRET, site-specific labeling of two fluorophores is not usually necessary because the two species with the different donor and acceptor positions would not cause a significant difference in the FRET efficiency unless fluorescence quenching occurs at one of the two labeling positions. In three-color FRET, however, when A1 and A2 are switched, for example, the distances between D and A1 and between D and A2 become different. b D and A1 are attached to 4-acetylphenylalanine and cysteine residues at the N- and C-termini of the transactivation domain (TAD), respectively, which is immobilized on the surface. TAD is incubated with A2-labeled NCBD in solution at a concentration close to the dissociation constant to monitor binding and dissociation events.

Results

Design of protein constructs and dye labeling

Site-specific labeling is necessary in three-color experiments to avoid ambiguity resulting from molecular species with different combinations of labeling positions (see Fig. 2a). In the experiment of α3D folding, we attached three fluorophores site-specifically and the protein was immobilized on a surface as shown in Fig. 2a18. Folding and unfolding were monitored at three different guanidinium chloride (GdmCl) concentrations (2, 2.25, and 2.5 M) near the denaturation mid-point. In the binding experiment, disordered TAD was labeled with two fluorophores (donor and A1) site-specifically, immobilized, and incubated with NCBD labeled with A2. TAD folds upon binding NCBD in solution. Binding and dissociation were monitored at the concentration of NCBD near the dissociation constant at three different NaCl concentrations (0, 10, and 30 mM).

Fraction of acceptor photon count rate and FRET efficiency

The parameters extracted using the maximum likelihood analysis are not the FRET efficiencies, but the fractions of acceptor photon count rates. Specifically, ε1 and ε2 are the fractions of A1 and A2 in the three-color photon trajectories (see Eq. (2)), and εDA1 and εDA2 are the fractions of A1 and A2 in the two-color DA1 and DA2 trajectories, respectively (see Eq. (3)).

The acceptor fractions were determined by global analysis of the two- and three-color parts of trajectories using the maximum likelihood method with appropriate kinetic models (Fig. 1c, d). We have shown previously that the kinetic parameters, especially the rate coefficients on the time scale of milliseconds and shorter are affected by acceptor blinking27. To obtain more accurate parameters, blinking of both acceptors was incorporated into the models. As a result, we used eight-state models both for folding of α3D and for TAD/NCBD binding (see Supplementary Fig. 3 and Methods for the details of the kinetic models used in this study). The extracted acceptor fraction parameters were converted to the FRET efficiencies (see Methods).

The three FRET efficiencies between the three fluorophores are defined in Fig. 1a and Methods. E1, E2, and E12 are the FRET efficiencies between D and A1, between D and A2, and between A1 and A2 in the absence of A2, A1, and D, respectively. These values are directly related to the distances between two corresponding fluorophores. We refer to the FRET efficiencies obtained directly from the two-color parts of trajectories, DA1 and DA2, as \(E_{\mathrm{1}}^{{\mathrm{2c}}}\) and \(E_2^{{\mathrm{2c}}}\), respectively, and the FRET efficiencies from the three-color part as \(E_{\mathrm{1}}^{{\mathrm{3c}}}\), \(E_2^{{\mathrm{3c}}}\), and \(E_{{\mathrm{12}}}^{{\mathrm{3c}}}\). These three-color FRET efficiencies can be found in two ways, using \(E_{\mathrm{1}}^{{\mathrm{2c}}}\) (Eq. (7)) or \(E_2^{{\mathrm{2c}}}\) (Eq. (8)).

CPU–GPU co-parallelization for the likelihood calculation

The calculation of the likelihood function requires a large number of matrix–vector multiplications. To accelerate the optimization, we parallelized the likelihood calculation using both GPU and CPU (Supplementary Fig. 2a). In the analysis, a photon trajectory of one molecule is separated into different color segments (three-color, DA1, and DA2 for α3D folding and three-color/DA1 and DA2 for TAD/NCBD binding). The basic idea is to parallelize the evaluation of the likelihood values of independent segments of photon trajectories by distributing these calculations to all available GPU and CPU processors (see Methods). The acceleration by parallel processing are compared in Supplementary Fig. 2.

Chemical denaturation of α3D

Representative equilibrium fluorescence trajectories (1 ms bin time) are shown in Fig. 3a for folding and unfolding of α3D. The upper trajectory begins with a three-color segment where all three dyes are active (i.e., fluorescing), which is followed by a two-color segment where D and A1 are active (DA1 segment) after A2 photobleaching (red arrow) and a donor-only segment after subsequent A1 photobleaching (orange arrow). In the lower trajectory, A1 is photobleached first, which leads to the transition from a three-color segment to a segment containing active D and A2 (DA2 segment). Although previous two-color single-molecule experiments show that α3D is a two-state protein25, folding and unfolding transitions are not readily observable in the binned trajectory in Fig. 3a. Histograms of ε1 and ε2 for the three-color segments (Fig. 3b) and ε’s for DA1 and DA2 (Fig. 3c) at three different GdmCl concentrations also show almost featureless single peaks. However, ε2 histogram at 2.25 M shows two peaks with a significant overlap, suggesting there are two states. In addition, ε2 peaks at 2 and 2.5 M are skewed toward the higher and lower side of the two peaks at 2.25 M GdmCl, respectively, indicating the shift of the equilibrium from the folded (high ε2) to the unfolded (low ε2) state by denaturation. When the protein unfolds, all three distances between the fluorophores increase. Therefore, the decrease of ε2 with the increasing GdmCl concentration is an expected result. On the other hand, the change in ε1 is more complex. When the protein unfolds, ε1 can decrease because of less transfer from D to A1 (E1), whereas it can also increase because of less transfer from A1 to A2 (E12). The increase in ε1 with the increasing GdmCl concentration suggests that the net effect is the detection of more A1 photons in the unfolded state. The shifts of the histograms of two-color trajectories (DA1 and DA2, Fig. 3c) are much smaller primarily due to the small difference of acceptor fractions εDA1 and εDA2 between the folded and unfolded states (see accurate determinations of parameters using the maximum likelihood method in the following sections).

Fig. 3: Fluorescence trajectories and histograms of fraction of acceptor photon counts.
figure 3

The bin time of 1 ms is used for the trajectories and histograms. Green, orange, and red arrows indicate photobleaching of D, A1, and A2, respectively. ac Fluorescence trajectories and acceptor photon fraction histograms of α3D at different GdmCl concentrations. 107 (2 M), 195 (2.25 M), and 215 (2.5 M) three-color DA1A2 trajectories (i.e., molecules), 40 (2 M), 190 (2.25 M), and 212 (2.5 M) two-color DA1 trajectories, and 84 (2 M), 110 (2.25 M), and 188 (2.5 M) two-color DA2 trajectories were analyzed. a Two α3D trajectories of the donor (green), acceptor 1 (orange) and acceptor 2 (red) fluorescence at 2.25 M GdmCl. In the upper trajectory, A2 fluorescence after A2 photobleaching (red arrow) that is maintained before A1 photobleaching (orange arrow) results from the leak of A1 photons into A2 channel. States assigned by the Viterbi algorithm are shown in the color bar above the upper trajectory. b Histograms of the uncorrected fractions of A1 (ε1) and A2 (ε2) from three-color segments (DA1A2). c Histograms of the uncorrected fractions of acceptor photons (ε) from two-color segments (DA1 and DA2). df Fluorescence trajectories and acceptor photon fraction histograms of TAD-NCBD binding at different NaCl concentrations. 140, 140, and 186 molecules were analyzed at 0, 10, and 30 mM NaCl, respectively. d Donor (green), acceptor 1 (orange) and acceptor 2 (red) fluorescence trajectories at 0 mM (upper) and 30 mM NaCl (lower). Apparent states are assigned by visual inspection as indicated in the color bar above the trajectory at 0 mM. States assigned by the Viterbi algorithm for a trajectory at 30 mM NaCl are shown in Supplementary Fig. 5. e Histograms of the uncorrected fractions of A1 (ε1) and A2 (ε2) from three-color (DA1A2)/DA1 segments. Enlarged histograms of the bound state (0.4 < ε2 < 1) are shown in the insets. f Histograms of the uncorrected fractions of acceptor photons from DA2 segments. Enlarged histograms of the bound state (0.4 < ε < 1) are shown in the insets.

We also performed free-diffusion experiments, in which molecules are not immobilized, but freely diffuse and emit a burst of fluorescence photons when they pass through the laser focus. The one- and two-dimensional acceptor fraction histograms from the free-diffusion experiments are similar to those from the immobilization experiments (Supplementary Fig. 4), which indicates the surface immobilization effect on the protein dynamics is small as also verified in the previous two-color FRET study25.

Coupled binding and folding of TAD

As mentioned in Introduction, binding of TAD and NCBD is a two-state system as α3D folding, but the data is much more complex as shown in the trajectories in Fig. 3d and a different kinetic model needs to be used. In the upper trajectory in Fig. 3d, which was collected at 0 mM NaCl, the binding and dissociation kinetics are relatively slow and states can be distinguished by visual identification of binding and dissociation transitions as indicated by different colors in the bar above the trajectory. The trajectory begins with the unbound state, where A2 intensity is close to the background level and the donor intensity is higher than A1 intensity. In the second fragment (magenta color in the bar), A2 intensity is the highest and both donor and A1 intensities are low, indicating this is the bound state with three active fluorophores. Therefore, the transition from the first to the second fragment results from binding of an A2-labeled NCBD molecule. The next short fragment is the unbound state again, and the transition to this fragment is dissociation. This binding and dissociation transitions repeat in the following fragments. Then, in the middle of the trajectory, different transitions are observed as indicated by cyan–orange–cyan in the color bar. The orange fragment is a two-color fragment as the unbound state, but A1 intensity is higher than D intensity, indicating the FRET efficiency E1 is higher than that of the unbound state. Therefore, this fragment corresponds to the bound state with an unlabeled (or with inactive A2) NCBD molecule. Since the photons emitted by three (DA1A2, bound state) and two (DA1, both bound and unbound state) active fluorophores are mixed (Fig. 3d, Supplementary Fig. 3), they must be analyzed together (i.e., one kinetic model) without breaking into independent segments (3-color/DA1 segment).

In addition to binding and dissociation transitions, photophysical transitions are also observed in the trajectory. For example, at ~200 ms in the upper trajectory, a fragment of the two-color bound state (orange) is immediately followed by a three-color bound state fragment (magenta). It is possible that a very short unbound state is present between these two bound states, but it is more likely that this is a transition from the A2 dark state to A2 bright state. Since A2-labeled NCBD molecules diffuse in the focal volume for a while before binding, direct A2 excitation can cause the A2 dark state before binding. The reverse transitions are also observed in other trajectories, which can be attributed to blinking or photobleaching of A2. Since these relatively slow photophysical transitions cannot be excluded from the analysis, these should also be incorporated in the kinetic model for the maximum likelihood analysis (see the next section, Supplementary Fig. 3, and Methods for kinetic models).

Unlike three-color/DA1 segments, DA2 segments are separable. For example, DA2 segment appears after acceptor 1 photobleaching (orange arrow in Fig. 3d). In DA2 segments, the A2 dark state is indistinguishable from the unbound state. Therefore, the A2 dark state should be included in the kinetic model with transition rates and dark state population as global parameters (see Supplementary Fig. 3d).

As the salt concentration is increased, the binding and dissociation kinetics become faster and visual identification of transitions is not possible anymore as shown in the lower trajectory (30 mM NaCl) in Fig. 3d. This effect can be better visualized in the histogram in Fig. 3e. At 0 mM, there are three peaks in the ε1 histogram of three-color/DA1 segments. The peak at ε1 ~0.08 is the bound state with an active A2 (most of the excited energy of A1 is transferred to A2). The peak at ε1 ~0.6 corresponds to the bound state without an active A2. The peak at ε1 ~0.33 corresponds to the unbound state. On the other hand, at 30 mM NaCl, the bound state peaks disappear and are merged to the unbound state peak due to the faster binding and dissociation kinetics. In this case, the parameters can be extracted only by the maximum likelihood analysis of photon trajectories.

Similar features are observed in the ε2 histograms of three-color/DA1 segments (Fig. 3e) and the histograms of DA2 segments (Fig. 3f). In these histograms, the large peak at lower ε is the unbound state and the small peak at high ε (see the insets) corresponds to the bound state (there are less data in the bound state due to low labeling efficiency and photobleaching of A2). At 0 mM, there is a peak at ~0.7 and ~0.65 in ε2 histograms of the three-color/DA1 and DA2 segments, respectively. At 30 mM, the bound state peaks become broad and smear toward the large unbound state peak at lower ε due to the faster kinetics.

The two-dimensional acceptor fraction histograms from the free-diffusion and immobilization experiments are shown in Supplementary Fig. 4. Due to the low γ-factor of A2 (γ2 = 0.49), the bound state peak is not observed in the free-diffusion histograms and a direct comparison with the immobilization data is not possible. However, the dissociation constant measured in this work is similar to that from an ensemble binding experiment, which indicates the surface immobilization effect is very small (see below for more discussion).

FRET efficiencies and kinetic parameters of α3D folding

Figure 4 shows the relaxation rates, fraction of the folded state, and corrected FRET efficiencies of α3D folding at three different GdmCl concentrations, which were extracted using the maximum likelihood method with the eight-state model including acceptor blinking (Supplementary Fig. 3c). The parameters are also listed in Supplementary Table 1. The relaxation rates of ~1 ms−1 (Fig. 4a) and folded state populations (Fig. 4b) are consistent with those of the previous measurements using two-color FRET25 and three-color PIE experiments18. The histograms constructed from recolored photon trajectories using maximum likelihood parameters (eight-state model)22 are very similar to the experimental histograms (Supplementary Fig. 6), confirming the good accuracy of the extracted parameters. The cross-correlation analysis of photon trajectories also shows the relaxation rates (2.25 M GdmCl) are comparable to that from the maximum likelihood method (Supplementary Fig. 6e).

Fig. 4: Extracted parameters of α3D folding from 3c-PIE and 3c-CW.
figure 4

a Relaxation rate k (= kF + kU) from 3c-PIE (blue) and 3c-CW (red). b Fraction of the folded state pF from 3c-PIE (blue) and 3c-CW (red). c Folded state FRET efficiency E1F from two color (black), 3c-PIE (blue), and 3c-CW (red). d Unfolded state FRET efficiency E1U from two color (black), 3c-PIE (blue), 3c-CW (red), and E1U3c calculated using the Gaussian chain model with parameters obtained from two-color FRET efficiency for 3c-CW (green) and 3c-PIE (purple) (see Methods). In c, d, E13c values of 3c-CW were determined using E22c from two-color (DA2) segments. E13c values of 3c-PIE were calculated using E122c obtained from A1 excitation. e FRET efficiencies between A1 and A2 in the folded (E12F2c) and unfolded (E12U2c) states in 3c-CW using two-color E22c (red), the unfolded state FRET efficiency calculated using the Gaussian chain model (green), and E12F2c and E12U2c determined from 3c-PIE by A1 excitation (blue). Error bars are standard deviations calculated from the curvature at the maximum of the likelihood function. Source data are provided as a Source Data file.

Figure 4c, d and Supplementary Fig. 7 compare the FRET efficiencies E1 and E2 of the folded and unfolded states obtained from (1) the three-color segments by CW excitation (3c-CW), (2) the two-color segments (2c-CW), and (3) the previous three-color PIE (3c-PIE) experiment18. As mentioned above, in 3c-PIE, three-color values \(E_1^{{\mathrm{3c}}}\) and \(E_2^{{\mathrm{3c}}}\) are determined using a two-color value \(E_{12}^{{\mathrm{2c}}}\) (Eq. (6)). In 3c-CW, there are two ways: \(E_2^{{\mathrm{3c}}}\) and \(E_{12}^{{\mathrm{3c}}}\) are determined using \(E_1^{{\mathrm{2c}}}\) (Eq. (7)) or \(E_1^{{\mathrm{3c}}}\) and \(E_{12}^{{\mathrm{3c}}}\) are determined using \(E_2^{{\mathrm{2c}}}\) (Eq. (8)). The three-color FRET efficiencies of the folded (F) and unfolded (U) states, \(E_{2{\mathrm{F}}}^{{\mathrm{3c}}}\) and \(E_{2{\mathrm{U}}}^{{\mathrm{3c}}}\), in both 3c-PIE and 3c-CW (determined using \(E_1^{{\mathrm{2c}}}\)) measurements vary largely with GdmCl concentration, whereas the two-color FRET efficiencies \(E_{2{\mathrm{F}}}^{{\mathrm{2c}}}\) and \(E_{2{\mathrm{U}}}^{{\mathrm{2c}}}\) in the 2c-CW measurement are stable (Supplementary Fig. 7). The inaccuracy of these values in 3c-PIE and 3c-CW results from the large propagation error in the determination of \(E_2^{{\mathrm{3c}}}\), which is unavoidable because this happens when E2 is low (see Supplementary Fig. 8 for the propagation of the error of the two-color FRET efficiency values to the determination of the three-color FRET efficiencies). This large uncertainty suggests that a two-color value \(E_2^{{\mathrm{2c}}}\) should be used to determine three-color FRET efficiencies \(E_1^{{\mathrm{3c}}}\) and \(E_{12}^{{\mathrm{3c}}}\) when E2 is low (Supplementary Table 1).

Compared to \(E_2^{{\mathrm{3c}}}\), \(E_1^{{\mathrm{3c}}}\) values are stable. The folded state FRET efficiency E1F from all three measurements agree very well (Fig. 4c). These values are also close to the FRET efficiency of 0.81 calculated from the distance distribution of D and A1 attached to residue 1 and 33 obtained from the accessible volume calculation28 using the protein structure (PDB id: 2A3D, Fig. 2). On the other hand, there are discrepancies between the unfolded state FRET efficiency values, \(E_{1{\mathrm{U}}}^{{\mathrm{2c}}}\) and \(E_{1{\mathrm{U}}}^{{\mathrm{3c}}}\) of both 3c-PIE and 3c-CW (Fig. 4d). A part of this discrepancy results from the fluctuating distance between the dyes because the unfolded protein is flexible. The effect of fluctuating distances has been explained and rigorously evaluated previously using the Gaussian chain model18 (see Methods). However, the effect of fluctuating distance evaluated by the Gaussian chain model for the FRET efficiency values of α3D is relatively small, although it can be large in general (see Supplementary Fig. 9). This indicates that the difference between the experimental \(E_{1{\mathrm{U}}}^{{\mathrm{3c}}}\) and \(E_{1{\mathrm{U}}}^{{\mathrm{2c}}}\) values may result from the measurement error. In ref. 18, we have shown that \(E_{1{\mathrm{U}}}^{{\mathrm{3c}}}\) values calculated using the Gaussian chain model agree very well with the 3c-PIE values, but this resulted from the usage of 〈E1+2〉 value calculated from three-color \(E_{1{\mathrm{U}}}^{{\mathrm{3c}}}\) and \(E_{{\mathrm{2U}}}^{{\mathrm{3c}}}\) rather than two-color \(E_{1{\mathrm{U}}}^{{\mathrm{2c}}}\) and \(E_{{\mathrm{2U}}}^{{\mathrm{2c}}}\) in Eq. (11) in ref. 18. The correct values are plotted in Fig. 4d, which shows small differences between two- and three-color E1U values.

The comparison of E12 shows similar trends (Fig. 4e). For the folded state, \(E_{12{\mathrm{F}}}^{{\mathrm{3c}}}\) in 3c-CW calculated using \(E_{2{\mathrm{F}}}^{{\mathrm{2c}}}\) coincide with the values from 3c-PIE experiment (i.e. two-color values \(E_{1{\mathrm{2F}}}^{{\mathrm{2c}}}\) by A1 excitation). For the unfolded state FRET efficiency, \(E_{1{\mathrm{2U}}}^{{\mathrm{3c}}}\), although there is a deviation at 2 M GdmCl, the values of the other two concentrations agree well with \(E_{1{\mathrm{2U}}}^{{\mathrm{2c}}}\) from 3c-PIE experiment. These values are also very similar to the three-color \(E_{1{\mathrm{2U}}}^{{\mathrm{3c}}}\) calculated using the Gaussian chain model.

FRET efficiencies and kinetic parameters of TAD/NCBD binding

Figure 5 shows the association and dissociation rate coefficients, dissociation constant (Kd), and FRET efficiencies of TAD/NCBD binding at three different NaCl concentrations, which were obtained using the maximum likelihood method with the eight-state model including acceptor blinking (Supplementary Fig. 3f). The parameters are also listed in Supplementary Tables 2 and 3. Similar to α3D experiment, the histograms constructed from the recolored photon trajectories using the extracted parameters (eight-state model) agree well with the experimental histograms (Supplementary Fig. 6). Compared to the previous two-color FRET results of binding of Alexa 488- and Alexa 647-labeled TAD and unlabeled NCBD13, the association rate coefficients are smaller by a factor of 2, but still in the regime of diffusion-limited association. The dissociation rates from the three-color measurement at 0 and 10 mM are 2–3 times faster than those from the two-color measurement, whereas the dissociation rates at 30 mM are comparable in both experiments, indicating the bound complex is destabilized at low ionic strength. The different stability of the bound complex may result from different labels and labeling positions in three-color and two-color experiments. Nevertheless, the dissociation constant Kd from our single-molecule measurements are comparable with those from ensemble measurements (isothermal calorimetry) by Jemth and coworkers29. At the ionic strength of 44 and 74 mM, the dissociation constants were 3 and 13 μM, which agree very well with our previous two-color measurement (Kd = 1.6–11 μM) at similar ionic strength of 38–98 mM13. In addition, the strong ionic strength dependence of both association and dissociation is still observed, suggesting electrostatic interactions play a similarly important role13.

Fig. 5: FRET efficiencies and kinetics parameters of TAD-NCBD binding.
figure 5

a Bimolecular association rate constant ka = kB/[NCBD] (blue) and dissociation rate constant kU (red) obtained from the extracted relaxation rate, k = kB + kU, and the bound fraction, pB = kB/k. kB is the apparent binding rate constant. b Dissociation constant, Kd (= kU/ka). ce Measured FRET efficiencies of the bound and unbound states. c E12c (blue square, bound; red square, unbound) and E1B3c (blue circle) calculated using E2B2c. d E22c (blue square, bound; red square, unbound) and E2B3c (blue circle) calculated using E1B2c. e E123c (blue, bound; red, unbound) calculated using two-color FRET efficiencies E12c (circle) and E22c (square). Error bars are standard deviations calculated from the curvature at the maximum of the likelihood function. Source data are provided as a Source Data file.

Figure 5c, d compare the three-color and two-color FRET efficiencies, E1 and E2. In the unbound state, only donor and acceptor 1 emit photons. Therefore, only two-color FRET efficiencies are presented for E1U and E2U. The FRET efficiencies in the unbound state, E2U and E12U, should be 0 after corrections for background and D and A1 leaks, which is the case as shown in Fig. 5c, d. E1U increases slightly with the increasing NaCl concentration because of the collapse of the disordered TAD due to the increased screening effect of electrostatic repulsion (net charge is −10) at high ionic strength, consistent with the previous two-color FRET result13. For the bound state, both FRET efficiencies, E1B and E2B, obtained from the two-color and three-color segments are very similar at 0 mM NaCl. However, they differ by ~0.1 at 10 and 30 mM NaCl. This discrepancy may imply the presence of conformational flexibility in the bound state. Although several residues of TAD at both N- and C-termini are disordered in the NMR structure of the bound complex26, the average distance between the dyes is not expected to be affected significantly by the ionic strength. Instead, the discrepancy between the two-color and three-color FRET efficiencies of the TAD/NCBD bound complex results more likely from the measurement error because there is no consistent trend in the differences of the extracted parameters. For example, \(E_{1{\mathrm{B}}}^{{\mathrm{2c}}}\) is the lowest at 30 mM (0.71), whereas \(E_{2{\mathrm{B}}}^{{\mathrm{2c}}}\) is the lowest at 10 mM. ε2, is the lowest at 0 mM (Supplementary Table 2). These results suggest that a combination of the variations in the values listed above can cause the deviation of the two- and three-color FRET efficiencies. Nonetheless, the difference of E12B values obtained from the two conversion methods using \(E_{1{\mathrm{B}}}^{{\mathrm{2c}}}\) or \(E_{2{\mathrm{B}}}^{{\mathrm{2c}}}\) is relatively small (Fig. 5d).

Determination of microsecond kinetic parameters

The kinetics of the experimental systems that we studied are near 1 ms−1 or slightly faster. To verify the applicability of the method to the analysis of faster kinetics, we performed the analysis of simulated photon trajectories. The experimental photon trajectories at 2–2.5 M GdmCl for α3D folding and 0 mM NaCl for TAD/NCBD binding were recolored22 using experimental maximum likelihood parameters with varying relaxation rate and folded (or bound) population. The recolored photon trajectories were analyzed again the same way as the experimental trajectories. Figure 6 shows that the determined relaxation rates and relative populations are very accurate even when the relaxation rate is close to the average photon count rate (~80 ms−1 for α3D folding and 65 ms−1 for TAD/NCBD binding) (see Supplementary Fig. 10 for the extracted acceptor fractions). This simulation result indicates that the dynamic range of the three-color maximum likelihood method is much wider than the experimental results shown in this work as examples.

Fig. 6: Determination of the relaxation rate and population for recolored photon trajectories.
figure 6

See Supplementary Fig. 10 for the acceptor fractions. a α3D folding. Experimental photon trajectories collected at three different GdmCl concentrations (blue, 2 M, pF = 0.3; red, 2.25 M, pF = 0.47; yellow, 2.5 M, pF = 0.63) were recolored using the corresponding maximum likelihood parameters except the relaxation rate (kF + kU, ksim) that was varied in the simulation. b TAD/NCBD binding. Experimental photon trajectories at 0 mM NaCl were recolored using the extracted maximum likelihood parameters at 0 mM NaCl except the relaxation rate (kB + kU, ksim) and bound fraction (pB,sim, blue, 0.3; red, 0.5; yellow, 0.7) that were varied in the simulation. n is the average photon count rate of the three-color segments, which are ~80 ms1 for α3D folding and 65 ms-1 for TAD/NCBD binding. Horizontal dashed lines in pF and pB indicate the values in simulation. Error bars are standard deviations of the parameters obtained from five recolored data set. Source data are provided as a Source Data file.

Detection of intermediate state

We also tested the applicability of the method to the detection of an intermediate state with relatively low population (10%) and short lifetime. Photon trajectories of TAD/NCBD binding at 0 mM NaCl were simulated by recoloring experimental trajectories using the three-state model for binding at various bound state population and rates (Supplementary Fig. 11). The simulated trajectories were analyzed with two- and three-state models for comparison. The fraction of the intermediate state and kinetic parameters can be extracted with reasonable accuracy as shown in Supplementary Fig. 11.

When the number of states is unknown, it is usually determined by comparing statistical criteria such as Bayesian information criterion (BIC). In Supplementary Fig. 11h, BIC is clearly smaller for the three-state model compared to the two-state model. However, one should be cautious to use statistical criteria such as BIC to determine the number of states. In real experimental data, there are various factors that can cause the system look more complex (i.e., more states) such as heterogeneity in the immobilization microenvironment and fluorescence signal from impurity. Therefore, it would be prudent to use any prior knowledge from other experimental methods rather than blindly trust statistical criteria from the analysis.

Discussion

In this work, we have described our development of fast three-color single-molecule FRET experiment and photon trajectory analysis methods to determine FRET efficiencies and μs–ms timescale kinetics of folding of α3D and coupled binding and folding of TAD and NCBD. In three-color FRET, collecting single-molecule fluorescence trajectories at a high photon count rate is challenging because of various photophysical problems including frequent photoblinking, rapid photobleaching, and relatively low quantum yield (i.e., low brightness) of the third fluorophore. To overcome these problems, we used Alexa 488, Alexa 594, and CF680R with reasonably high quantum yields and a chemical cocktail that reduces photoblinking and photobleaching (see Methods). Instead of ALEX/PIE, we employed a single donor excitation scheme with a CW laser that yields higher photon count rates and reduced photobleaching compared to PIE (Supplementary Fig. 1). This scheme is also useful to reduce background due to direct excitation of acceptor 2 in the binding experiment. The method determines three FRET efficiencies by globally analyzing three different kinds of photon trajectories: three-color, donor and A1 (DA1), donor and A2 (DA2) (Fig. 1). From the analysis of DA1 and DA2 photons, the energy transfer efficiency from D to A1 (E1) or from D to A2 (E2) is determined, which is required for the calculation of the other two FRET efficiencies. Since the two-color trajectories are always present in the experiment due to incomplete labeling or photobleaching of one of the two acceptor dyes during the measurement, all necessary data can be collected in a single experiment.

For the accurate determination of the kinetics on the μs–ms time scale, it is necessary to include acceptor photoblinking in the kinetic model (Supplementary Fig. 3) because acceptor blinking increases the apparent transition rates and changes the acceptor fraction values (ε)18,27 despite the low populations of <5% in the acceptor dark states (see Supplementary Tables 1 and 2 for the comparison of the results with and without acceptor blinking corrections). Including acceptor blinking in the model may give an impression that much more fitting parameters are required because of the additional ε’s needed for the acceptor dark states. However, ε values of the dark states of A1 and A2 can be related to ε’s of DA2 and DA1 trajectories, respectively (Supplementary Table 4), which results in no increase in the number of acceptor fraction parameters. Only four additional parameters are needed to account for acceptor blinking kinetics and acceptor bright state populations. Nevertheless, there are still a large number of fitting parameters in the global analysis (14 and 16 for two-state folding and two-state binding, respectively), and the likelihood optimization may look challenging. Indeed, it is time consuming to compute the likelihood function. We overcame this problem by developing a multi-thread calculation with CPU–GPU co-processing, which significantly reduces the computation time. (see Methods and Supplementary Fig. 2, the analysis codes are available at https://github.com/hoisunglab/FRET_3colorCW).

Using appropriate kinetic models, we showed that kinetic parameters (rates and relative population) can be determined robustly and the values are consistent with previous measurements. The simulation results show that it is possible to determine the transition rates close to the photon count rate (see Fig. 6) and detect an intermediate state (three-state model) with low population and short lifetime if it exists (Supplementary Fig. 11). We also compared the FRET efficiencies obtained from the three-color segments with those determined directly from the two-color segments after corrections for various experimental factors. Compared to fractions of acceptor counts, accurate determination of FRET efficiencies is much more challenging due to the accumulation of the measurement errors of the parameters that are used for the conversion from the extracted acceptor fractions to the FRET efficiencies (Supplementary Fig. 8). More importantly, depending on the specific set of FRET efficiency values for a system, the uncertainty of the FRET efficiency determined from the three-color segments can be very large. For example, three-color \(E_2^{{\mathrm{3c}}}\) values determined both from 3c-CW using two-color \(E_1^{{\mathrm{2c}}}\) and from 3c-PIE18 using \(E_{12}^{{\mathrm{2c}}}\) for α3D are inaccurate because E2 is low. Since E2 would be usually low due to the small spectral overlap between the donor and acceptor 2, this uncertainty can be a problem in many systems. In this case, \(E_1^{{\mathrm{3c}}}\) and \(E_{1{\mathrm{2}}}^{{\mathrm{3c}}}\) should be determined accurately using \(E_2^{{\mathrm{2c}}}\) found directly from the two-color parts of photon trajectories (Supplementary Fig. 8a). This result suggests that one should carefully choose a two-color E value to be used for the calculation of three-color FRET efficiencies.

Finally, our development of fast three-color FRET experiment and analysis will be very useful in future structural and mechanistic studies of protein folding and binding. The mechanism of these processes can be understood best by following and visualizing structural evolution9. This is possible by probing protein folding transition path9,11 or binding pathways of disordered proteins30,31. Folding and binding pathways are supposed to be heterogeneous, which can be characterized more effectively by using a multi-dimensional single-molecule tool such as three-color FRET than by a one-dimensional probe. These experiments will require even higher photon count rates for a better time resolution.

Methods

Protein expression and site-specific labeling

After expression and purification, α3D was labeled with three fluorophores site-specifically18. Alexa 488 hydroxylamine (donor) and Alexa 594 maleimide (acceptor 1) were attached to 4-acetylphenylalanine32,33 at the N-terminus and cysteine 33 of α3D, respectively. Then, the C-terminal glycine residue of LPETG sequence was replaced by GGGC peptide using sortase-mediated ligation34. CF680R maleimide (acceptor 2) was subsequently attached to cysteine at the C-terminus.

After the expression and purification of TAD, Alexa 488 hydroxylamine and Alexa 594 maleimide were attached to the N-terminal 4-acetylphenylalanine and C-terminal cysteine residues, respectively13. CF680R maleimide was attached to cysteine 2066 (S2066C) of NCBD13.

Single-molecule experiments

A confocal microscope system (MicroTime 200, PicoQuant) with an oil-immersion objective (UPLSAPO, NA 1.4, ×100, Olympus), a beamsplitter (z488/594rpc, Chroma Technology), and a 75 µm pinhole was used for single-molecule FRET experiments. Alexa 488 was excited by a 485 nm diode laser (LDH-D-C-485, PicoQuant) in the CW mode at 5.0 µW for α3D folding experiments and 3 µW for TAD/NCBD binding experiments, respectively. Fluorescence signal from three dyes was split into three photon counting avalanche photodiodes (SPCM-AQR-16, PerkinElmer Optoelectronics) using two dichroic beamsplitters (585DCXR and 670DCXR, Chroma Technology) and through bandpass filters (ET525/50 m for Alexa 488, ET645/75 m for Alexa 594, and ET705/72 m for CF680R, Chroma Technology).

Biotinylated α3D or TAD molecules were immobilized on a biotin-embedded, PEG-coated glass coverslip (Bio_01; Microsurfaces Inc.) via biotin (surface)-NeutrAvidin (Thermo Scientific)-biotin (protein) linkage. To minimize photoblinking and photobleaching of dyes, 100 mM β-mercaptoethanol (Sigma-Aldrich), 10 mM Cysteamine (Sigma-Aldrich)35, 2 mM cyclooctatetraene (COT, Sigma-Aldrich), 2 mM 4-nitrobenzyl alcohol (NBA, Sigma-Aldrich), and 2 mM Trolox (Sigma-Aldrich)36,37 were added into the solution. α3D folding experiments were performed in 50 mM HEPES, pH 7.4 (adjusted with NaOH) buffer with various GdmCl (Invitrogen) concentrations. TAD/NCBD binding experiments were performed in 10 mM Tris buffer (pH 7) with 0, 10, and 30 mM NaCl. All data were collected at room temperature (23°C).

Single-molecule data analysis

In the following sections, we describe the calculation of the likelihood functions of two- and three-color photon trajectories. The likelihood functions are optimized with respect to model parameters, which include the fractions of acceptor photon count rates (apparent FRET efficiencies in two-color FRET), rate coefficients, and relative populations in the states. The fractions of acceptor photon count rates are corrected for background, leak into other detection channels (cross-talk), and direct excitation of the acceptors. The corrected fractions are then converted to three-color FRET efficiencies. The γ-factor (ratio of detection efficiencies and quantum yields) is taken into account during this conversion. We limit our discussion to the simplest two-state model for proteins. In the case of protein folding, these are the folded (F) and unfolded (U) states. In the case of fast binding, the two states are the bound (B) and unbound (U) states. The two-state model can be readily extended to more complex kinetic models. For example, the analysis code is applicable to the N-state linear model (see three-state model simulation and analysis in Supplementary Fig. 11). In addition to protein states, photophysical states of acceptors (i.e., bright and dark states) are incorporated in the kinetic models to account for acceptor blinking (See Supplementary Fig. 3).

FRET efficiencies

In the three-color experiment, the FRET efficiency is defined as the efficiency of the energy transfer between two fluorophores in the absence of a third fluorophore. For example, in Fig. 1a, E2 is the transfer efficiency from the donor to acceptor 2 in the absence of acceptor 1. These FRET efficiencies are related to the distance between fluorophores as

$${E_1(r_1)} = {\frac{{k_{{\mathrm{ET}}1}}}{{k_{\mathrm{D}} + k_{{\mathrm{ET}}1}}}} = {\frac{1}{{1 + \left( {r_1/R_1} \right)^6}}} \\ {E_2(r_2)} = {\frac{{k_{{\mathrm{ET}}2}}}{{k_{\mathrm{D}} + k_{{\mathrm{ET}}2}}}} = {\frac{1}{{1 + \left( {r_2/R_2} \right)^6}}} \\ {E_{12}(r_{12})} = {\frac{{k_{{\mathrm{ET}}12}}}{{k_{{\mathrm{A}}1} + k_{{\mathrm{ET}}12}}}} = {\frac{1}{{1 + \left( {r_{12}/R_{12}} \right)^6}}.}$$
(1)

Here, kD and kA1 are the sums of the rates of the non-radiative and radiative decays of the donor and acceptor 1, respectively, in the absence of the energy transfer (Fig. 1a). \(k_{{\mathrm{ET}}1} = k_{\mathrm{D}}(R_1/r_1)^6\), \(k_{{\mathrm{ET}}2} = k_{\mathrm{D}}(R_2/r_2)^6\), and \(k_{{\mathrm{ET}}12} = k_{{\mathrm{A1}}}(R_{12}/r_{12})^6\) are the rate constants of the energy transfer from D to A1, D to A2, and A1 to A2, respectively, and R1, R2, and R12 are the corresponding Förster radii. The energy transfer rate constants depend on the distances r1 (between D and A1), r2 (between D and A2), and r12 (between A1 and A2) (see Fig. 1a).

Fractions of acceptor photon count rates

The maximum likelihood method involves the fractions of acceptor photon count rates, instead of the FRET efficiencies above. The fractions of A1 and A2 photon count rates (denoted by ε1 and ε2) are defined as18

$${\varepsilon _1} = {\frac{{n_{{\mathrm{A}}1}}}{{n_{{\mathrm{A}}1} + n_{{\mathrm{A}}2} + n_{\mathrm{D}}}}} \\ {\varepsilon _2} = {\frac{{n_{{\mathrm{A}}2}}}{{n_{{\mathrm{A}}1} + n_{{\mathrm{A}}2} + n_{\mathrm{D}}.}}}$$
(2)

Here, nD, nA1, and nA2, are the photon count rates (i.e., the numbers of photons per unit time) of the donor, acceptor 1, and acceptor 2, respectively.

For the two-color segments (DA1: donor and A1; DA2: donor and A2), the fractions of acceptor count rates are defined as18

$${\varepsilon ^{{\mathrm{DA1}}}} = {\frac{{n_{{\mathrm{A}}1}}}{{n_{{\mathrm{A}}1} + n_{\mathrm{D}}}}} \\ {\varepsilon ^{{\mathrm{DA2}}}} = {\frac{{n_{{\mathrm{A}}2}}}{{n_{{\mathrm{A}}2} + n_{\mathrm{D}}}}.}$$
(3)

Note that photons from two-color segments are also separated into three detection channels as those from three-color segments. In the analysis of DA1 segments, the photons detected in A2 channel result mostly from the leakage of A1 fluorescence. Therefore, A1 and A2 photons were combined and considered as A1 photons. Similarly, in the analysis of DA2 segments, D and A1 photons were combined and treated as donor photons.

FRET efficiencies and fractions of acceptor photon counts

The photon count rates detected after donor excitation can be expressed in terms of the rate constants38 (see Fig. 1a)

$${n_{\mathrm{D}}} = {\eta_{\mathrm{D}}\phi _{\mathrm{D}}k_{\mathrm{D}}^{{\mathrm{ex}}}\frac{{k_{\mathrm{D}}}}{{k_{\mathrm{D}} + k_{{\mathrm{ET}}1} + k_{{\mathrm{ET}}2}}}} \\ {n_{{\mathrm{A}}1}} = {\eta _{{\mathrm{A}}1}\phi _{{\mathrm{A}}1}k_{\mathrm{D}}^{{\mathrm{ex}}}\frac{{k_{{\mathrm{ET}}1}\,k_{{\mathrm{A}}1}}}{{\left( {k_{\mathrm{D}} + k_{{\mathrm{ET}}1} + k_{{\mathrm{ET}}2}} \right)\left( {k_{{\mathrm{A}}1} + k_{{\mathrm{ET}}12}} \right)}}} \\ {n_{{\mathrm{A}}2}} = {\eta _{{\mathrm{A}}2}\phi _{{\mathrm{A}}2}k_{\mathrm{D}}^{{\mathrm{ex}}}\left( {\frac{{k_{{\mathrm{ET}}2}}}{{k_{\mathrm{D}} + k_{{\mathrm{ET}}1} + k_{{\mathrm{ET}}2}}} + \frac{{k_{{\mathrm{ET}}1}\;k_{{\mathrm{ET}}12}}}{{\left( {k_{\mathrm{D}} + k_{{\mathrm{ET}}1} + k_{{\mathrm{ET}}2}} \right)\left( {k_{{\mathrm{A}}1} + k_{{\mathrm{ET}}12}} \right)}}} \right).}$$
(4)

Here, \(k_{\mathrm{D}}^{{\mathrm{ex}}}\) is the donor excitation rate constant, ηI and ϕI are the detection efficiency and quantum yield of fluorophore I (=D, A1, and A2).

The count rates in Eq. (4) are related to the FRET efficiencies in Eq. (1)38

$${\frac{{n_{{\mathrm{A1}}}}}{{\gamma _1n_{\mathrm{D}}}}} = {\frac{{(1 - E_{12})E_1}}{{1 - E_1}}} \\ {\frac{{n_{{\mathrm{A2}}}}}{{\gamma _2n_{\mathrm{D}}}}} = {\frac{{E_{12}E_1}}{{1 - E_1}} + \frac{{E_2}}{{1 - E_2}},}$$
(5)

where γi = ϕAiηAi/ϕDηD, i = 1, 2. These equations are used to find the FRET efficiencies in terms of the acceptor fractions determined in the maximum likelihood method. However, only two FRET efficiencies can be determined because there are only two equations.

If an alternating excitation scheme is used and E12 is determined separately by additional excitation of A1, the other two FRET efficiencies, E1 and E2, can be determined from Eqs. (2) and (5) as38

$${E_1} = \, {\left[ {1 + \varepsilon _1^{ - 1}\gamma _1(1 - \varepsilon _1 - \varepsilon _2)(1 - E_{12})} \right]^{ - 1}} \\ {E_2} = \, {\left[ {1 + (1 - \varepsilon _1 - \varepsilon _2)\left( {\varepsilon _2\gamma _2^{ - 1} - \varepsilon _1\gamma _1^{ - 1}\frac{{E_{12}}}{{1 - E_{12}}}} \right)^{ - 1}} \right]^{ - 1},}$$
(6)

Alternatively, if E1 is known from two-color (DA1) segments, E2 and E12 are determined as

$${E_2} = {\left[ {1 + \left( {\frac{{\varepsilon _1\gamma _1^{ - 1} + \varepsilon _2\gamma _2^{ - 1}}}{{1 - \varepsilon _1 - \varepsilon _2}} - \frac{{E_1}}{{1 - E_1}}} \right)^{ - 1}} \right]^{ - 1}} \\ {E_{12}} = {1 - \frac{{\varepsilon _1\gamma _1^{ - 1}\left( {1 - E_1} \right)}}{{\left( {1 - \varepsilon _1 - \varepsilon _2} \right)E_1.}}}$$
(7)

Finally, when E2 is known from two-color (DA2) segments, E1 and E12 are determined as

$${E_1} = {\left[ {1 + \left( {\frac{{\varepsilon _1\gamma _1^{ - 1} + \varepsilon _2\gamma _2^{ - 1}}}{{1 - \varepsilon _1 - \varepsilon _2}} - \frac{{E_2}}{{1 - E_2}}} \right)^{ - 1}} \right]^{ - 1}} \\ {E_{12}} = {\left[ {1 + \varepsilon _1\gamma _1^{ - 1}\left( {\varepsilon _2\gamma _2^{ - 1} - (1 - \varepsilon _1 - \varepsilon _2)\frac{{E_2}}{{1 - E_2}}} \right)^{ - 1}} \right]^{ - 1}.}$$
(8)

In two-color FRET, the FRET efficiencies are found from the two-color acceptor fractions (see Eqs. (3) and (5) with E12 set to 0)

$$E_i = \frac{{\varepsilon _i}}{{\varepsilon _i + \gamma _i(1 - \varepsilon _i)}},\quad i = 1,\,2.$$
(9)

The fractions of acceptor photon count rates for the calculation of the FRET efficiencies above are corrected for background photons, detector cross-talk, and direct excitation of A1 and A2 (see below).

Maximum likelihood method in the absence of acceptor blinking

The likelihood function for a photon trajectory with records of photon colors and arrival times is22

$$L = {\mathbf{1}}^{\mathrm{T}}\mathop {\prod}\limits_{i = 2}^N {\left[ {{\mathbf{F}}(c_i)\exp \left( {{\mathbf{K}}(t_i - t_{i - 1})} \right)} \right]} \,{\mathbf{F}}(c_1){\mathbf{p}}_{eq},$$
(10)

where N is the number of photons in a trajectory, and ci and ti are the color and arrival time of the ith photon. K is the rate matrix, the photon color matrix F depends on the color c of a photon as defined below for the two- and three-color cases. 1T is the unit row vector (T means transpose), and peq is the vector of equilibrium populations. The parameters were determined by maximizing the likelihood function calculated by diagonalizing K22. Practically, the total log-likelihood function of all trajectories was calculated by summing individual log-likelihood functions in Eq. (10).

In the calculation of the likelihood function for a two-color segment with fluorescence of donor and one of the two acceptors in protein folding experiment, the photon color matrix is F(acceptor) = E and F(donor) = I − E, where E is a diagonal matrix with the fractions of acceptor photon count rates of the individual states on the diagonal and I is the identity matrix. For the two-state model, the matrix of fractions of acceptor photons, the rate matrix, and the vector of the equilibrium populations are given by

$${\mathbf{E}} = \left( {\begin{array}{*{20}{c}} {\varepsilon _{\mathrm{F}}} & 0 \\ 0 & {\varepsilon _{\mathrm{U}}} \end{array}} \right),\\ {\mathbf{K}} = \left( {\begin{array}{*{20}{c}} { - k_{\mathrm{U}}} & {k_{\mathrm{F}}} \\ {k_{\mathrm{U}}} & { - k_{\mathrm{F}}} \end{array}} \right),\,{\mathbf{p}}_{{\mathrm{eq}}} = \left( {\begin{array}{*{20}{c}} {p_{\mathrm{F}}} \\ {1 - p_{\mathrm{F}}} \end{array}} \right),$$
(11)

where εF and εU are the fractions of acceptor photons of the folded and unfolded states defined in Eq. (3), and pF = kF/(kF + kU) is the equilibrium population of the folded state. kF and kU are the folding and unfolding rate coefficients.

For a three-color segment, F(acceptor 1) = E1, F(acceptor 2) = E2, and F(donor) = I − E1 − E2, where E1 and E2 are the diagonal matrices with the fractions of acceptor 1 (A1) and acceptor 2 (A2) photons defined in Eq. (2).

In the case of protein folding experiment, all three dyes are attached to the same molecule. Two- and three-color segments are independent, so the corresponding likelihoods can be calculated separately. The total likelihood is the product of individual ones with different dye combinations (i.e., L = L(3c)L(DA1)L(DA2)). (If photobleaching or slow blinking of one acceptor occurs, the three-color segment and two-color segment before and after photobleaching are not independent, but this effect would be negligible in the parameter determination.) This likelihood function is optimized with respect to the relaxation rate, k (= kF + kU), equilibrium population of the folded state, pF = kF/k, three-color acceptor fractions, ε1F, ε2F, ε1U, ε2U, and two-color acceptor fractions, \(\varepsilon _{\mathrm{F}}^{{\mathrm{DA1}}}\), \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA1}}}\), \(\varepsilon _{\mathrm{F}}^{{\mathrm{DA2}}}\), \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\), in the folded and unfolded states.

In the case of fast binding, because of incomplete labeling and photobleaching of A2, binding to both labeled and unlabeled binding partners can take place (see Supplementary Fig. 3d). Therefore, the likelihood function for three-color part and two-color part with the donor and A1 (DA1) must be calculated together with a single rate matrix. The matrices for 3-color/DA1 segments are

$${\mathbf{E}}_{1} = \left( \begin{array}{*{20}{c}} {\varepsilon _{1{\mathrm{Bb}}}} & 0 & 0 \\ 0 & {\varepsilon _{{\mathrm{1U}}}} & 0 \\ 0 & 0 & {\varepsilon _{1{\mathrm{Bd}}}} \end{array} \right),\,{\mathbf{E}}_2 = \left( \begin{array}{*{20}{c}} {\varepsilon _{2{\mathrm{Bb}}}} & 0 & 0 \\ 0 & {\varepsilon _{2{\mathrm{U}}}} & 0 \\ 0 & 0 & {\varepsilon _{2{\mathrm{Bd}}}} \end{array} \right), \\ {\mathbf{K}} = \left( \begin{array}{*{20}{c}} { - k_{\mathrm{U}} - k^{\prime}_{{\mathrm{d}}2}} & {\varphi k_{\mathrm{B}}} & {k^{\prime}_{{\mathrm{b}}2}} \\ {k_{\mathrm{U}}} & { - k_{\mathrm{B}}} & {k_{\mathrm{U}}} \\ {k^{\prime}_{{\mathrm{d}}2}} & {(1 - \varphi )k_{\mathrm{B}}} & { - k_{\mathrm{U}} - k^{\prime}_{{\mathrm{b}}2}} \end{array} \right),\,{\mathbf{p}}_{{\mathrm{eq}}} = \left( \begin{array}{*{20}{c}} {\varphi p_{\mathrm{B}}} \\ {1 - p_{\mathrm{B}}} \\ {(1 - \varphi )p_{\mathrm{B}}} \end{array} \right).$$
(12)

Here, εΙBb and εΙBd are the fractions of acceptor I (I = 1, 2) photons of the bound state with an active and inactive (or unlabeled) A2, respectively, and εIU is the fractions of acceptor photons of the unbound state. There is only one unbound state because A2 is attached to NCBD and not present in unbound TAD. φ is the fraction of the molecules with active A2. Since photobleaching and photoblinking of A2 occur on a timescale comparable or slower than the binding rate, these dynamics are also incorporated by adding an effective fraction of the A2 bright state and rates of bleaching/blinking of A2 as φ′ = \(k^{\prime}_{{\mathrm{b}}2}/(k^{\prime}_{{\mathrm{b}}2} + k^{\prime}_{{\mathrm{d}}2})\), where \(k^{\prime}_{{\mathrm{b}}2}\) and \(k^{\prime}_{{\mathrm{d}}2}\) are the rate coefficients of photobleaching or slow blinking of A2. Since φ′ < φ due to the irreversible photobleaching, the detailed balance does not hold. There are six acceptor fractions in the likelihood in Eq. (12). These include A2 fractions in the A2 dark state, ε2Bd and ε2U, which are mostly due to leak and background photons. To relate them, we use the fact that the ratio of the count rate of A2 to that of A1 is approximately the same for both bound and unbound states (i.e., ε2Bd/ε1Bd = ε2U/ε1U) because A2 photons will consist of the leak of A1 photons into the A2 channel when background photons are excluded. Using this relationship, the number of independent acceptor fractions reduces to 5.

The likelihood function of a DA2 segment is calculated using the rate matrix and equilibrium population in Eq. (12), with E = Diag(\(\varepsilon _{{\mathrm{Bb}}}^{{\mathrm{DA2}}}\), \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\), \(\varepsilon _{{\mathrm{Bd}}}^{{\mathrm{DA2}}}\)). Here, \(\varepsilon _{{\mathrm{Bd}}}^{{\mathrm{DA2}}} = \varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\) because the bound state with inactive A2 is indistinguishable from the unbound state (i.e. donor only). The total likelihood is the product of the likelihoods of 3color/DA1 and DA2 segments (i.e., L = L(3c/DA1)L(DA2)). This is optimized with respect to 12 fitting parameters (ε1Bb, ε1Bd, ε2Bb, ε2Bd, ε1U, \(\varepsilon _{{\mathrm{Bb}}}^{{\mathrm{DA2}}}\), \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\), kB, kU, φ, \(k^{\prime}_{{\mathrm{b}}2}\), and \(k^{\prime}_{{\mathrm{d}}2}\)). Fractions ε1Bb, ε2Bb, are used to find three-color FRET efficiencies \(E_{{\mathrm{1B}}}^{3{\mathrm{c}}}\) and \(E_{{\mathrm{2B}}}^{3{\mathrm{c}}}\) in the bound state. Fractions ε1Bd and ε1U are used to find two-color FRET efficiencies \(E_{{\mathrm{1B}}}^{2{\mathrm{c}}}\) and \(E_{{\mathrm{1U}}}^{2{\mathrm{c}}}\) in the bound and unbound states, respectively. Finally, \(\varepsilon _{{\mathrm{Bb}}}^{{\mathrm{DA2}}}\) from DA2 segments is used to find two-color FRET efficiency \(E_{{\mathrm{2B}}}^{2{\mathrm{c}}}\) in the bound state (see Fig. 1d).

Maximum likelihood method in the presence of blinking

In the two-state folding analysis of two-color segments with acceptor blinking, the matrices are

$$\begin{array}{*{20}{c}} {\mathbf{E}} = {\left( {\begin{array}{*{20}{c}} {\varepsilon _{\mathrm{F}}} & 0 & 0 & 0 \\ 0 & {\varepsilon _{\mathrm{U}}} & 0 & 0 \\ 0 & 0 & {\varepsilon _{\mathrm{d}}} & 0 \\ 0 & 0 & 0 & {\varepsilon _{\mathrm{d}}} \end{array}} \right),}\hfill \\ {\mathbf{K}} = {\left( {\begin{array}{*{20}{c}} { - k_{\mathrm{U}} - k_{\mathrm{d}}} & {k_{\mathrm{F}}} & {k_{\mathrm{b}}} & 0 \\ {k_{\mathrm{U}}} & { - k_{\mathrm{F}} - k_{\mathrm{d}}} & 0 & {k_{\mathrm{b}}} \\ {k_{\mathrm{d}}} & 0 & { - k_{\mathrm{U}} - k_{\mathrm{b}}} & {k_{\mathrm{F}}} \\ 0 & {k_{\mathrm{d}}} & {k_{\mathrm{U}}} & { - k_{\mathrm{F}} - k_{\mathrm{b}}} \end{array}} \right),\, {\mathbf{p}}_{{\mathrm{eq}}} = \left( {\begin{array}{*{20}{c}} {p_{\mathrm{F}}p_{\mathrm{b}}} \\ {(1 - p_{\mathrm{F}})p_{\mathrm{b}}} \\ {p_{\mathrm{F}}(1 - p_{\mathrm{b}})} \\ {(1 - p_{\mathrm{F}})(1 - p_{\mathrm{b}})} \end{array}} \right),} \end{array}$$
(13)

where εd is the fraction of the acceptor photons in the dark state and pb = kb/(kb + kd) is the equilibrium population of the acceptor bright state. kb and kd are the rate coefficients from the dark to the bright states and vice versa. We assumed that kd is proportional to the photon count rate because kd increases linearly with the time spent in the excited state, while kb is independent of the photon count rate. Therefore, kd = kd0(n/n0), where n is the average photon count rate of each photon trajectory and kd0 is the rate coefficient at the reference photon count rate (n0 = 100 ms−1).

In the two-state folding analysis of three-color segments with acceptor blinking (see Supplementary Fig. 3c),

$$\begin{array}{*{20}{c}} {{\mathbf{E}}_1} = {Diag(\{ \varepsilon _{1Sjk}\} )}\hfill \\ {{\mathbf{E}}_2} = {Diag(\{ \varepsilon _{2Sjk}\} )}\hfill \\ {{\mathbf{p}}_{{\mathrm{eq}}}} = {(\{ p_{Sjk}\} )^{\mathrm{T}},\quad \quad S = {\mathrm{F}},{\mathrm{U}},\quad j,k = {\mathrm{b}},{\mathrm{d}}}\hfill \\ {\mathbf{K}} = {\left( {\begin{array}{*{20}{c}} \begin{array}{l} - k_{\mathrm{U}}\\ - k_{{\mathrm{d}}1} - k_{{\mathrm{d}}2}\end{array} & {k_{\mathrm{F}}} & {k_{{\mathrm{b}}2}} & 0 & {k_{{\mathrm{b}}1}} & 0 & 0 & 0 \\ {k_{\mathrm{U}}} & \begin{array}{l} - k_{\mathrm{F}}\\ - k_{{\mathrm{d}}1} - k_{{\mathrm{d}}2}\end{array} & 0 & {k_{{\mathrm{b}}2}} & 0 & {k_{{\mathrm{b}}1}} & 0 & 0 \\ {k_{{\mathrm{d}}2}} & 0 & \begin{array}{l} - k_{\mathrm{U}}\\ - k_{{\mathrm{d}}1} - k_{{\mathrm{b}}2}\end{array} & {k_{\mathrm{F}}} & 0 & 0 & {k_{{\mathrm{b}}1}} & 0 \\ 0 & {k_{{\mathrm{d}}2}} & {k_{\mathrm{U}}} & \begin{array}{l} - k_{\mathrm{F}}\\ - k_{{\mathrm{d}}1} - k_{{\mathrm{b}}2}\end{array} & 0 & 0 & 0 & {k_{{\mathrm{b}}1}} \\ {k_{{\mathrm{d}}1}} & 0 & 0 & 0 & \begin{array}{l} - k_{\mathrm{U}}\\ - k_{{\mathrm{b}}1} - k_{{\mathrm{d}}2}\end{array} & {k_{\mathrm{F}}} & {k_{{\mathrm{b}}2}} & 0 \\ 0 & {k_{{\mathrm{d}}1}} & 0 & 0 & {k_{\mathrm{U}}} & \begin{array}{l} - k_{\mathrm{F}}\\ - k_{{\mathrm{b}}1} - k_{{\mathrm{d}}2}\end{array} & 0 & {k_{{\mathrm{b}}2}} \\ 0 & 0 & {k_{{\mathrm{d}}1}} & 0 & {k_{{\mathrm{d}}2}} & 0 & \begin{array}{l} - k_{\mathrm{U}}\\ - k_{{\mathrm{b}}1} - k_{{\mathrm{b}}2}\end{array} & {k_{\mathrm{F}}} \\ 0 & 0 & 0 & {k_{{\mathrm{d}}1}} & 0 & {k_{{\mathrm{d}}2}} & {k_{\mathrm{U}}} & \begin{array}{l} - k_{\mathrm{F}}\\ - k_{{\mathrm{b}}1} - k_{{\mathrm{b}}2}\end{array} \end{array}} \right),} \end{array}$$
(14)

Here, εISjk is the fraction of acceptor I (=1, 2) photons of state S (=F, U) with the bright (b) and dark (d) states of acceptor 1 (j) and acceptor 2 (k). For example, ε1Fbd is the fraction of A1 in the folded state with A1 in the bright and A2 in the dark states. pSjk = pS × pj1 × pk2, and pbI = kbI/(kbI + kdI) is the equilibrium population of the bright state of acceptor I. kbI and kdI are the rate coefficients from the dark to the bright states and vice versa of acceptor I.

In the global analysis of two- and three-color segments, the number of independent acceptor fraction parameters can be reduced by using the relationships in Supplementary Table 4. Overall, there are 14 fitting parameters including 8 acceptor fractions (\(\varepsilon _{\mathrm{F}}^{{\mathrm{DA1}}}\), \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA1}}}\), \(\varepsilon _{\mathrm{F}}^{{\mathrm{DA2}}}\), and \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\) for 2-color DA1 and DA2 segments and ε1F, ε1U, ε2F, ε2U for 3-color segments), kF and kU, and four rate coefficients for A1 and A2 blinking. Fixed parameters are listed in Supplementary Table 4.

In the analysis of three-color/DA1 segments of two-state binding with acceptor blinking (see Supplementary Fig. 3f),

$$\begin{array}{c}{\mathbf{E}}_1 = Diag(\varepsilon _{1{\mathrm{Bbb}}},\varepsilon _{1{\mathrm{Ubb}}},\varepsilon _{1{\mathrm{Bbd}}},\varepsilon _{1{\mathrm{Bbd}}},\varepsilon _{1{\mathrm{Bdb}}},\varepsilon _{1{\mathrm{Udb}}},\varepsilon _{1{\mathrm{Bdd}}},\varepsilon _{1{\mathrm{Bdd}}})\hfill\\ {\mathbf{E}}_2 = Diag(\varepsilon _{2{\mathrm{Bbb}}},\varepsilon _{2{\mathrm{Ubb}}},\varepsilon _{2{\mathrm{Bbd}}},\varepsilon _{2{\mathrm{Bbd}}},\varepsilon _{2{\mathrm{Bdb}}},\varepsilon _{2{\mathrm{Udb}}},\varepsilon _{2{\mathrm{Bdd}}},\varepsilon _{2{\mathrm{Bdd}}})\hfill\\ {\mathbf{p}}_{{\mathrm{eq}}} = \left( {p_{\mathrm{B}}p_{{\mathrm{b}}1}p_{{\mathrm{b}}2}\varphi ,p_{\mathrm{U}}p_{{\mathrm{b}}1},p_{\mathrm{B}}p_{{\mathrm{b}}1}(1 - \varphi ),p_{\mathrm{B}}p_{{\mathrm{b}}1}p_{{\mathrm{d}}2}\varphi ,p_{\mathrm{B}}p_{{\mathrm{d}}1}p_{{\mathrm{b}}2}\varphi ,p_{\mathrm{U}}p_{{\mathrm{d}}1},p_{\mathrm{B}}p_{{\mathrm{d}}1}(1 - \varphi ),p_{\mathrm{B}}p_{{\mathrm{d}}1}p_{{\mathrm{d}}2}\varphi } \right)^{\mathrm{T}}\hfill\\ {\mathbf{K}} = \left( {\begin{array}{*{20}{c}} \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{d}}1}\\ - k_{{\mathrm{d}}2} - k^{\prime}_{{\mathrm{d}}2}\end{array} & {\varphi p_{{\mathrm{b}}2}k_{\mathrm{B}}} & {k^{\prime}_{{\mathrm{b}}2}} & {k_{{\mathrm{b}}2}} & {k_{{\mathrm{b}}1}} & 0 & 0 & 0 \\ {k_{\mathrm{U}}} & { - k_{\mathrm{B}} - k_{{\mathrm{d}}1}} & {k_{\mathrm{U}}} & {k_{\mathrm{U}}} & 0 & {k_{{\mathrm{b}}1}} & 0 & 0 \\ {k^{\prime}_{{\mathrm{d}}2}} & {(1 - \varphi )k_{\mathrm{B}}} & \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{d1}}}\\ - k^{\prime}_{{\mathrm{b}}2}\end{array} & 0 & 0 & 0 & {k_{{\mathrm{b}}1}} & 0 \\ {k_{{\mathrm{d}}2}} & {\varphi p_{{\mathrm{d}}2}k_{\mathrm{B}}} & 0 & \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{d}}1}\\ - k_{{\mathrm{b}}2}\end{array} & 0 & 0 & 0 & {k_{{\mathrm{b}}1}} \\ {k_{{\mathrm{d}}1}} & 0 & 0 & 0 & \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{b}}1}\\ - k_{{\mathrm{d}}2} - k^{\prime}_{{\mathrm{d}}2}\end{array} & {\varphi p_{{\mathrm{b}}2}k_{\mathrm{B}}} & {k^{\prime}_{{\mathrm{b}}2}} & {k_{{\mathrm{b}}2}} \\ 0 & {k_{{\mathrm{d}}1}} & 0 & 0 & {k_{\mathrm{U}}} & { - k_{\mathrm{B}} - k_{{\mathrm{b}}1}} & {k_{\mathrm{U}}} & {k_{\mathrm{U}}} \\ 0 & 0 & {k_{{\mathrm{d}}1}} & 0 & {k^{\prime}_{{\mathrm{d}}2}} & {(1 - \varphi )k_{\mathrm{B}}} & \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{b}}1}\\ - k^{\prime}_{{\mathrm{b}}2}\end{array} & 0 \\ 0 & 0 & 0 & {k_{{\mathrm{d}}1}} & {k_{{\mathrm{d}}2}} & {\varphi p_{{\mathrm{d}}2}k_{\mathrm{B}}} & 0 & \begin{array}{l} - k_{\mathrm{U}} - k_{{\mathrm{b}}1}\\ - k_{{\mathrm{b}}2}\end{array} \end{array}} \right),\end{array}$$
(15)

The definition of the matrix elements of E1 and E2 are the same as those defined in Eq. (14) except that subscripts B and U stand for the bound and unbound states, respectively. As indicated in the vector of equilibrium population, the first three states are the same as the three states in Eq. (12) with A1 in the bright state. The forth state is A1 bright and A2 dark state to account for fast A2 blinking. The last four states are a replica of the first four states with A1 in the dark state. Note that a subscript “b” is used for the state of A2 in the unbound state acceptor fractions, εUbb and εUdb, for the consistency of the notations, but this does not represent A2 bright state because A2 is not present in the unbound state. In addition, similar to the situation without considering acceptor blinking, one fitting parameter can be reduced using the relationship for the unbound state, ε2Bbd/ε1Bbd = ε2Ubb/ε1Ubb.

The likelihood function of DA2 segments can be calculated with a four-state model: three states in Eq. (12) and an additional A2 dark state. The kinetic scheme is the same as the bright (or dark) half of A1 state in Supplementary Fig. 3f. The matrix elements are

$$\begin{array}{*{20}{c}} {\mathbf{E}} & = & {Diag(\varepsilon _{\mathrm{B}}^{{\mathrm{DA2}}},\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}},\varepsilon _{{\mathrm{d2}}},\varepsilon _{{\mathrm{d2}}})}\hfill \\ {{\mathbf{p}}_{{\mathrm{eq}}}} & = & {\left( {p_{\mathrm{B}}p_{{\mathrm{b}}2}\varphi ,p_{\mathrm{U}},p_{\mathrm{B}}(1 - \varphi ),p_{\mathrm{B}}p_{{\mathrm{d}}2}\varphi } \right)^{\mathrm{T}}}\hfill \\ {\mathbf{K}} & = & {\left( {\begin{array}{*{20}{c}} \begin{array}{l} - k_{\mathrm{U}}\\ - k_{{\mathrm{d}}2} - k^{\prime}_{{\mathrm{d}}2}\end{array} & {\varphi p_{{\mathrm{b}}2}k_{\mathrm{B}}} & {k^{\prime}_{{\mathrm{b}}2}} & {k_{{\mathrm{b}}2}} \\ {k_{\mathrm{U}}} & { - k_{\mathrm{B}}} & {k_{\mathrm{U}}} & {k_{\mathrm{U}}} \\ {k^{\prime}_{{\mathrm{d}}2}} & {(1 - \varphi )k_{\mathrm{B}}} & { - k_{\mathrm{U}} - k^{\prime}_{{\mathrm{b}}2}} & 0 \\ {k_{{\mathrm{d}}2}} & {\varphi p_{{\mathrm{d}}2}k_{\mathrm{B}}} & 0 & { - k_{\mathrm{U}} - k_{{\mathrm{b}}2}} \end{array}} \right).} \end{array}$$
(16)

Here, the acceptor fraction of A2 dark states (third and fourth states in Eq. (16)) are the same as that of the unbound state as εd2 = \(\varepsilon _{\mathrm{U}}^{{\mathrm{DA2}}}\), which is equal to the A2 fraction of donor-only segments. There are 16 fitting parameters in this model, L = L(3c/DA1)L(DA2), which includes seven parameters in E matrices, kB and kU, and four rate coefficients for blinking of A1 and A2, labeling efficiency of A2 (φ), and two rate coefficients for photobleaching (and slow blinking) of A2.

Correction of the fractions of photon counts

To find FRET efficiencies, the values of the fractions of acceptor photons determined from the maximum likelihood analysis were corrected for background, leak into other channels, and direct acceptor excitation18,38,39 as described in the following sections.

Corrections for background

To correct for background, the photon count rates are subtracted by the background photon count rates of the correspondent detection channels. As a result, the fractions of acceptor photons defined in Eqs. (2) and (3) are corrected for background as39

$$\varepsilon ^{\mathrm{c}} = \frac{{\varepsilon n - b_{{\mathrm{A}}}}}{{n - b_{\mathrm{A}} - b_{{\mathrm{D}}} }}\quad(2\ {\rm{color}}).\\ \varepsilon _1^{\mathrm{c}} = \frac{{\varepsilon _1n - b_{{\mathrm{A}}1}}}{{n - b_{\mathrm{D}} - b_{{\mathrm{A}}1} - b_{{\mathrm{A}}2}}},\,\varepsilon _2^{\mathrm{c}} = \frac{{\varepsilon _2n - b_{{\mathrm{A}}2}}}{{n - b_{\mathrm{D}} - b_{{\mathrm{A}}1} - b_{{\mathrm{A}}2}}},\quad {\mathrm{(}}3\,{\mathrm{color)}}{\mathrm{.}}$$
(17)

Here, ε’s are the uncorrected values obtained from the maximum likelihood analysis above, n is the average total photon count rate including background photons, and bD, bA1, and bA2 are the average background count rates in D, A1, and A2 channels, respectively. Average background count rates were obtained from the segments after all dyes are photobleached. In the binding experiment, bA2 includes A2 photons emitted from NCBD in solution by direct A2 excitation.

Corrections for donor and A1 leak

Some donor photons can be detected as acceptor photons (donor leak to the acceptor channels). In two-color segments, the photon count rates with donor leak are \(n_{\mathrm{A}} = n_{\mathrm{A}}^{\mathrm{c}} + ln_{\mathrm{D}}^{\mathrm{c}}\), \(n_{\mathrm{D}} = (1 - l)\;n_{\mathrm{D}}^{\mathrm{c}}\), where \(n_{\mathrm{A}}^{\mathrm{c}}\) and \(n_{\mathrm{D}}^{\mathrm{c}}\) denote the count rates without donor leak, l is the fraction of donor photons detected in the acceptor channel. In three-color segments, the photon count rates are \(n_{{\mathrm{A}}1} = (1 - l_{12})\;n_{{\mathrm{A}}1}^{\mathrm{c}} + l_1n_{\mathrm{D}}^{\mathrm{c}}\), \(n_{{\mathrm{A}}2} = l_{12}n_{{\mathrm{A}}1}^{\mathrm{c}} + n_{{\mathrm{A}}2}^{\mathrm{c}} + l_2n_{\mathrm{D}}^{\mathrm{c}}\), \(n_{\mathrm{D}} = (1 - l_1 - l_2)\;n_{\mathrm{D}}^{\mathrm{c}}\). These count rates are used in the acceptor fractions with (ε) and without (εc) donor leak. Thus, for the two-color segments, the donor leak is corrected as18

$$\varepsilon ^{\mathrm{c}} = \frac{{\varepsilon - l}}{{1 - l}},$$
(18)

where ε is the value corrected for background photons in Eq. (17) and l (=\(n_{\mathrm{A}}^0/(n_{\mathrm{A}}^0 + n_{\mathrm{D}}^0)\)) is the average value of the leak of donor photons into the acceptor channel, which can be determined using \(n_{\mathrm{A}}^0\) and \(n_{\mathrm{D}}^0\), the background-corrected mean photon count rates in the acceptor and donor channels of donor-only segments.

For the three-color segments, the leak of the donor photons into the two acceptor channels can be corrected as18

$${\varepsilon _1^{\mathrm{c}}} = {\frac{{\varepsilon _1(1 - l_2) - (1 - \varepsilon _2)l_1}}{{(1 - l_1 - l_2)(1 - l_{12})}}} \\ {\varepsilon _2^{\mathrm{c}}} = {\frac{{\varepsilon _1(l_2 - l_{12}) + \varepsilon _2(1 - l_1 - l_{12}) + (l_1 + l_2)l_{12} - l_2}}{{(1 - l_1 - l_2)(1 - l_{12})}}.}$$
(19)

Here, \(l_1 = n_{{\mathrm{A}}1}^0/(n_{{\mathrm{A2}}}^0 + n_{{\mathrm{A}}1}^0 + n_{\mathrm{D}}^0)\) and \(l_2 = n_{{\mathrm{A2}}}^0/(n_{{\mathrm{A2}}}^0 + n_{{\mathrm{A1}}}^0 + n_{\mathrm{D}}^0)\). \(n_{{\mathrm{A2}}}^{\mathrm{0}}\), \(n_{{\mathrm{A1}}}^{\mathrm{0}}\), and \(n_{\mathrm{D}}^{\mathrm{0}}\) are the background-corrected mean photon count rates in A2, A1, and D channels of donor-only segments. \(l_{12} = (n\varepsilon _2 - b_{{\mathrm{A}}2})/(n\varepsilon _1 + n\varepsilon _2 - b_{{\mathrm{A}}1} - b_{{\mathrm{A}}2})\), where ε1 and ε2 are the acceptor fractions obtained from DA1 segments in the folding experiment and fractions of photons detected in A1 and A2 channels for the unbound state in the binding analysis. The experimental values are l1 = 0.051, l2 = 0.001, and l12 = 0.23 for α3D folding and l1 = 0.046, l2 = 0.007, and l12 = 0.17 for TAD/NCBD binding.

Correction for direct acceptor excitation

A small fraction of acceptor photons results from direct excitation of the acceptor by a laser instead of the energy transfer from the donor. The rate of the acceptor excitation is \(k_{\mathrm{D}}^{{\mathrm{ex}}}f^{{\mathrm{dir}}}\)(\(f^{{\mathrm{dir}}}\) < 1). (Note that the definition of \(f^{{\mathrm{dir}}}\) differs from those in refs. 18,38 by a multiplication factor γ.) Therefore, in the two-color segments, the acceptor photon count rate with direct acceptor excitation is \(n_{\mathrm{A}} = n_{\mathrm{A}}^{\mathrm{c}} + n_{\mathrm{A}}^{{\mathrm{dir}}}\), where \(n_{\mathrm{A}}^{{\mathrm{dir}}} = \eta _{\mathrm{A}}\phi _{\mathrm{A}}k_{\mathrm{D}}^{{\mathrm{ex}}}f^{{\mathrm{dir}}} = (n_{\mathrm{A}}^{\mathrm{c}} + \gamma n_{\mathrm{D}})f^{{\mathrm{dir}}}\). The donor count rate does not change. This count rate is used in Eq. (3) for the fraction of acceptor photons with (ε) and without (εc) direct acceptor excitation. The resulting correction for the direct excitation in the two-color analysis is

$$\varepsilon ^{\mathrm{c}} = \frac{{\varepsilon - f^{{\mathrm{dir}}}\gamma \;(1 - \varepsilon )}}{{1 + f^{{\mathrm{dir}}}(1 - \gamma )\;(1 - \varepsilon )}},$$
(20)

Here, ε is the background and donor-leak corrected acceptor fraction in Eq. (18). \(f_{}^{{\mathrm{dir}}} = n_{\mathrm{A}}^{{\mathrm{dir}}}/(n_{\mathrm{A}} + \gamma n_{\mathrm{D}})\) can be experimentally measured by the ratio of the photon count rates before (nA and nD) and after (\(n_{\mathrm{A}}^{{\mathrm{dir}}}\)) donor bleaching but prior to acceptor bleaching.

In the three-color segments, the acceptor photon count rates with direct acceptor excitation are \(n_{{\mathrm{A}}1} = n_{{\mathrm{A1}}}^{\mathrm{c}} + n_{{\mathrm{A1}}}^{{\mathrm{dir}}}\) and \(n_{{\mathrm{A}}2} = n_{{\mathrm{A2}}}^{\mathrm{c}} + n_{{\mathrm{A2}}}^{{\mathrm{dir}}}\), and the donor count rate does not change. The rates of A1 and A2 direct excitation are \(k_{\mathrm{D}}^{{\mathrm{ex}}}f_1^{{\mathrm{dir}}}\) and \(k_{\mathrm{D}}^{{\mathrm{ex}}}f_2^{{\mathrm{dir}}}\), respectively. Using this in Eq. (2), we find the corrected fraction of acceptor photons (i = 1, 2)

$$\varepsilon _i^{\mathrm{c}} = \frac{{n_{{\mathrm{A}}i}^{\mathrm{c}}}}{{n_{{\mathrm{A}}1}^{\mathrm{c}} + n_{{\mathrm{A}}2}^{\mathrm{c}} + n_{\mathrm{D}}}} = \frac{{\varepsilon _i - x_i}}{{1 - x_1 - x_2}}.$$
(21)

where \(x_i = (1 - \varepsilon _1 - \varepsilon _2)\;n_{{\mathrm{A}}i}^{{\mathrm{dir}}}/n_{\mathrm{D}}\). To specify \(n_{{\mathrm{A}}i}^{{\mathrm{dir}}}/n_{\mathrm{D}}\), we note that a fraction of the A1 excitation transfers to A2, which makes the correction more complicated than in the two-color case. The count rate of A1 due to direct excitation is \(n_{{\mathrm{A}}1}^{{\mathrm{dir}}} = \eta _{{\mathrm{A}}1}\phi _{{\mathrm{A}}1}\,k_{\mathrm{D}}^{{\mathrm{ex}}}\,f_1^{{\mathrm{dir}}}\,(1 - E_{12})\). The change in the A2 count rate is (1) due to the direct excitation of A1 and subsequent energy transfer to A2 and (2) due to the direct excitation of A2, i.e., \(n_{{\mathrm{A}}2}^{{\mathrm{dir}}} = \eta _{{\mathrm{A2}}}\phi _{{\mathrm{A}}2}\,k_{\mathrm{D}}^{{\mathrm{ex}}}\,\left( {f_1^{{\mathrm{dir}}}\,E_{12} + f_2^{{\mathrm{dir}}}} \right)\). Then, using \(\eta _{{\mathrm{A}}i}\phi _{{\mathrm{A}}i} = \gamma _i\eta _{\mathrm{D}}\phi _{\mathrm{D}}\), \(\eta _{\mathrm{D}}\phi _{\mathrm{D}}\;k_{\mathrm{D}}^{{\mathrm{ex}}} = n_{{\mathrm{A1}}}^{\mathrm{c}}\,\gamma _1^{ - 1} + n_{{\mathrm{A2}}}^{\mathrm{c}}\,\gamma _2^{ - 1} + n_{\mathrm{D}}\) (as follows from Eq. (4)), and Eq. (5) for \(n_{{\mathrm{A}}i}^{\mathrm{c}}/\,\gamma _i^{}n_{\mathrm{D}}\), we find xi. As a result, we have the following three-color acceptor fractions corrected for direct acceptor excitation

$${\varepsilon _1^{\mathrm{c}}} = {\frac{{\varepsilon _1 - f_1^{{\mathrm{dir}}}\gamma _1(1 - E_{12})Z}}{{1 - \left( {f_1^{{\mathrm{dir}}}\gamma _1 + f_2^{{\mathrm{dir}}}\gamma _2 + f_{\mathrm{1}}^{{\mathrm{dir}}}(\gamma _2 - \gamma _1)\left. {E_{12}} \right)} \right)Z}}} \\ {\varepsilon _2^{\mathrm{c}}} = {\frac{{\varepsilon _2 - (f_2^{{\mathrm{dir}}} + f_1^{{\mathrm{dir}}}E_{12})\,\gamma _2Z}}{{1 - \left( {f_1^{{\mathrm{dir}}}\gamma _1 + f_2^{{\mathrm{dir}}}\gamma _2 + f_1^{{\mathrm{dir}}}(\gamma _2 - \gamma _1)\left. {E_{12}} \right)} \right)Z}}} \\ Z = {\left( {1 - \varepsilon _1 - \varepsilon _2} \right)\left( {1 + \frac{{E_1}}{{1 - E_1}} + \frac{{E_2}}{{1 - E_2}}} \right).}$$
(22)

Here, ε1 and ε2 are the background and donor-leak corrected fractions (Eqs. (17) and (19)), E1, E2, and E12 are the true FRET efficiencies, which are found from two-color segments and/or using Eqs. (6)–(8) iteratively. For example, when \(E_2^{2{\mathrm{c}}}\) is known (i.e., determined from DA2 segments), \(E_{\mathrm{1}}^{3{\mathrm{c}}}\) and \(E_{{\mathrm{12}}}^{3{\mathrm{c}}}\) are found iteratively using Eqs. (8) and (22) with uncorrected ε1 and ε2 as initial values. Since \(f_1^{{\mathrm{dir}}}\) and \(f_2^{{\mathrm{dir}}}\) are small, the values converge after several iterations.

Experimentally, the γ-factors were determined by comparing the count rates before and after acceptor photobleaching. γ1 = (ηA1ϕA1)/(ηDϕD) is 1.51 and γ2 = (ηA2ϕA2)/(ηDϕD) is 0.75 for α3D folding, and γ1 = 0.83 and γ2 = 0.49 for TAD/NCBD binding. \(f_1^{{\mathrm{dir}}}\) and \(f_2^{{\mathrm{dir}}}\) are 0.067 and 0.072, respectively. Since the fluorescence signal by direct excitation of A2 of unbound NCBD in solution is treated as background in A2 channel, we set \(f_2^{{\mathrm{dir}}}\) = 0 for the unbound state (TAD only) in the binding experiment.

Gaussian chain model

When the inter-dye distances fluctuate, the FRET efficiencies determined from the three-color segments differ from those determined from the two-color segments18. The two-color FRET efficiency is the average with respect to the fluctuation of only one donor–acceptor distance. In three-color FRET, fluctuations of all three distances influence the measured acceptor fractions and the FRET efficiencies calculated using Eqs. (6)–(8). Therefore, it is natural that the FRET efficiencies obtained from the two-color and from the three-color segments are different in the case of fluctuating distances. This effect can be evaluated by calculating the three-color FRET efficiencies using the Gaussian chain model for the unfolded state of the protein. The parameters of the model are extracted from the two-color FRET efficiencies.

The Gaussian chain model involves only the mean-squared distance 〈ri2〉 as a parameter. In α3D construct, the two vectors, r1 connecting D and A1 and r12 connecting A1 and A2 (Fig. 1a), are assumed to be independent and have a Gaussian distribution, so r2 = r1 + r12 has also the Gaussian distribution with 〈r22〉 = 〈r12〉 + 〈r122〉. Thus, the inter-dye distance distributions are

$$p_i(r_i) = \left( {2\pi \left\langle {r_i^2} \right\rangle /3} \right)^{ - 3/2}\exp \left( { - \frac{{3r_i^2}}{{2\left\langle {r_i^2} \right\rangle }}} \right),\quad \quad \quad i = 1,2,12.$$
(23)

These distributions are normalized as \({\int} {p_i(r_i)\,d{\mathbf{r}}_i} = {\int}_0^\infty {p_i(r_i)\,\,4\pi r_i^2dr_i} = 1\).

The FRET efficiency Ei determined from the two-color photon trajectories is averaged as

$$\left\langle {E_i} \right\rangle = \int_0^\infty {\frac{{p_i(r_i)\,4\pi r_i^2}}{{1 + r_i^6/R_i^6}}\,\,dr_i} .$$
(24)

r12〉 and 〈r22〉 are obtained by fitting the experimental FRET efficiencies \(E_1^{{\mathrm{2c}}}\)and \(E_2^{2{\mathrm{c}}}\) from the two-color segments to Eq. (24) and 〈r122〉 is found as 〈r22〉 − 〈r12〉. When the alternating excitation is used, 〈r122〉 can also be determined from the two-color FRET efficiency E12 by A1 excitation.

The three-color FRET efficiencies due to the Gaussian chain model are found using Eqs. (6)–(8) with the fractions of acceptor photons replaced by those with the averaged photon counts18, ε1 → 〈nA1〉/(〈nA1〉 + 〈nA2〉 + 〈nD〉) and ε2 → 〈nA2〉/(〈nA1〉 + 〈nA2〉 + 〈nD〉). To find 〈nA1〉, 〈nA2〉, and 〈nD〉, we use \(k_{{\mathrm{ET}}1} = k_{\mathrm{D}}(R_1/r_1)^6\), \(k_{{\mathrm{ET}}2} = k_{\mathrm{D}}(R_2/r_2)^6\), and \(k_{{\mathrm{ET}}12} = k_{{\mathrm{A1}}}(R_{12}/r_{12})^6\) in Eq. (4) and present the photon count rates as

$${n_{\mathrm{D}}(r_1,r_2)} = {c^{{\mathrm{Dex}}}\left( {1 + \frac{{R_1^6}}{{r_1^6}} + \frac{{R_2^6}}{{r_2^6}}} \right)^{ - 1}} \\ {n_{{\mathrm{A1}}}(r_1,r_2,r_{12})} = {\gamma _1n_{\mathrm{D}}(r_1,r_2)\;\frac{{R_1^6}}{{r_1^6}}\,\,\frac{{r_{12}^6}}{{r_{12}^6 + R_{12}^6}}} \\ {n_{{\mathrm{A2}}}(r_1,r_2,r_{12})} = {\gamma _2n_{\mathrm{D}}(r_1,r_2)\;\left( {\frac{{R_1^6}}{{r_1^6}}\,\,\frac{{R_{12}^6}}{{r_{12}^6 + R_{12}^6}} + \frac{{R_2^6}}{{r_2^6}}} \right),}$$
(25)

where cDex = ηDϕD\(k_{\mathrm{D}}^{{\mathrm{ex}}}\) is a constant, which cancels when calculating the acceptor fractions.

The acceptor count rates are averaged as (i = 1, 2)

$$\begin{array}{c}\left\langle {n_{{\mathrm{A}}i}} \right\rangle = {\int} {n_{{\mathrm{A}}i}(r_1,r_2,r_{12})p_1(r_1)p_{12}(r_{12})\,d{\mathbf{r}}_1d{\mathbf{r}}_{12}} \\ = 8\pi ^2{\int}_0^\infty {dr_1{\int}_0^\infty {dr_{12}{\int}_0^\pi {d\theta \,n_{{\mathrm{A}}i}(r_1,r_2,r_{12})\,p_1(r_1)\,p_{12}(r_{12})\,r_1^2\,r_{12}^2\sin \theta } } } \;.\end{array}$$
(26)

where r2 in nAi(r1, r2, r12) is \(r_2 = \sqrt {r_1^2 + r_{12}^2 - 2r_1r_{12}\cos \theta }\) (see Fig. 1a).

The donor count rates depend only on r1 and r2, so the averaging is simplified as

$$\begin{array}{c}\left\langle {n_{\mathrm{D}}} \right\rangle = {\int} {n_{\mathrm{D}}(r_1,r_2)p_1(r_1)p_{12}(\left| {{\mathbf{r}}_2 - {\mathbf{r}}_1} \right|)\,d{\mathbf{r}}_1d{\mathbf{r}}_2} \hfill\\ \, \quad\quad= \frac{{8\pi ^2}}{3}\left\langle {r_{12}^2} \right\rangle {\int}_0^\infty {dr_1{\int}_0^\infty {dr_2\,n_{\mathrm{D}}(r_1,r_2)\,p_1(r_1)\,\left[ {p_{12}(r_1 - r_2) - p_{12}(r_1 + r_2)\,} \right]r_1r_2} } \;.\end{array}$$
(27)

The averaged count rates in Eqs. (26) and (27) are used in Eq. (2) and then in Eqs. (6)–(8). E1 (=\(E_1^{2{\mathrm{c}}}\)), E2 (=\(E_2^{2{\mathrm{c}}}\)), and E12 (=\(E_{12}^{2{\mathrm{c}}}\)) on the right-hand side of Eqs. (6)–(8) are determined from the two-color segments. In this way, we get the three-color FRET efficiencies on the left-hand side obtained using the Gaussian model with the parameters from the two-color FRET efficiencies. The two-color and calculated three-color FRET efficiencies are compared in Supplementary Fig. 9 for various sets of two independent parameters, 〈r12〉 and 〈r122〉. The Förster radii, R1 = 5.4 nm, R2 = 4.3 nm and R12 = 7.0 nm used in the calculation were obtained from the spectral overlap between measured dye spectra. The calculation shows that the difference between the three-color and two-color FRET efficiencies due to fluctuations of the distances in the unfolded state can be significant. However, for the experimental parameters of α3D folding, the deviation does not exceed 2.5%.

State assignment at the single photon level

The transitions between states can be identified at the single photon level using the parameters extracted using the maximum likelihood method and the Viterbi algorithm40,41 adapted to photon trajectory analysis18,25 (see Supplementary Fig. 5). The sequence of states obtained from the photon trajectory is overlaid in the binned fluorescence trajectory as an example, as indicated in the color bar above the trajectory in the upper panel of Fig. 3a.

CPU–GPU co-parallelization for the likelihood calculation

To find the most likely parameters we used a derivative-free optimization method (Nelder–Mead). The optimization process involves iterative evaluation of the likelihood that requires a large number of matrix–vector multiplications which is of the same order of magnitude as the number of photons analyzed. In the analysis of three-color data, it takes a long time to maximize the likelihood due to the large number of parameters and the large matrix size. To accelerate the calculation, we parallelized the likelihood calculation using both GPU and CPU. The basic idea is to parallelize the evaluation of likelihood values of the segments (NS) of photon trajectories (Supplementary Fig. 2a). First, the number of segments to be calculated by GPU (NG) is determined based on a pre-performed benchmark result, which depends on the specifications of processors. During the optimization process, the likelihood values for segment 1 to NG are calculated on GPU and the values for the rest of segments NG + 1 to NS are calculated on CPU.

In the CPU calculation, the number of threads (~10) is usually smaller than the number of segments (>100). Each thread computes the likelihood of several segments, one by one, using Eq. (10). On the other hand, there are a large number of threads in a GPU (~1000), so it is more efficient to distribute photons rather than segments. In the GPU calculation, therefore, one block with NGTh threads calculates the likelihood of one segment. The photons are equally distributed to the threads, each of which performs matrix multiplication for assigned photons in Eq. (10) as

$${\mathbf{L}}_j = \mathop {\prod}\limits_{i = M \times j + 2}^{M \times (j + 1) + 1} {\left[ {{\mathbf{F}}(c_i)\exp \left( {{\mathbf{K}}(t_i - t_{i - 1})} \right)} \right]} .$$
(28)

Here, Lj is the matrix in the likelihood computation of M photons assigned to the jth GPU thread. Then, the likelihood value for a segment in Eq. (10) is calculated by multiplying the matrices in Eq. (28)

$$L = {\mathbf{1}}^{\mathrm{T}}\mathop {\prod}\limits_{j = 0}^{N_{{\mathrm{GTh}}} - 1} {{\mathbf{L}}_j} {\mathbf{F}}(c_1){\mathbf{p}}_{eq}.$$
(29)

After both CPU and GPU calculations are finished, the total log-likelihood is obtained by adding log-likelihood values of individual segments.

The parameter optimization was implemented in C/C++ using a multidimensional minimization function (gsl_multimin_fminimizer_nmsimplex2 of the GNU Scientific Library), which can be performed using a typical laboratory computer. For the parallelization, Windows multithreading API and CUDA 8.0 library were used and compiled by Visual Studio 2015 (Intel® Xeon® CPU E5-2620 v3, NVIDIA Quadro M2000).

Correlation analysis of immobilization data

A cross-correlation function of the data from the immobilization experiment was calculated as

$$C_{\alpha \beta }(\tau ) = \overline {\frac{{\left\langle {N_\alpha (t + \tau )N_\beta (t)} \right\rangle }}{{\left\langle {N_\alpha } \right\rangle \left\langle {N_\beta } \right\rangle }} - 1} .$$
(30)

Nα (t) and Nβ (t) are the number of photons detected in α and β channels in a bin at time t, 〈…〉 is an average of a quantity in a given segment in a trajectory, and the upper bar indicates the average over segments. The correlation functions in Supplementary Fig. 6e were calculated for the segments longer than 10 ms.

Reporting summary

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