Abstract
Single molecule localization microscopy offers in principle resolution down to the molecular level, but in practice this is limited primarily by incomplete fluorescent labeling of the structure. This missing information can be completed by merging information from many structurally identical particles. In this work, we present an approach for 3D single particle analysis in localization microscopy which hugely increases signaltonoise ratio and resolution and enables determining the symmetry groups of macromolecular complexes. Our method does not require a structural template, and handles anisotropic localization uncertainties. We demonstrate 3D reconstructions of DNAorigami tetrahedrons, Nup96 and Nup107 subcomplexes of the nuclear pore complex acquired using multiple single molecule localization microscopy techniques, with their structural symmetry deducted from the data.
Introduction
Single molecule localization microscopy (SMLM) is one of the most widely applied types of optical superresolution microscopy. The image resolution is ultimately limited by the density of the fluorescent labels on the structure of interest and the finite precision of each localization^{1,2}. Recently, methods for obtaining higher precision localizations have been reported, which work by either increasing the number of collected photons per molecule via e.g. cryogenic imaging^{3,4}, or by introducing patterned illumination^{5,6}. The first limitation remains, however, and one approach to boosting the apparent degree of labeling (DOL) and filling in missing labels can be applied when the sample consists of many identical copies of the structure of interest (e.g. a macromolecule). In this case, combining many structures into a single “superparticle” increases the effective labeling density and improves the signaltonoise ratio (SNR) and resolution significantly. Besides these improvements, structural features of the data such as symmetry give insight into the morphology and functional properties of subcellular structures. In SMLM, this has been limited so far to the detection of rather simple morphologies^{7}, but no algorithms have been introduced that can find arbitrary symmetry group(s) needed to characterize 3D structures.
Existing approaches to particle averaging in SMLM can be classified as either templatebased or as adaptations of single particle analysis (SPA) algorithms for cryoelectron microscopy (EM) images. Templatebased methods^{8,9} are computationally efficient, but are susceptible to template bias artefacts. Methods derived from SPA for cryoEM^{10,11} have been employed to generate 3D reconstructions from 10^{4} to 10^{6} 2D projections of random viewing angles of a structure. However, there are two major problems with the adaptation of these algorithms to 3D SMLM data. Firstly, the image formation in cryoEM^{9} differs from SMLM where in the first the electronspecimen interaction potential is imaged (a continuous function) and in the latter (repeated) localizations of a fluorescently (under) labeled structure are imaged. Secondly, the inherent 2D nature of the input data. While the first problem can be ignored in favorable experimental conditions such as high labeling density, high localization precision, and abundant number of localizations, the latter problem remains. The threedimensional data of 3D SMLM (x, y, z coordinates) is not compatible with 2D processing even if you render the localizations into a voxelated representation. Of course projecting the data to 2D would unnecessarily throw away information and increase the problem of pose estimation. Subtomogram averaging^{12} utilizes the 3D tomographic reconstruction primarily to identify the particle locations but the actual averaging and final reconstruction is again done on the 2D projections as in SPA to avoid missing wedge reconstruction artifacts present in the tomogram. Recently, Shi et. al.^{13} also described a structurespecific method for 3D fusion, although they implicitly assume cylindrical particles and projected the volume onto top views only.
Here, we introduce a 3D particle fusion approach for SMLM which does not require, but can incorporate, a priori knowledge of the target structure such as the symmetry group. It works directly on 3D volume of localization data, rather than 2D projections, and accounts for anisotropic localization uncertainties. In addition, we propose a method for detecting the full rotational symmetry group of the structure from the data itself, which can subsequently be used in order to improve the fusion outcome. We report 3D reconstructions of the Nuclear Pore Complex (NPC) obtained from three different SMLM techniques. The results demonstrate a two orders of magnitude SNR amplification, and Fourier shell correlation (FSC) resolution values as low as 14–16 nm, which enables the structural identification of distinct proteins within a large macromolecular complex such as the NPC. We further retrieve the 8fold rotational symmetry of the NPC assembly and the full tetragonal symmetry of a 3D tetrahedron DNAorigami nanostructure, without any prior knowledge imposed on the data.
Results
3D particle fusion pipeline
The processing pipeline is built upon our previous 2D method^{14} with modifications to each step to handle 3D localizations (Fig. 1a) and with the addition of computational blocks for symmetry detection and, optionally, for symmetry promotion. Briefly, we first register all N segmented particles in pairs, which provides N(N−1)/2 relative registration parameters M_{ij} (3D rotation and translation from particle i to j). To find the absolute poses M_{i}, we map the relative poses from the group of 3D rotations and translations, SE(3), to its associated Liealgebra and then average them using an L_{1} norm for superior robustness (see “Methods” section)^{15}. With the absolute poses, we then recompute the relative transformations to perform a consistency check for removing outlier and erroneous registration entries in the alltoall matrix. These transformations are used to generate a datadriven template. Each single particle is then registered to densityresampled versions of this template for 3–5 iterations. During this process, prior knowledge of symmetry can be incorporated (see “Methods” section). The consistency check step also reveals useful information about the particle symmetry which can immediately be used to either promote symmetry in the iterated Liealgebra averaging step or independently be used for quantitative structural analysis of the macromolecular complexes (see “Methods” section). We also propose a computationally efficient means of sorting and removing outlier particles (see “Methods” section). Finally, we needed to adapt our earlier 2D pipeline^{14}, as 3D localization microscopy data typically has anisotropic localization uncertainty, being 2–4 times worse in the axial direction. In the initial step, however, an isotropic Gaussian Mixture Model (GMM) with multiple initializations regularly sampled on the rotation group is used to register the particles (see “Methods” section), and the best of these registrations is picked based on the Bhattachraya cost function that takes the anisotropic localization uncertainties into account. In case of large anisotropies the GMM registration possibly returns a suboptimal registration preventing to reach the globally optimal solution. We evaluated this potential problem but found that after dense sampling of the initial GMM starting parameters in the rotation group (see “Methods” section) this did not play a role for our data.
Particle fusion of 3D simulated SMLM data
We evaluated our algorithm using simulations of the Nup107 subcomplex of the NPC (Fig. 1c–e). Nup107 is a nucleoporin which is part of the Nup107160 complex^{16}, together with eight other nucleoporins. Our groundtruth model consists of 2 × 16 copies of Nup107 arranged in eight pairs on the two rings of the NPC, with a 13° azimuthal shift (Fig. 1b). The quality of registration was assessed with an error measure based on the residual registration error of the underlying binding sites (see “Methods” section), which is independent of the localization precision. We found that for registration errors smaller than the distance between the 8fold symmetric subunits of the NPC rings (~25 nm) the reconstruction was sufficiently good that we considered the alignment to be a success (Supplementary Fig. 1).
We simulated both PAINT and STORM imaging, to assess how the switching kinetics of the fluorescent labels affects the particle fusion (Supplementary Fig. 2). For PAINT, we generated particles with a DOL of 75%, 50%, and 30%, localization uncertainties of 3, 8, and 13 nm inplane and three times worse in the axial direction, and tilt angles spanning a range of ±36° (Supplementary Fig. 3). For STORM, we kept the DOL fixed at a realistic value of 50% while varying the average number of localizations per particle from 20 to 150 (corresponding to different fluorophore bleaching rates), and with the same range of localization uncertainties and tilt angles as before. For each simulation condition, we generated 15 datasets containing 100 particles each. We found that a registration error below 8–10 nm was required (Supplementary Fig. 1) to fully resolve the sixteen pairs of Nup107 sites. For PAINT, this was achieved for a minimum DOL of 50% and a localization precision better than 8 nm (Fig. 1c). For STORM, we observe that for high localization precision (~4 nm) the registration error is below 10 nm even for a low number of localizations per particle (down to 20). For a lower average localization precision of ~13 nm, the registration errors of all simulated STORM datasets were above 20 nm. This is similar to the error range of PAINT data at 30% DOL. Consistent with our previous work^{14}, we observe that STORM data requires a higher DOL than PAINT to achieve a similar performance. The simulations also indicate that a highquality reconstruction (error <10 nm) requires at least 50–100 particles (Fig. 1d) for PAINT data with 50% DOL. Even for unconstrained random pose variations and 75% DOL, the required number of particles for a successful registration remains relatively constant (Fig. 1e).
In Supplementary Fig. 4, we investigated if our pipeline is susceptible to potential symmetry of the underlying structure. We simulated three different particles (with arbitrary pose variation) of a highly symmetric (dodecahedron), a semisymmetric (“building”), and a totally asymmetric structure (“ringsquare”) and observed that our pipeline works properly for all these structures (see “Methods” section for simulation settings).
Particle fusion of 3D experimental SMLM data
We applied our algorithm to experimental 3D SMLM images of NPCs in fixed U2OS cells (Fig. 2 and Supplementary Movies 1 and 2). Cells expressing Nup107SNAP labeled with Alexa Fluor 647benzylguanine were imaged with three different SMLM techniques, 3D astigmatic PAINT (Supplementary Figure 56), 3D astigmatic STORM^{17,18} and 4Pi STORM^{19,20}. Figure 2a, f and k show the results of fusing 306, 356, and 750 manually segmented particles for the three modalities, which had an average number of localizations per particle of 88, 115 and 58, respectively. The final FSC resolution was ~15 nm (isotropic, see Supplementary Fig. 7). We measured the distance between the cytoplasmic and nuclear rings as 60.5, 61.6 and 62.9 nm for PAINT, STORM and 4Pi STORM data, respectively (Fig. 2b, g and l), and we determined the average radius to be 49.1, 53.2 and 51.1 nm for the top and 50.8, 51.8 and 52.8 nm for the bottom rings (Fig. 2c, d, h–i and m–n). Finally, the phase shift differences between the two rings (for analysis see ‘Methods’) were found to be 10°, 14° and 14° (Fig. 2e, j and o, and Supplementary Fig. 8). These measurements are in good accordance with cryoEMbased models derived from the work of von Appen et al.^{21}, who found a phase shift of 14°, height of 59 nm, outer ring radius of 49.7 nm, and inner ring radius of 46.6 nm. The experiments for NPCs in the lower nuclear membrane indicate a narrow tilt angle distribution (~12°, see Supplementary Fig. 9), well within the tilt tolerance limit assessed from the simulations.
Macromolecular symmetry detection
In Fig. 3 and Supplementary Movies 3 and 4, we depict our symmetry group detection approach for experimental STORM images of Nup96^{16} (https://www.ebi.ac.uk/biostudies/BioImages/studies/SBIAD8) and for experimental tetrahedron DNAorigami PAINT images. Figure 3a, b show the result of fusing 300 NPC particles after Liealgebraic averaging (before the final bootstrapping step) together with the estimated symmetry group and its axis of rotation. The deviation from the unit matrix of \(S_{ij} = R_{ij}( {\hat R_{ij}} )^{  1}\), the mismatch between the initially estimated rotation between a particle pair (R_{ij}) and the inverse of the one after Liealgebraic averaging (\(\hat R_{ij}\)), carries information about the symmetry of the particles (see Fig. 1a and “Methods” section). The peaks of the experimental histogram of trace(S_{ij}) for this dataset are located at \(\left\{ {3,1 + \sqrt 2 ,1,1  \sqrt 2 ,  1} \right\}\) which correspond to \(\left\{ {1 + 2\cos \left( {2\pi k/n} \right)k = 0,1, \ldots ,n  1} \right\}\) with n = 8, providing quantitative empirical evidence for the 8fold rotational symmetry. As for the tetrahedron, we fused 256 tetrahedronshaped DNAorigami nanostructures acquired with PAINT (Supplementary Figs. 10–12). A tetrahedron has a 2 and 3fold rotational symmetry with seven independent axes of rotation. The experimental histogram of trace(S_{ij}) shows significant peaks at three locations which are the union of the sets {3, − 1} and {3, 0} for 2 and 3fold rotational symmetry (Fig. 3d, e). For both structures, the orientation of the symmetry axes are determined from the data as well, by localizing the maxima in the density plot of the rotation axes of the S_{ij} matrices (see Fig. 3c, f and “Methods” section).
Discussion
We have developed a general purpose, templatefree 3D particle fusion algorithm for SMLM that is robust to typical experimental conditions, and have shown its performance on simulated data, on the Nup96 and Nup107 subcomplexes of the NPC for three different imaging setups, and on DNAorigami tetrahedrons. By increasing the effective DOL and improving the SNR, our pipeline opens up possibilities for reliable identification of protein locations within macromolecular complexes, thereby adding specificity to EMSPA methods via correlative approaches. We show that as few as 50 particles are enough for this purpose, enabling the exciting possibility to detect transient, rarely populated states. In addition, we provide an efficient computational approach for detecting structural symmetry from the image data, with access to the rotational multiplicity and the rotational axes.
Methods
Nup107 sample preparation for astigmatic PAINT
U2OS cells were passaged every other day and used between passage number 5 and 20. The cells were maintained in DMEM supplemented with 10% Fetal Bovine Serum and 1% Penicillin/Streptomycin. Passaging was performed using 1× PBS and TrypsinEDTA 0.05%. In all, 24 h before immunostaining, cells were seeded on ibidi eightwell glass coverslips at 30,000 cells/well.
Prefixation was performed with prewarmed 2.4% Paraformaldehyde (PFA) for 20 s followed by the permeabilization at 0.4% TrionX 100 for 10 s. Next, cells were fixed (main fixation) with 2.4% PFA for 30 min. After 3× rinsing with 1× PBS the cells were quenched with 50 mM Ammoniumchloride (in 1× PBS) for 4 min. Then, cells were washed 3× with 1×PBS followed by incubation in 1× PBS for 5 min twice. For SNAPlabeling, cells were incubated with 1 μM of SNAPligandmodified DNA oligomer in 0.5% BSA and 1 mM DTT for 2 h. Finally, cells were washed 3× for 5 min in 1× PBS, incubated with 1:1 dilution of 90 nm gold particles in 1× PBS as drift markers, washed 3 × 5 min and immediately imaged.
Nup107 sample preparation for 4PI STORM
The U2OS cells were seeded on 18 mm #1.5 round coverslips which had been sterilized in 70% ethanol, dried and washed three times with 1x PBS. All coverslips used for 4PiSMLM were coated with a mirrorreflective aluminum film over one quarter of their surface, for the purpose of alignment in the 4Pi microscope. Mirror coating was accomplished using a thermal evaporator at the Optics Workshop of the MaxPlanckInstitute for Biophysical Chemistry, Göttingen. Seeded cells were allowed to attach overnight at 37°C and 5% CO2 in a cell culture incubator.
Cells were rinsed twice with PBS and prefixed with 2,4% paraformaldehyde (PFA; Electron Microscopy Sciences; cat.# 15710) in PBS (+Ca^{2+}/Mg^{2+}) for 30 seconds. The cells were then immediately permeabilized with 0.5% Triton X100 (SigmaAldrich; cat.# T8787) in PBS (+Ca^{2+}/Mg^{2+}) for 10 min and directly fixed afterwards with 2,4% paraformaldehyde (PFA; Electron Microscopy Sciences; cat.# 15710) in PBS (+Ca^{2+}/Mg^{2+}) for another 30 min. After fixation, the samples were rinsed three times with PBS and quenched for remaining fixative with 50 mM NH_{4}Cl for 5 min. After quenching, the sample was rinsed three times with PBS and washed three times for 5 min. with PBS. The fixed samples were immediately stained using one of the protocols described below.
In order to perform NPC labeling with SNAPtag and after fixation, samples were blocked with a few drops of ImageiT FX Signal Enhancer (ThermoFisher; cat.# I36933) for 30 min. The benzylguanine (BG)conjugated AF647 (SNAPSurface; NEB; cat.# S9136S) was diluted to 1 μM in blocking solution (0,5% (w/v) BSA, 1 mM DTT in 1x PBS) and incubated with the sample for 1 hour. This was followed by a final round of three rinsing and 5 min washing steps.
DNAorigami tetrahedron sample preparation for PAINT
The tetrahedron DNAorigami structures were formed in a onepot reaction with a 50 μl total volume containing 10 nM scaffold strand (p8064), 100 nM core staples, 100 nM connector staples, 100 nM vertex staples, 100 nM biotin handles, 100 nM DNAPAINT handles, and 1400 nM biotin antihandles in folding buffer (1× TE (5 mM Tris, 1 mM EDTA) buffer with 10 mM MgCl_{2}). The solution was annealed using a thermal ramp cooling from 80 to 4 °C over the course of 15 h. After selfassembly, the structures were mixed with 1× loading dye and then purified by agarose gel electrophoresis (1.5% agarose, 0.5× TAE, 10 mM MgCl_{2}, 1× SYBR Safe) at 3 V/cm for 3 h. Gel bands were cut, crushed, and filled into a Freeze ‘N Squeeze column and spun for 5 min at 1000 × g at 4 °C.
Nup107 sample preparation for astigmatic STORM
The procedure followed is equal to the one described in Li et al.^{18}. For convenience here the procedure is described also. Rinse 2x Coverslips containing Nup96SNAPtag cells (catalog no. 300444,CLS Cell Line Service) with warm PBS. In a 2.4% (w/v) formaldehyde(FA) in PBS solution for 40 s we preform prefixation before the samples were permeabilized in 0.4% (v/v)Triton X100 in PBS for 3 min. Complete fixation was carried out in 2.4% (w/v) FA in PBS for 30 min followed by 3 Å~ 5 min washing steps in PBS after fixation. Quenching of FA was done by placing the samples in 100 mM of NH4Cl in PBS for 5 min and afterward washed 3x in PBS for 5 min each. Then, the sample was incubated for 30 min with ImageiT FX Signal Enhancer (catalog no. I36933, Thermo Fisher Scientific) and then stained with SNAP dye buffer (3 μM BGAF647 (catalog no. S9136S, New England Biolabs) and 3 μM dithiothreitol in 0.5% (w/v) bovine serum albumin (BSA) in PBS) for 2 h at room temperature. We removed unbound dye by washing the coverslips 3x for 5 min in PBS. Samples were then mounted into custom sample holders in imaging buffers (50 mM of Tris/HCl pH 8, 10 mM of NaCl, 10% (w/v) dglucose, 500 μg ml^{−1} of glucose oxidase, 40 μg ml^{−1} of glucosecatalase and 35 mM of MEA in H_{2}O). We sealed the holder with parafilm.
Single molecule experiments for astigmatic PAINT imaging of Nup107
Fluorescence imaging was carried on an inverted microscope (Nikon Instruments, Eclipse Ti2) with the Perfect Focus System, applying an objectivetype TIRF configuration with an oilimmersion objective (Nikon Instruments, Apo SR TIRF ×100, numerical aperture 1.49, Oil). A 561nm (MPB Communications Inc., 2W, DPSS system) laser was used for excitation. The laser beam was passed through cleanup filters (Chroma Technology, ZET561/10) and coupled into the microscope objective using a beam splitter (Chroma Technology, ZT561rdc). Fluorescence light was spectrally filtered with an emission filter (Chroma Technology, ET600/50 m and ET575lp) and imaged on a sCMOS camera (Andor, Zyla 4.2 Plus) without further magnification, resulting in an effective pixel size of 130 nm (after 2 × 2 binning).
Imaging was carried out using an imager strand concentration of 1 nM (P3Cy3B) in cell imaging buffer (buffer C) 30,000 frames were acquired at 200 ms integration time. The readout bandwidth was set to 200 MHz. Laser power (@561 nm) was set to 130 mW (measured before the back focal plane (BFP) of the objective), corresponding to 0.73 kW/cm^{2} at the sample plane.
Axial calibration was presented earlier in Li et al.^{17}. Here the procedure is repeated for convenience. We dilute TetraSpeck beads (0.75 μl from stock, catalog no. T7279, Thermo Fisher in 360 μl H_{2}O, mixed with 40 μl 1 M MgCl_{2} and then put them on a coverslip in a custommanufactured sample holder. After 10 min, the mix was replaced with 400 μl H_{2}O. About 20 positions on the coverslip were defined with the use of MicroManager and the beads were imaged in z stacks (−1 to 1 μm, 10nm step size) using the same filters as used in the intended experiment.
Single molecule experiments for astigmatic PAINT imaging of Tetrahedron
Tetrahedron imaging experiments were carried out on an inverted Nikon Eclipse Ti microscope (Nikon Instruments) with the Perfect Focus System, attached to a Yokogawa spinning disk unit (CSUW1, Yokogawa Electric). An oilimmersion objective (Plan Apo ×100, NA 1.45, oil) was used for all experiments. The excitation laser (561 nm, 300 mW nominal, coherent sapphire or 532 nm, 400 mW nominal, Cobolt Samba) was directly coupled into the Yokogawa W1 unit using a lens (focal length f = 150 mm). The pinhole size of the disk was 50 μm. As dichroic mirror, a Di01T405/488/568/64713 × 15 × 0.5 from Semrock or t540spxxruf1 from Chroma was used. Fluorescence light was spectrally filtered with emission filters (607/36 nm from Semrock or ET585/65 m + ET542lp from Chroma) and imaged on an EMCCD camera (iXon 897, Andor Technologies), resulting in a pixel size of 160 nm. The power at the objective was measured to be ~10% of the input power.
For the tetrahedron imaging experiment (2 nM of P1Cy3b imager in buffer B) the Andor iXon 897 with a readout bandwidth of 5 MHz at 16 bit and 5× preamp gain was used. The EM gain was set to 100. In all, 30,000 frames with an integration time of 800 ms were acquired. Imaging was performed using the Yokogawa W1 spinning disk unit with an excitation intensity of ~226 W/cm^{2} at 561 nm at the sample (laser was set to ~38 mW). No additional magnification lens was used resulting in an effective pixel size of 160 nm.
3D images were acquired using a planconvex cylindrical lens with a focal length of f = 0.5 m, ~2 cm away from the camera chip. The calibration was done as in earlier studies. For the processing of the data the software package Picasso^{22} was used.
Single molecule experiments for astigmatic STORM imaging of Nup107
homozygous Nup107SNAP U2OS cell lines were fixed and labeled with Alexa Fluor 647benzylguanine and imaged on a custombuilt setup that contains a cylindrical lens in the emission path for astigmatic 3D localization. The data were fitted using an experimental PSF model calibrated using a zstack of beads that were immobilized on the coverslip^{17}. Subsequently, fitting errors induced by the refractive index mismatch were corrected based on a calibration of beads immobilized in a gel^{18}. See Li et al.^{18}. for additional description.
Single molecule experiments for 4Pi STORM imaging of Nup107
The design of the 4Pi microscope was based on an earlier design published by Aquino et al.^{19}, which was then extensively modified to achieve higher image quality and usability. Specifically, the design was changed to incorporate feedback systems to maintain the sample focus position, higher NA objectives to collect more light, a completely redesigned sample stage allowing for fast and reliable sample mounting and linear translation when adjusting the sample position, a redesigned 4Pi image cavity allowing for maintenance of the beam path alignment, and new acquisition and control software to allow accurate control of the instruments involved in the system stabilization and acquisition of the raw image data. The laser illumination sources used for STORM imaging included a red laser for imaging (642nm CW, 2W, MPB Communications Inc.) and a UV laser for molecule reactivation (405nm CW, 100mW, Coherent). Excitation light was controlled and modulated either directly via the laser controller or via an acoustooptic tunable filter (AA Opto Electronic). Variable angle TIRF or nearTIRF illumination was achieved by coupling all light sources through an optical fiber, whose output was positioned in an optical plane conjugate to the objective lens back focal plane. By placing the output of the fiber on a motorized translation stage, the illumination angle could be continuously varied for optimal signal to background ratio. The 4Pi microscope cavity was based on two highNA objective lenses (Olympus, 100x, silicone oil immersion, NA 1.35). One objective was fixed in position on a mounting block while the other was adjustable in three dimensions using a 3axis piezo stage (Physik Instrumente, P733.3). The adjustable objective was also adjustable in tip/tilt and XYZ via micrometer screws for coarse positioning and alignment. Illumination and control beams were introduced into the 4Pi cavity and brought out again via dichroic mirrors (ZT405488561640950RPC, Chroma). The detected fluorescence from the two objectives was recombined at a 50:50 beamsplitter (Halle). Prior to the beamsplitter each detected beam passed through a quarter wave plate (Halle) and a custom BabinetSoleil compensator made of quartz and BK7 glass, one of which with an adjustable thickness of quartz glass, which allowed a precise phase delay to be introduced between the P and S polarized fluorescence light. The remainder of the detection path consisted of an optical relay to crop and focus the overlaid P and S polarized images onto four quadrants of an EMCCD camera (Andor Ixon DU897) as previously described. Before the camera, the light was filtered with fluorescence emission filters (Semrock LP647RU, Semrock FF01770SP) and optionally a dichroic mirror (Semrock FF685Di02) which allowed the fluorescence in one polarization channel to be filtered selectively for twocolor 4PiSMLM imaging. Control systems included the sample focus control and the objective alignment control, and each of these was based on an infrared laser beam introduced into the 4Pi cavity. The sample focus control was based on a design similar to that used in a standard STORM microscope: an infrared beam (830nm laser diode, Thorlabs) was reflected from the sampleglass interface, and the position of the reflected beam was detected on a photodetector. Fine control of the sample position was maintained with a linear piezo stage (Physik Instrumente, P752) mounted underneath the top section of the threeaxis linear stage used for sample positioning (Newport, M462XYZM). For the objective alignment control, a second infrared beam (940nm laser diode, Thorlabs) was collimated and passed through the two objective lenses, focusing at the sample plane. Any motion of the two objectives with respect to each other resulted in a lateral shift in the transmitted beam, or a change in the collimation of the transmitted beam. The lateral shift was continuously monitored via a quadrant photodiode, and the transmitted beam collimation was monitored by splitting the beam and focusing it onto two pinholes positioned on either side of the focus, with photodetectors behind each pinhole. These signals were measured using a DAQ card (National Instruments), and a softwarebased feedback loop was then used to adjust the position of the movable objective lens to keep it aligned with the fixed objective lens. All microscope control and data acquisition were performed using custom software written in Labview (National Instruments).
The sample was illuminated with 642 nm excitation light in order to switch off the fluorophores and cause them to blink stochastically. The emitted light was filtered spectrally (see above) and detected at the EMCCD camera, running at a frame rate of 101 Hz. Typically, 100000 image frames were acquired in a single measurement. During the experiment, the power of the 405 nm laser was manually adjusted to reactivate the fluorophores and keep the number of localizations per frame constant. Optical stabilization of the zfocus (focuslock) was engaged before starting each recording, in order to minimize sample drift during the measurement. Prior to each set of 4Pi measurements, images of a fluorescent bead located on the sample were recorded as the bead was scanned in the Zdimension, in order to create a calibration scan which was used in postprocessing analysis of the 4Pi STORM image data. For all experiments, images of beads located at different positions in the sample plane were recorded, in order to generate a coordinate mapping which allowed the coordinate systems of the different image channels to be mapped onto each other.
STORM image analysis and reconstruction follows a standard approach based on peak finding and localization^{23}. Correction of sample drift in postprocessing was done based on image correlation of the 3D STORM data with itself over multiple time windows. STORM images were rendered as summed Gaussian peaks with a Gaussian width approximately equal to the previously measured localization precision (typically 3.5 nm in X, Y, and Z).
Data fusion pipeline
Our data fusion framework is largely the same as our earlier work^{14} with 3D instead of 2D localization data and with significant modification and improvement of each step. We equipped the Gaussian Mixture Model (GMM) registration with a routine for automatic (isotropic) scale selection which eliminate the need for parameter tuning (Supplementary Note 1 and Supplementary Fig. 13). In general, we found that the scale seems to be dependent on the shape of the particle rather than the DOL and localization precision and it may be recommended to finetune this scale parameter using this routine for the reconstruction of new types of particles. We further modified the initialization step of the GMM registration in order to uniformly cover the whole SO(3) landscape for the initial pose of each particle (Supplementary Note 2) and increased the sampling. As the GMM does not convergence to a global optimal solution we evaluate all found registration parameters with the Bhattachraya cost function, to select the optimal registration parameters. In this way we can also take the anisotropic localization precision in 3D into account. In case of large anisotropic localization uncertainties in all dimensions the GMM registration might return the wrong registration and we might not find the globally optimal solution by this procedure. The registration parameters could, however, further be refined by optimizing with the Bhattachraya cost starting from the best GMM registration in this case. We tried this but found that it did not improve the result a lot while being computationally demanding.
In order to find the absolute pose of the particles from the relative pairwise transformations, we used Liealgebraic averaging as described in ref. ^{14}. Here, we used the L_{1} norm which has significantly better performance than the L_{2} norm in the presence of outlier and erroneous registrations (see Supplementary Note 3 and Supplementary Figs. 14 and 15 for a detailed comparison). We have to replace the consistency evaluation as rotations in 2D can be characterized by one inplane angle only and therefore a straightforward threshold can be applied to the angle difference. In 3D, the three Eulerian angles are required to describe a rotation which complicates matters significantly as different rotations do not commute. To this end we make use of the fact that the recomputed relative transforms \(\hat R_{ij}\) (rotation) should ideally match the initially measured relative transformations R_{ij}, i.e., in the ideal case
in which I is the 3 × 3 identity matrix with trace(S_{ij}) = 3. In practice, and due to the registration error, trace(S_{ij}) can be <3. Therefore, a reasonable choice for the consistency check is to remove the transformations that deviate from the peak at 3 more than a certain threshold (∈). Here, we set an empirical threshold ∈ = 0.5 to remove inconsistencies.
Symmetry detection
Registration errors are not the only reason that might lead to a deviation of S_{ij} from identity. In fact, trace(S_{ij}) can no longer be assumed to be close to 3 in case of a rotational symmetry. Any found \(\hat R_{ij}\) that adheres to the symmetry constraint is a valid solution to the registration problem and therefore the S_{ij} are expected to be close to any of the transformations \(\bar S_k\) in the symmetry group (labeled with index k). The numerically found solution S_{k} appears to be random, which enables us to experimentally assess the symmetry. If, for example, the symmetry group contains an nfold rotational symmetry, then the \(\bar S_k\) could be an nfold rotation matrix. The trace of the rotation matrices can be expressed as^{24}:
where ψ_{ij} are the rotation angles. If we plot the histogram of the found trace(S_{ij}), we expect peaks at values 1 + 2cos(2πk/n), for k = 0, 1, …, n−1. It should be mentioned that these peaks are typically spread due to the aforementioned registration error. For example, for a 2fold rotational symmetry we have peaks at {3,−1}, for a 3fold rotational symmetry at {3,0} and for an 8fold rotational symmetry at \(\left\{ {3,1 + \sqrt 2 ,1,1  \sqrt 2 ,  1} \right\}\).
Further, we can also compute the axes of rotation from S_{ij} using the following formula:
in which \(s_{ij}^{m,n}\) are the elements of the 3 × 3 S_{ij} matrix. This will provide us with N(N−1)/2 estimated rotation axes. To infer the symmetry axis(es) of the particle, each estimated axis is normalized to have unit length and then is projected as a point on the unit sphere. The maxima in the density plot of these points reveals the symmetry axes (Fig. 3c, f).
Finally, it turned out that iterating the loop of Liealgebraic averaging based on the most consistent S_{ij} (those for which trace(S_{ij}) ≈ 3) and the recomputation of the relative transformations can better reveal an indication of symmetry in the trace histogram. This can be considered as an extension of the outlier removal step.
Symmetry promotion during Liealgebra averaging
In step 2 of the pipeline, we recompute the relative transformations using the Liealgebra averaging of the consistent transformations for which trace(S_{ij}) ≈ 3. This hard thresholding, however, discards the transformations that are multiples of the rotational symmetry group(s) of the underlying structure and are located at 1 + 2cosψ_{ij} with ψ_{ij} = 2πk/n for nfold symmetry group. In this extra step of the pipeline, we can use the symmetry group information (either found from the symmetry detection step or obtained from initial prior knowledge) in the Lie algebra averaging to transform the S_{ij} with the retrieved symmetry transformation \(\bar S_k\) to another transformation \(\bar S_{ij} = S_{ij}\left( {\bar S_k} \right)^{  1}\), that is close to unity, so that the principles of Liealgebra averaging can again be applied. This increases the number of consistent transformations, allows for a more robust Liealgebra averaging and subsequently a better datadriven template for the bootstrapping step (Supplementary Fig. 16 and Supplementary Movie 5). The increase of the number of consistent registrations is foremost dependent on the initial quality of registrations and the multiplicity of the symmetry present.
Symmetry promotion after bootstrapping
For symmetric structures and in the case of underlabeling or of a nonuniform distribution of localizations per binding sites (e.g. in STORM), the hotspot problem reported earlier^{14} is unavoidable. The registration algorithm tends to match dense regions of the structure and consequently the unbalanced occupancy of sites is reinforced in the process. We overcome this problem by properly incorporating prior knowledge about the symmetry group of the structure. For NPC, which has an 8fold rotational symmetry (2D cyclic group C_{8}) around the estimated rotation axis through the center of the cytoplasmic and nuclear rings, we randomly added integer multiples of 2π/8 to the alignment angles of the particles at each iteration of the bootstrapping. This subsequently results in a uniform distribution of localizations over the binding sites. It is worth mentioning that this approach is different from what is done in single particle averaging in EM^{25} and in the method of Sieben et al.^{11}, where the asymmetrical subunit of the particles is replicated to generate a symmetric structure based on the given symmetry group. In our approach the final reconstruction is mathematically not symmetric, but the symmetry is used to resolve the hotspot problem. This approach can easily be adapted to other simple point groups such as cyclic C_{n} and dihedral D_{n} groups given the axis (or axes) of rotation(s).
Outlier particle removal
In our earlier work^{14}, we kept all initially picked particles for the final superparticle. We only removed bad registrations from the alltoall matrix, keeping the graph connected. In practice, however, it happens that the segmented particle set contains “outliers” that are either not a particle but background or just very lowquality particles. We propose a simple and efficient method for excluding outliers with small computational cost. After the bootstrapping step, we construct an N × N matrix with elements equal to the Bhattacharya cost function for all pairs of aligned particles (Supplementary Fig. 17a). We sum over the columns (or rows) of this similarity matrix to assign a single score to each individual particle. If all particles are of good quality, these scores should be similar in magnitude. For outlier particles, however, we observe that the histogram of scores has an extended tail. We therefore identify outliers as particles with scores that are more than three scaled median absolute deviations (MAD) away from the median (Supplementary Fig. 17b). This outlier particle removal only works properly if most of the segmented particles are of good quality and the particle fusion has not failed. The visual experience of the final reconstruction is barely affected for the examples shown in Fig. 2, however, the best and worst particles demonstrate how this approach can rank the quality of the included particles (Supplementary Fig. 17c, d).
Simulation setup
Our first groundtruth model consists of 2 × 16 copies of Nup107 arranged in eight pairs on the cytoplasmic and nuclear ring of the NPC with ~13° of azimuthal shift (Fig. 1b). PAINT and STORM switching kinetics were simulated as earlier described^{14}. For each parameter setting, we generated 15 datasets containing 100 particles each. The groundtruth model for dodecahedron has 20 binding sites at its vertices with a minimum binding site distance of 30.9 nm (Supplementary Fig. 4a, b). The “building” model has also 20 binding sites forming a structure with dimensions of 20 × 100 × 60 (width × length × height) nm (Supplementary Fig. 4c, d). The “ringsquare” structure consists of an unconnected 8point square and an 8point ring. The center of the ring has an offset with respect to the center of the square and the ring is tilted, making a 26.6° angle with the horizontal plane in such a way as to break any possible symmetry (Supplementary Fig. 4e, f). We used these models to simulate PAINT particles with a DOL of 50 and 75% and a photon count of 2000 and 5000.
Registration error measure in simulations
To assess the performance of the method on simulated data, we devised an error metric which is independent of the shape of the groundtruth superparticle, does not have a global offset problem i.e. any transformation of the whole ensemble of particles gives the same error, can solve the symmetry ambiguity, is not impaired by underlabeling, and has the same physical unit as the localization data. The error is the averaged Euclidean distance between corresponding binding sites after applying the data fusion process. This works in simulation only as there we know the ground truth and thus, we can establish point correspondence between binding sites. This measures the registration error, however, if we would do the same with the localization data, we would get a convoluted compound of registration error and localization error and an overweighting of sites with many localizations. In Supplementary Figs. 18 and 19, we illustrate the process. We find the point correspondence by measuring the distance for all possible combinations of binding sites and then report the minimum as the registration error between the two particles. Supplementary Figure 19 demonstrates such combinations for a simplified NUP structure with K = 16 designed binding sites. Mathematically, the registration error of N aligned particles is computed as follows:
in which x_{m} is the localization data (3D coordinate) of particle m from the set of all particles. The double summation is over all pairs of particles and over all possible correspondences of the binding sites for the current pair of particles.
Analysis of NPC structural parameters
NPCs are embedded in the nuclear membrane and their tilt axis aligns reasonably with the optical axis (normal distribution with about zero mean, Supplementary Fig. 9). Consequently, the Liealgebra always aligns the particles with the xy plane for experimental data. A moment analysis of the superparticle is used to align the average pose with the principle planes (xy, xz, yz and etc.), i.e., aligning the symmetry axis of the NPC superparticle with the zaxis. The distance between the upper and lower rings of the NPCs is estimated by first computing the histogram of the z coordinate of the localization data in the superparticle. Then, a kernelsmoothing distribution with a bandwidth of 4 nm is fitted to the histogram and, finally, the distance between the two peaks of the fit is computed (Fig. 2b, g and l). The radius of the two rings is measured by separating the localization data of the superparticle in two halves using a segmentation threshold which is computed as the local minimum of the z coordinate histogram. Then, the x and y coordinates of the localization data are transformed to twodimensional polar coordinates (r, θ). The peak of the histogram of the r component of the localizations defines the radius of the rings (Fig. 2c–d, h–i and m–n). The angular shift between the two rings of the Nup107 is estimated by first fitting the function b_{0} + b_{1} sin(8θ + b_{2}) to the angular components of the localization data in each ring. The iterative least squares method is used for this nonlinear regression model to find the unknown coefficients b_{0}, b_{1} and b_{2}. Then, the difference between the fitted b_{2} parameters for the two rings defines the angular phase difference (Supplementary Fig. 8).
Computational complexity
Alltoall registration of 306 and 356 Nup107 PAINT and STORM particles with an average number of localization per particle of 88 and 115 took about 1 and 2 h on a desktop PC (CPU: Intel® Xeon(R) Silver 4110 CPU @ 2.10 GHz × 32, RAM: 32 Gb and GPU: TITAN Xp).
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Data availability
The authors declare that all other data supporting the findings of this study are available within the paper and its supplementary information files. Localization data for NUP107 and tetrahedron 3D DNAorigami data are available through 4TU Research Data repository^{26} at https://doi.org/10.4121/13797686. NUP96 localization data are available publicly at https://www.ebi.ac.uk/biostudies/BioImages/studies/SBIAD8. Source data are provided with this paper.
Code availability
The software is available for download under the terms of the Apache2.0 license from Github and 4TU Research Data repository^{27} at https://github.com/imphys/smlm_datafusion3d. (https://doi.org/10.4121/13743703).
Change history
26 May 2021
A Correction to this paper has been published: https://doi.org/10.1038/s41467021237679
References
Bates, M., Huang, B. & Zhuang, X. Superresolution microscopy by nanoscale localization of photoswitchable fluorescent probes. Curr. Opin. Chem. Biol. 12, 505–514 (2008).
Nieuwenhuizen, R. P. et al. Measuring image resolution in optical nanoscopy. Nat. Methods 10, 557–562 (2013).
Li, W., Stein, S. C., Gregor, I. & Enderlein, J. Ultrastable and versatile widefield cryofluorescence microscope for singlemolecule localization with subnanometer accuracy. Opt. Express 23, 3770–3783 (2015).
Weisenburger, S. et al. Cryogenic optical localization provides 3D protein structure data with Angstrom resolution. Nat. Methods 14, 141–144 (2017).
Balzarotti, F. et al. Nanometer resolution imaging and tracking of fluorescent molecules with minimal photon fluxes. Science 355, 606–612 (2017).
Cnossen, J. et al. Localization microscopy at doubled precision with patterned illumination. Nat Methods 17, 59–63 (2019).
Wu, Y. L., Tschanz, A., Krupnik, L., Ries, J. Quantitative data analysis in singlemolecule localization microscopy. Trends Cell Biol. 30, 837–851 (2020).
Loschberger, A. et al. Superresolution imaging visualizes the eightfold symmetry of gp210 proteins around the nuclear pore complex and resolves the central channel with nanometer resolution. J. Cell Sci. 125, 570–575 (2012).
Broeken, J. et al. Resolution improvement by 3D particle averaging in localization microscopy. Methods Appl. Fluoresc. 3, 014003 (2015).
Salas, D. et al. Angular reconstitutionbased 3D reconstructions of nanomolecular structures from superresolution lightmicroscopy images. Proc. Natl Acad. Sci. USA 114, 9273–9278 (2017).
Sieben, C., Banterle, N., Douglass, K. M., Gonczy, P. & Manley, S. Multicolor singleparticle reconstruction of protein complexes. Nat. Methods 15, 777–780 (2018).
Leigh, K. E. et al. Subtomogram averaging from cryoelectron tomograms. Methods Cell Biol. 152, 217–259 (2019).
Shi, X., Garcia, G. 3rd, Wang, Y., Reiter, J. F. & Huang, B. Deformed alignment of superresolution images for semiflexible structures. PLoS ONE 14, e0212735 (2019).
Heydarian, H. et al. Templatefree 2D particle fusion in localization microscopy. Nat. Methods 15, 781–784 (2018).
Govindu, V. M. Liealgebraic averaging for globally consistent motion estimation. Proceedings of the 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2004. CVPR 2004., Vol. 1 II (IEEE, 2004).
Thevathasan, J. V. et al. Nuclear pores as versatile reference standards for quantitative superresolution microscopy. Nat. Methods 16, 1045–1053 (2019).
Li, Y. et al. Realtime 3D singlemolecule localization using experimental point spread functions. Nat. Methods 15, 367–369 (2018).
Li, Y. et al. calibration and aberration correction for 3D singlemolecule localization. Biomed. Opt. Express 10, 2708–2718 (2019).
Aquino, D. et al. Twocolor nanoscopy of threedimensional volumes by 4Pi detection of stochastically switched fluorophores. Nat Methods 8, 353–359 (2011).
Shtengel, G. et al. Interferometric fluorescent superresolution microscopy resolves 3D cellular ultrastructure. Proc Nat Acad Sci USA 106, 3125–3130 (2009).
von Appen, A. et al. In situ structural analysis of the human nuclear pore complex. Nature 526, 140–143 (2015).
Schnitzbauer, J., Strauss, M. T., Schlichthaerle, T., Schueder, F. & Jungmann, R. Superresolution microscopy with DNAPAINT. Nat. Protoc. 12, 1198 (2017).
Bates, M., Jones, S.A. & Zhuang, X. Stochastic optical reconstruction microscopy (STORM): a method for superresolution fluorescence imaging. Cold Spring Harb Protoc. 2013, 498–520 (2013).
Kanatani, K. Geometric Computation For Machine Vision (Clarendon Press, 1993).
Frank, J. Electron microscopy of macromolecular assemblies. ThreeDimensional Electron Microscopy of Macromolecular Assemblies 15–70 (Oxford Scholarship Online, 2006).
Heydarian, H. et al. SingleMolecule Localization Microscopy (SMLM) 3D datasets, 4TU. Research Data https://doi.org/10.4121/13797686 (2021).
Heydarian, H. et al. 3D particle averaging and detection of macromolecular symmetry in localization microscopy, 4TU. Research Data https://doi.org/10.4121/13743703 (2021).
Acknowledgements
This work was supported by the European Research Council (Nano@cryo, grant no. 648580 to H.H. and B.R.; MolMap, grant no. 680241 to R.J., CellStruct, grant no. 724489 to J.R.), the eScience Center (path finder grant 027016P04 to B.v.W. and B.R.) and the European Molecular Biology Laboratory (J.R.). We thank Avishek Chatterjee for giving Liealgebra averaging code. We thank Yiming Li and Philipp Hoess for acquisition and analysis of the 3D astigmatic STORM data. M.B. gratefully acknowledges funding from the European Molecular Biology Organization (ALTF 800–2010) and the Max Planck Society. The U2OS cell line was a kind gift of Jan Ellenberg.
Author information
Authors and Affiliations
Contributions
S.S., M.B and B.R. conceived the project. H.H. developed the pipeline, wrote code in MATLAB, performed simulations and analyzed data. H.H. and M.J. develop the symmetry detection approach. A.P., J. KF. and M.B. contributed to the Matlab code and performed extensive testing. B.v.W. wrote GPU code. F.S. and R.J. acquired 3D astigmatic PAINT data, J.R. acquired 3D astigmatic STORM data, and M.B. acquired 4Pi STORM data. H.H., S.S., M.B., and B.R. wrote the paper, and all authors commented on the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Source data
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 http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Heydarian, H., Joosten, M., Przybylski, A. et al. 3D particle averaging and detection of macromolecular symmetry in localization microscopy. Nat Commun 12, 2847 (2021). https://doi.org/10.1038/s41467021220065
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467021220065
This article is cited by

Maximumlikelihood model fitting for quantitative analysis of SMLM data
Nature Methods (2023)

Reply to: Assessment of 3D MINFLUX data for quantitative structural biology in cells
Nature Methods (2023)

Assessment of 3D MINFLUX data for quantitative structural biology in cells
Nature Methods (2023)

Fluorescence nanoscopy at the sub10 nm scale
Biophysical Reviews (2021)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.