원시데이터 수집 시스템
선정목록으로

nextPYP: a comprehensive and scalable platform for characterizing protein variability in situ using single-particle cryo-electron tomography

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Hsuan-Fu Liu — Department of Biochemistry, Duke University, Durham, NC, USA
  2. Ye Zhou — Department of Computer Science, Duke University, Durham, NC, USA
  3. Qinwen Huang — Department of Computer Science, Duke University, Durham, NC, USA
  4. Jonathan Piland — Department of Electrical and Computer Engineering, Duke University, Durham, NC, USA
  5. Weisheng Jin — Department of Computer Science, Duke University, Durham, NC, USA
  6. Justin Mandel — Department of Computer Science, Duke University, Durham, NC, USA
  7. Xiaochen Du — Department of Chemical Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA
  8. Jeffrey W. Martin — Department of Computer Science, Duke University, Durham, NC, USA
  9. Alberto Bartesaghi — Department of Biochemistry, Duke University, Durham, NC, USA. alberto.bartesaghi@duke.edu|||Department of Computer Science, Duke University, Durham, NC, USA. alberto.bartesaghi@duke.edu|||Department of Electrical and Computer Engineering, Duke University, Durham, NC, USA. alberto.bartesaghi@duke.edu|||Department of Electrical and Computer Engineering, Duke University, Durham, NC, USA
DOI
10.1038/s41592-023-02045-0
저널
Nature Methods
발행년도
2023
발행기관
Nature Portfolio
피인용수
47
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41592-023-02045-0
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4387965243

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Single-particle cryo-electron tomography is an emerging technique capable of determining the structure of proteins imaged within the native context of cells at molecular resolution. While high-throughput techniques for sample preparation and tilt-series acquisition are beginning to provide sufficient data to allow structural studies of proteins at physiological concentrations, the complex data analysis pipeline and the demanding storage and computational requirements pose major barriers for the development and broader adoption of this technology. Here, we present a scalable, end-to-end framework for single-particle cryo-electron tomography data analysis from on-the-fly pre-processing of tilt series to high-resolution refinement and classification, which allows efficient analysis and visualization of datasets with hundreds of tilt series and hundreds of thousands of particles. We validate our approach using in vitro and cellular datasets, demonstrating its effectiveness at achieving high-resolution and revealing conformational heterogeneity in situ. The framework is made available through an intuitive and easy-to-use computer application, nextPYP ( http://nextpyp.app ).

본문 85,389자

본문 펼치기
## nature methods Article [https://doi.org/10.1038/s41592-023-02045-0](https://doi.org/10.1038/s41592-023-02045-0) # nextPYP: a comprehensive and scalable platform for characterizing protein variability in situ using single-particle cryo-electron tomography Received: 22 March 2023 Accepted: 12 September 2023 Published online: 26 October 2023 Check for updates Hsuan-Fu Liu <sup>1,5</sup> , Ye Zhou <sup>2,5</sup> , Qinwen Huang <sup>2</sup> , Jonathan Piland <sup>3</sup> , Weisheng Jin <sup>2</sup> , Justin Mandel <sup>2</sup> , Xiaochen Du <sup>4</sup> , Jeffrey Martin <sup>2</sup> & Alberto Bartesaghi <sup>1,2,3</sup> Single-particle cryo-electron tomography is an emerging technique capable of determining the structure of proteins imaged within the native context of cells at molecular resolution. While high-throughput techniques for sample preparation and tilt-series acquisition are beginning to provide sufficient data to allow structural studies of proteins at physiological concentrations, the complex data analysis pipeline and the demanding storage and computational requirements pose major barriers for the development and broader adoption of this technology. Here, we present a scalable, end-to-end framework for single-particle cryo-electron tomography data analysis from on-the-fly pre-processing of tilt series to high-resolution refinement and classification, which allows efficient analysis and visualization of datasets with hundreds of tilt series and hundreds of thousands of particles. We validate our approach using in vitro and cellular datasets, demonstrating its effectiveness at achieving high-resolution and revealing conformational heterogeneity in situ. The framework is made available through an intuitive [and easy-to-use computer application, nextPYP (http://nextpyp.app).](http://nextpyp.app) Cryo-electron tomography is an emerging technique used to determine the structure of proteins in their native, frozen hydrated state. By taking a series of tilted images of vitrified specimens in an electron microscope, it is possible to visualize unique pleomorphic events and macromolecular organizations that would otherwise be very difficult to reconstitute in vitro. Repetitive or frequently occurring molecules within these pleomorphic objects can be averaged in three dimensions to create higher resolution maps using single-particle cryo-electron tomography (SP-CET). This technology has been successfully applied to study biological systems reconstituted in vitro <sup>1–4</sup> or subcellular complexes present within intact bacteria or eukaryotic cells <sup>5–8</sup> . Recent advances in sample preparation using cryo-focused ion beam (cryo-FIB) <sup>9–12</sup> instruments combined with strategies for parallel data acquisition using beam-image shift <sup>13–15</sup> have increased the throughput of data collection allowing to routinely acquire datasets with hundreds of tilt series. Moreover, the introduction of platforms for sample screening to automatically navigate cryo-electron microscopy (cryo-EM) grids has further increased the efficiency of data collection <sup>16–18</sup> . Similar to developments in single-particle cryo-EM <sup>19–23</sup> these advances have motivated the development of strategies for on-the-fly data pre-processing that can provide real-time feedback on image quality <sup>24–27</sup> ; 1Department of Biochemistry, Duke University, Durham, NC, USA. 2Department of Computer Science, Duke University, Durham, NC, USA. 3Department of Electrical and Computer Engineering, Duke University, Durham, NC, USA. <sup>4</sup> Department of Chemical Engineering, Massachusetts Institute of Technology, Cambridge, MA, USA. <sup>5</sup> These authors contributed equally: Hsuan-Fu Liu, Ye Zhou. [e-mail: alberto.bartesaghi@duke.edu](mailto:alberto.bartesaghi@duke.edu) however, adoption of these strategies has been slow, due to the increased complexity, limited robustness and higher computational demands of routines for tilt-series alignment, tomogram reconstruction, contrast transfer function (CTF) estimation and particle picking. Particle picking in particular, poses major challenges due to the heterogeneous and crowded nature of native cellular environments and the distortions caused by the missing wedge <sup>28</sup> . Nonetheless, several strategies for three-dimensional (3D) particle picking have been proposed. Template matching can be used when an external reference is available, but is computationally expensive and may introduce model bias <sup>29</sup> . To detect membrane proteins attached to viruses, multi-step strategies that rely on 3D segmentation can be used, but these require manual user intervention making them unsuitable for high-throughput tomography <sup>30,31</sup> . More recently, neural network-based approaches have been introduced, but these use fully supervised models that require extensive labeling, long training times and often need retraining when applied to new datasets <sup>32,33</sup> . During 3D refinement, conventional sub-tomogram averaging (STA) relies on the extraction of sub-volumes from large tomograms (up to several GB in size). For datasets with hundreds of tilt series and tens of thousands of particles, this strategy results in prohibitively large storage and computational requirements that make image analysis impractical. In contrast, strategies for constrained SP-CET bypass the need to extract sub-tomograms and only use two-dimensional (2D) projections during refinement, resulting in substantial storage savings <sup>34</sup> . In practice, however, even this solution may require unreasonable amounts of space and create input/output (I/O) bottlenecks during downstream processing. Moreover, frameworks based on constrained SP-CET still require the generation of sub-tomograms for ab initio pose assignment and 3D classification <sup>35–38</sup> ; a strategy that scales poorly for the analysis of large datasets needed for in situ structural studies. Existing frameworks for SP-CET focus on particular aspects of the data analysis pipeline, but the combination of different processing steps is still hindered by the lack of unified data workflows <sup>39</sup> . Some tools are used for data pre-processing <sup>26,27</sup> and others are used for tilt-series alignment and reconstruction <sup>24,25</sup>, CTF estimation <sup>40</sup>, particle picking <sup>30,38</sup> and 3D refinement and classification <sup>35–38</sup> . A comprehensive platform for streamlined processing of all steps in the SP-CET pipeline, along with an interactive user interface, is lacking (Supplementary Table 1). Here, we present an end-to-end framework for SP-CET data processing that exclusively uses 2D raw data for all downstream 3D refinement and classification tasks. Avoiding sub-tomogram extraction and saving of particle stacks, results in a scalable strategy that can be used to process datasets with hundreds of thousands of particles. To support high-throughput workflows, we present routines for automated pre-processing of tilt series, including techniques for unsupervised and semi-supervised particle picking. For refinement and reconstruction, we propose algorithms for reference-based alignment, global and region-based constrained refinement, particle-based CTF determination, beam-induced motion correction and exposure weighting and 3D classification for variability analysis. We validate our framework on benchmark datasets from in vitro and cellular samples, demonstrating its ability to extract high-resolution information and characterize conformational heterogeneity of native proteins. These tools are implemented in the package nextPYP, a fully featured application with an easy-to-use graphical user interface (GUI). Results On-the-fly processing of tilt series Monitoring data quality during high-throughput acquisition (Fig. 1a) is especially important in tomography where the unit of data is a series of projections acquired from the same area of the sample. This imposes stringent tracking and defocus requirements that must be met to ensure the integrity of the data. We developed robust routines for on-the-fly processing of tilt series that can produce particles and metadata ready for SP-CET refinement. Our data pre-processing strategy includes the following steps: (1) gain correction and video frame alignment; (2) alignment of tilt series using fiducial-based or patch-tracking methods; (3) tilted CTF estimation; (4) tomogram reconstruction; and (5) particle picking (Fig. 1b). Tilt series are processed in parallel on a multi-core server or computer cluster and the results are live-streamed to a GUI (Extended Data Fig. 1). The tool is designed to support the analysis of hundreds of tilt series and produce the necessary metadata for subsequent high-resolution and conformational variability analysis (Fig. 1c). Typical running times are reported in Supplementary Table 2. Size-based particle picking Size-based strategies have been used effectively to pick particles from monodisperse samples in single-particle cryo-EM. Tomography samples are obviously not monodisperse, but these techniques are still useful and can facilitate particle picking from in vitro samples used for benchmarking or large complexes such as ribosomes imaged in situ. We propose a size-based particle detection approach based on our previous method for 2D particle picking <sup>41</sup> . Tomograms are first low-pass filtered to highlight features in the desired size range, followed by local minima detection and removal of weak peaks. To avoid picking particles from areas near gold-fiducials or contamination, a pre-processing step is applied to automatically detect these regions. This approach only requires specification of the particle size and runs in tens of seconds. Membrane-constrained template matching To handle a wider range of tomography samples, nextPYP also implements a three-step strategy to find native membrane proteins attached to the surface of viruses or liposomes. First, we automatically determine the location of virions within tomograms using a Hough transform voting scheme, followed by segmentation of each virion in 3D using density-driven minimal surfaces <sup>42</sup> . During a third step, we use a low-resolution map as a reference to run constrained template matching where the search is restricted to the area outside the segmented membrane. Using this procedure, both the location of membrane-bound particles and their normal orientations can be obtained, which can be used to speed up orientation search during refinement. The algorithm to locate virions only requires specifying the average radius in Å, whereas the segmentation algorithm detects arbitrarily shaped membranes contained between two concentric spheres of a user-defined radius around the virion centers. If a reference for template matching is not available, it is possible to pick uniformly spaced positions along the segmented membranes. Semi-supervised particle picking using deep neural networks We also implemented a semi-supervised particle-picking strategy using deep neural networks. Unlike fully supervised approaches that require densely annotated images or tomograms for training <sup>32,33,43</sup>, our semi-supervised networks use multi-task learning, data augmentation and consistency regularization to overcome the need for labor-intensive labeling <sup>44,45</sup> . As a result, these routines require only a sparse set of annotations (several particles from a few tomograms) and can be trained in minutes rather than hours. nextPYP implements a convenient GUI for interactive labeling of particles in three dimensions, training the deep-learning models, running inference on hundreds of tomograms and evaluating the particle picking results in three dimensions. A scalable framework for structure determination by SP-CET To reduce the storage footprint of traditional STA workflows (Fig. 2a), nextPYP bypasses the generation of large tomograms, sub-volumes and the saving of particle stacks by reading the data directly from the unprocessed, unaligned raw tilt series images, Fig. 2b. This approach results in storage savings of several TB per dataset, ensures the efficient utilization of resources, simplifies data management and allows processing of larger datasets than previously possible. Moreover, the removal of I/O bottlenecks associated with generating, saving and transferring a b c High-resolution refinement & classification Constrained refinement Constrained classification Video-frame refinement Reference based Fully constrained Region-based High-throughput acquisition Beam-image shift accelerated tomography On-the-fly pre-processing Raw tilt series Particle picking CTF estimation and reconstruction Frame/tilt-series alignment 18k 16k 14k 0.3 Size-based Geometry-based Neural network-based 0.2 0.1 0 6 5 4 3 1,000 500 0 –50 0 50 Tilt angle (degrees) Binned Mean defocus Fit score Resolution |DFI - DF2| Aligned tomogram tilt series Patch-based Fiducial-based Mean defocus Fit score Resolution |DFI - DF2| Particle-based CTF Particle projections 3D classes Particle trajectories Final maps Fig. 1 | Comprehensive end-to-end pipeline for single-particle cryo-electron tomography. Sequence of steps required to convert raw tilt series into highresolution structures. a, High-throughput data collection using beam-image shift accelerated cryo-electron tomography produces raw tilt series in parallel. b, Pre-processing of tilt series is performed on-the-fly during data collection and includes the steps of frame and tilt-series alignment (fiducial-based and large image stacks results in faster processing, allowing the routine analysis of hundreds of thousands of particles. Tilt series are processed in bundles and only one intermediate 3D reconstruction per bundle is saved to permanent storage (typically just a few hundred MB). These reconstructions are then merged into a final 3D map and this process is iterated multiple times. The modularity of this architecture makes patch-based using equal size patches), tilted CTF estimation and reconstruction and particle picking using size-based, geometry-based or neural network-based approaches. DF, defocus; Resol, resolution. c, High-resolution constrained refinement consists of reference based, fully constrained, region-based and particle-based CTF refinement steps, followed by constrained 3D classification and video frame refinement resulting in final high-resolution maps. it well suited for use in cluster environments where frequent access to network file systems can introduce serious performance bottlenecks. Fully constrained refinement of particle poses Our original constrained SP-CET work addressed the issue of overfitting by imposing constraints exclusively on the orientations assigned to a b Conventional sub-tomogram averaging Bundle 1 Bundle 2 Bundle N Tomographic Reconstruction Sub-volume Extraction Tilt series Tomograms Sub-volumes Temporary scratch storage Constrained Refinement Constrained Refinement Constrained Refinement Reference for next refinement cycle Alignment Aligned sub-volumes Sub-volume average Particle projections Aligned particle projections Tilt series Particle Aligned particle Intermediate projections projections reconstructions Scalable architecture for SP-CET Reference for next refinement cycle Fig. 2 | Scalable architecture for in situ structure determination using SP-CET. Scalability to large datasets is achieved by avoiding the extraction and saving of sub-tomograms and large particle stacks. a, Schematic of traditional approach for STA where data storage and I/O can become serious bottlenecks. b, Schematic of scalable framework for SP-CET refinement that only requires storage of raw Merged reconstruction data and final reconstructions. Bundles of tilt series are processed in parallel tracks using multiple cores or servers. Particle projections are extracted and aligned on-the-fly using temporary scratch space and partial reconstructions from each track are merged into a final map. each particle projection <sup>34</sup> . In this case, there are three rotation angles per particle and two translations per particle projection that need to be determined during alignment. By ensuring that the constraints of the tilt geometry were satisfied throughout refinement, this strategy resulted in higher resolution reconstructions and minimized overfitting. For tilt series with lower defocus or from crowded cellular samples; however, the weaker signal in each particle projection can still lead to overfitting even when the rotational constraints of the tilt geometry are imposed. To address this problem, we implemented a fully constrained algorithm where both rotations and translations of the tilt geometry are enforced throughout refinement. This strategy has the advantage of reducing the number of degrees of freedom to six parameters per particle (three rotation angles and three translations), making it more robust to overfitting and extending its applicability to a broader set of cryo-ET samples, including lower defocus tilt series and datasets from cellular environments. Reference-based pose estimation directly from 2D projections Existing strategies for constrained SP-CET refinement require access to pre-existing particle poses so they can later be refined using the 2D projection data. The initial poses are typically obtained using traditional STA, which in turn requires extraction and alignment of sub-volumes. Even when sub-volumes are extracted using large pixel sizes (to reduce space), this adds an unnecessary step that requires additional compute and storage resources and the use of different software packages which can introduce compatibility issues. Here, we propose a reference-based approach that directly uses 2D particle projections to derive initial poses for every particle. To determine alignment parameters for each particle projection, we use a fully constrained global search approach where each particle is assigned the sum of scores from all its tilted projections (the allowable range of rotations and translations with respect to the original particle angles and positions can be controlled by the user). To speed up the search, we use binned images and a coarse grid to sample the three Euler angles. As this approach only uses the raw 2D data, it is computationally efficient, is not affected by the missing wedge and simplifies the handling of metadata for the refinement steps downstream. Region-based constrained projection matching Our fully constrained framework prevents noise overfitting during particle orientation determination by considering all tilted projections of a particle as a rigid body and using the signal from all particles in the field of view to refine the parameters of the tilt geometry. This approach, however, does not consider the local distortions that may occur due to beam-induced motion and deformation of the sample during data acquisition. To account for these effects, we developed a region-based constrained refinement strategy that refines the parameters of the tilt geometry using subsets of particles present within regions of a tomogram. Similar to M <sup>37</sup>, this strategy relaxes the global constraints of the tilt geometry allowing the estimation of local deformations. The number of regions is determined based on the amount of signal present in each sub-area (typically proportional to the molecular weight and concentration of particles) and the extent of deformation expected in the sample. Provided that there are sufficient particles within each region, this strategy can be effective at preventing overfitting while leading to substantial improvements in map resolution. Particle-based CTF refinement In the constrained SP-CET framework, CTF parameters are assigned to individual particle projections using the defocus parameters estimated for each image in a tilt series and the 3D position of particles within tomograms <sup>13</sup> . This process, however, is not always accurate and can lead to imprecise assignment of defocus parameters that may ultimately limit resolution. Similar to per-particle CTF refinement strategies first implemented for single-particle cryo-EM in FREALIGN <sup>46</sup>, we use the most recent 3D reconstruction and our region-based constrained refinement approach to locally refine defocus and astigmatism for images within each region. CTF parameters for each particle projection are then re-calculated, leading to measurable improvements in map resolution. Video frame refinement and self-tuning exposure weighting Modern electron detectors record each tilted image as a sequence of video frames. Similar to strategies used in single-particle cryo-EM, the time-resolved data can be used for tracking the movement of individual particles through the exposure to correct for beam-induced motion. Unlike single-particle cryo-EM; however, the dose accumulated in each frame is too low to allow accurate alignment <sup>47</sup> . To overcome this, we use running frame averages and produce noisy particle trajectories that are later regularized using spatial and time constraints <sup>48</sup> (Fig. 3a). This process generates a similarity score for each frame (Fig. 3b), which can be used to perform frequency-dependent exposure weighting (Fig. 3c). The weights we obtained indicate that only frames from the first four low-tilt exposures contribute high-resolution information to the reconstruction. Despite the low signal-to-noise ratio (SNR), the curve for each tilt shows a similar characteristic bell-shape as previously reported for single-particle cryo-EM <sup>48</sup> . The reduction in average score with each new tilt is consistent with the onset of radiation damage and thickening of the specimen due to tilting. To get a cleaner picture of the score variations within an exposure, we subtracted the mean score for each tilt from the corresponding per-frame scores and averaged the resulting curves from all the tilts (Fig. 3d). While video frames for tilt series were already used by M for motion correction <sup>37</sup>, the frames were averaged before reconstruction to reduce storage and compute requirements. Using our scalable architecture for SP-CET refinement, we can calculate exposure-weighted maps directly from the video frames, thus providing increased efficiency during the extraction of high-resolution signal. Validation using HIV-1 Gag benchmark dataset We validated nextPYP on tilt series from the HIV-1 Gag dataset from [EMPIAR-10164 (ref. 49). Tilt series in super-resolution mode were first](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10164) pre-processed using our routines for on-the-fly data analysis. The position of HIV-1 virions was automatically detected, followed by 3D segmentation and selection of particle locations from their surface. The normals at each position were used to restrict the reference-based search to a single in-plane angle. Fully constrained refinement, region-based refinement (using a 8 × 8 × 2 grid), particle-based CTF refinement, video frame refinement and additional rounds of region-based refinement, resulted in a 3.2 Å resolution map using 14,482 particles extracted from five tilt series (Fig. 4a and Extended Data Fig. 2a,b). All refinement operations were performed using particles extracted in 2× binned precision (1.35 Å per pixel) and a box size of 384 pixels. Only tilts in a ±6° range were used for refinement (as these were the ones with the highest contribution to high-resolution), whereas the entire ±60° range of projections was used for 3D reconstruction. We also analyzed the entire set of 43 tilt series using the same strategy and obtained a 3.0 Å map from 109,496 particles, matching the resolutions obtained by M <sup>37</sup> and Relion <sup>36</sup>, while using 16% and 24% fewer particles, respectively (Extended Data Fig. 2c,d). Our results were obtained without extracting sub-volumes or saving image stacks, resulting in ~25 TB of storage savings and substantially faster processing (timing and data processing details are included in Supplementary Tables 2 and 3, respectively). Sub-2 Å structure of mouse heavy-chain apoferritin We also validated nextPYP using tilt series of apoferritin downloaded [from EMPIAR-11273. One hundred raw tilt series were pre-processed](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/11273) using patch-based tracking for tilt series alignment. Particles were detected automatically using our size-based particle picker using a a b c Frame number 1 8 1.0 0.5 0 6° –3° 3° 0° 9° –6° 0 1/10 1/5 1/3 1/2.7 Frequency (1/Å) Global frame number 1 328 d 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0 0.95 0.90 0.85 0.80 0.75 0° 3° –3° 6° –6° 9° 0° 3° –3° 6° Tilt angle –6° 9° 0 1 2 3 4 5 6 7 Frame Fig. 3 | Beam-induced motion and exposure weighting of tilt-series data. a, 0-tilt image from HIV-1 Gag tilt series (TS_03) showing movement trajectories for individual particles estimated using video frame alignment routines (similar [trajectories were obtained for the remaining 42 tilt series from EMPIAR-10164).](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10164) b, Average score distribution of individual particle frames for tilt images at 0°, 3°, −3°, 6°, −6° and 9° showing relative differences in image quality between radius of 75 Å. Reference-based search using 2D data was followed by several rounds of fully constrained and region-based refinement (using a 4 × 4 × 2 grid), particle-based CTF refinement, video frame refinement and additional rounds of region-based refinement, resulting in a 1.8 Å resolution map (Fig. 4b). Constrained classification for characterizing heterogeneity Unlike conventional sub-tomogram classification where volumes are clustered based on their 3D structural features <sup>50,51</sup>, we propose a strategy to analyze conformational heterogeneity that exclusively uses the raw 2D particle projection data (Extended Data Fig. 3). Similar to the original constrained SP-CET approach <sup>34</sup>, this has several advantages: (1) it requires fewer compute and storage resources; (2) is not affected by the effects of the missing wedge; and (3) can leverage existing classification tools for single-particle cryo-EM. Our strategy is based on the 3D classification algorithm implemented in cisTEM <sup>52</sup>, with additional components required to support our distributed processing architecture and the imposition of the tilt geometry constraints. To ensure that all projections from a given particle are assigned to the same class, per-particle occupancies are calculated by averaging the occupancies exposures. c, 2D score-based weights used during 3D reconstruction for each frame as a function of spatial frequency. d, Average per-frame score distribution over full dataset. Data are presented as mean values ±s.d. calculated over _n_ = 6 video frames corresponding to the first six exposures in the tilt series (0°, 3°, −3°, 6°, −6° and 9°). assigned to individual projections, Extended Data Fig. 4. Constrained classification can be run simultaneously with global or region-based refinement, or without alignment. The latter option is useful when the signal is too weak to allow reliable orientation assignment and can help prevent overfitting by limiting the dimension of the search space. The computational efficiency and small storage footprint of our classification strategy allows us to routinely analyze hundreds of thousands of particles (Supplementary Table 3). Disentangling translation states from in vitro 80S ribosomes We validated our classification approach on tilt series from in vitro 80S ribosomes <sup>53</sup> [(EMPIAR-10064, defocus data). From a total of ~4,000 par-](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10064) ticles, we first obtained a consensus map at 5.6-Å resolution as reported previously <sup>13</sup>, followed by 30 iterations of 3D classification into five classes representing different translational states of the 80S ribosome (Fig. 5a). Based on the presence of cofactors and differences in the rotation of the 40S subunit (Fig. 5b), we assigned the classes into two subgroups. Classes 1 and 2 show a translocation direction rotating 40S and clear density of eEF2, which correlates highly with the translocation state. Classes 3, 4 and 5 show P-site transfer RNA, E-site tRNA and the a 1 Fully constrained refinement (4.2Å) Data-driven exposure weighting (3.7Å) Region-based constrained refinement (3.2Å) Particle-based CTF refinement (3.2Å) Video frame refinement (3.0Å) 0.5 0.143 0 0 0.1 0.2 0.3 0.4 Resolution (1/Å) b 1 0.5 0.143 0 Fully constrained refinement (4.4Å) Data-driven exposure weighting (3.9Å) Region-based constrained refinement (2.1Å) Particle-based CTF refinement (2.0Å) Video frame refinement (1.8Å) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Resolution (1/Å) Fig. 4 | Resolution improvement and validation using in vitro samples of HIV-1 Gag and apoferritin. a, Resolution improvements obtained by nextPYP [using 43 tilt series from EMPIAR-10164 after fully constrained refinement (4.2 Å),](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10164) dose-weighted reconstruction (3.7 Å), region-based refinement (3.2 Å), particlebased CTF refinement (3.2 Å) and video frame refinement (3.0 Å). Corresponding Fourier shell correlation (FSC) curves calculated between half maps (0.143 cutoff criteria was used to determine resolution) (top). Alpha helical segment with model fit into map showing the progression in resolution with each step. b, Highresolution structure of apoferritin obtained using 31,890 particles extracted [from 100 tilt series (EMPIAR-11273). FSC plots between half maps showing](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/11273) incremental improvements in resolution from each processing step (top). The 1.8 Å resolution reconstruction and selected high-resolution features with atomic model fit into the density (bottom). eEF1A–A/T-tRNA complex, as well as the canonical 40S conformation characterizing the post-translocational state. Classes in subgroup 1 share the same cofactors, but are differentiated by distinct L1 stalk conformations (class 1 with L1 in closed position and class 2 with L1 in open position). More detailed comparison of classes 1 and 2 revealed minor rotation differences between the 40S subunits. Rigid body fitting into [the maps using PDB ID 6GZ3 and PDB ID 6GZ4 coordinates confirmed](https://doi.org/10.2210/pdb6GZ3/pdb) that class 1 is in the translocation-intermediate-POST-1 state and class 2 is in the translocation-intermediate-POST-2 state. We hypothesize that the missing tRNA in subgroup 1 may be the consequence of protein purification. All classes in subgroup 2 show good agreement with the [translation elongation complex (PDB ID 5LZS), which is in the decod-](https://doi.org/10.2210/pdb5LZS/pdb) ing state. E-site tRNA is released in class 3 with the L1 stalk present in an open conformation. Class 4 is in the pre-loading state without the eEF1A–tRNA complex, whereas E-site tRNA is pre-released and L1 is in the intermediate state. The eEF1A–tRNA complex and L1 stalk-attached E-site tRNA coexist in class 5. Release of the E-site tRNA is not strictly coupled to binding of aminoacyl-tRNA in the A-site, which is consistent with observing evenly distributed classes in subgroup 2. We also compared our results to previous classification methods implemented in the package emClarity <sup>35</sup> (Fig. 5c,d and Supplementary Fig. 1a). In summary, nextPYP results show better map quality and clear density for cofactors, allowing unambiguous assignment of ribosome translation states. Heterogeneity analysis of ribosomes from _M._ _pneumoniae_ cells Tilt series collected from intact _Mycoplasma_ _pneumoniae_ cells [treated with chloramphenicol were downloaded from EMPIAR-10499](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10499) (ref. 37). Starting from ~18,000 particles picked using our semisupervised deep-learning approach, we performed reference-based alignment to obtain a consensus map at 3.9-Å resolution (Extended Data Fig. 5). This was followed by 45 iterations of constrained classification into three classes (Fig. 6a and Supplementary Fig. 1b). The chloramphenicol-treated cells only showed decoding and pep­tidyl transfer (classic non-rotate) states, which is consistent with the anti­biotic function. A small population (28%, class 1) was still in the decoding state, right before releasing the elongation factor EF-Tu protein. In addition, ~70% of the particles (classes 2 and 3) were stalled at the peptidyl transfer state characterized by a 4° rotation of the 30S subunit (Fig. 6b). The presence of the inhibitor provided a longer time window for E-site tRNA to be released, resulting in missing density for E-site tRNA in all classes. Classes 2 and 3 showed a 6° swing movement of the L1 stalk (Fig. 6c). Together, these results demonstrate the ability of our approach to study protein conformational variability in situ. Translating 80S ribosome conformations from in situ lamellae Finally, we benchmarked our methods on tilt series obtained from cryo-FIB-milled lamellae from a cellular sample containing 80S ribosomes <sup>14</sup> [(EMPIAR-10987). A total of 6,763 particles were picked using](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10987) our deep-learning approach from 20 tilt series and used to obtain a consensus map at 8.4-Å resolution (Supplementary Fig. 1c). We calculated average scores per tilt and confirmed that the relative contribution of each tilt was consistent with the accumulation of dose and the change in tilt angle (Extended Data Fig. 6). We then executed 30 iterations of 3D classification using a focus mask centered at the P-site tRNA position and a radius of 110 Å. After multiple classification runs using different numbers of classes, the presence of five stable conformations was detected (Fig. 6d). Classes were resolved at around 11–12-Å resolution and cofactors associated with different conformations could be unambiguously recognized (Supplementary Fig. 1d). Classes 1, 2 and 3 were in a similar non-rotated state. Classes 1 and 3 showed density for the canonical P-site tRNA, but different L1 stalk conformation (class 1 has the L1 stalk in a closed position, whereas class 3 has the L1 stalk in an open position) and class 2 containing ~700 particles showed no density for the P-site tRNA. These three classes accounted for ~40% of the ribosome population and can be assigned to the recycling/initialization state. Class 4 was also in the non-rotated state, with the 40S rotated by the largest angle (in the backward direction; Fig. 6e) and eEF1A–A/T-tRNA bound, which was in the pre-peptide bond formation decoding state, accounting for 30% of the particles. Class 5 was in the rotated state with translation elongation factor eEF2 bound, the 40S body was rotated by 8° and the 40S head was rotated by 17° and accounts for another 30% of the particles. Alignment with different translocating coordinates, confirmed that class 5 was in the translocation-intermediate-POST-3 state. No density for E-site tRNA was identified in any of the classes, which could be the result of the limited number of particles. Overall, these results demonstrate the ability of our constrained classification approach to successfully separate translating conformations of ribosomes from cryo-FIB-milled lamellae. a Section view b d 1.0 emClarity (EMD-8803) Translocation Intermediates (TI) Non-rotated (PDB ID 5LZS) Class 1, L1 closed (22%) TI-POST-1 (PDB ID 6GZ3) Class 2, L1 open (20%) TI-POST-2 (PDB ID 6GZ4) Class 3, L1 open (19%) Class 4, L1 intermediate (21%) Class 5, L1 intermediate (18%) L1 eEF2 L1 eEF2 closed open L1 eEF2 L1 P/P eEF1A open open A/T L1 open P/P A/T L1 P/P L1 P/P eEF1A intermediate closed E/E A/T P/P L1 closed E/E P/P A/T emClarity (EMD-8805) nextPYP (Class 1) eEF2 L1 Missing density eEF2 tRNA eEF2 eEF1A c L1 1.0 0.5 0 All chains 1 2 3 4 5 Class number emClarity nextPYP 0.5 0 –0.5 nextPYP (Class 3) Co-factors Fig. 5 | Constrained classification of mammalian 80S ribosomes (EMPIAR-10064). a, Five classes of translating 80S ribosomes bound to different cofactors. Class 1 and 2 are in pre-translocational state with rotating 40S. L1 stalk is colored yellow, eEF2 is colored green. Class 3, 4 and 5 are in the posttranslocational state with non-rotating 40S. eEF1A is colored magenta, A/T-tRNA is colored red, P-site tRNA is colored blue and E-site tRNA is colored green. Section views show the different cofactors inside the inter-subunit cavities. b, Representative density for eEF2, tRNA and eEF1A with corresponding coordinates fitted into the density. c, Comparison of map quality for class 1 between emClarity and nextPYP. Insets show comparison of density for helical RNA. Coordinates were fitted into the density for cofactor eEF2 (green) and L1 stalk (yellow) for both maps (shown at the bottom). d, Histogram of TEMpy2 [(https://tempy.ismb.lon.ac.uk/) model-to-map CCC scores for nextPYP and](https://tempy.ismb.lon.ac.uk/) emClarity reconstructions (left, cofactors in class 3; right, all chains from all five classes). Positive scores represent better fits and negative scores indicate that no corresponding cofactor density was present. a Class 1 Class 2 Class 3 50S 30S L1 stalk P-tRNA EF-Tu-tRNA A-tRNA Class 3 13% 879 particles Class 1 (28%) 5,086 particles EF-Tu-tRNA P-site tRNA L1 stalk open Decoding (PDB ID 7PAK) Class 2 (30%) 5,449 particles A- and P-site tRNAs L1 stalk open Classical, non-rotated (PDB ID 7PAL) c d b e Non-rotated decoding Class 1 15% 1,014 particles Class 3 (42%) 7,629 particles A- and P-site tRNAs L1 stalk intermediate Classical, non-rotated (PDB ID 7PAL) Non-rotated (PDB ID 6MTB) Class 2 10% 676 particles 30S 30S head L1 stalk 5° 4° 40S head L1 stalk open L1 stalk L1 stalk L1 stalk closed P/P open open P/P open P/P Translocation-intermediate-POST-3 (PDB ID 6GZ5) Class 5 30% 2,029 particles Class 4 Class 5 17° (PDB ID 5LZS) Class 4 32% 2,164 particles 90° 40S body 90° eEF1A eEF2 P/P A/T L1 stalk close 8° Class 1 Class 4 Class 5 L1 stalk open Fig. 6 | Classification of 70S ribosomes from intact cells and 80S ribosomes from cryo-FIB lamellae. a, Three classes of 70S ribosomes with different translating states or L1 stalk conformations. Class 1 is in decoding state with EF-Tu binding tRNA adopting to A-site. Class 2 and 3 are in classic non-rotated state, showing A-site and P-site tRNAs, while L1 stalks are in different positions (class 2, L1 stalk is open; class 3, L1 stalk is intermediate close, highlighted in c ). b, Superimposed maps for class 1 and 2 viewed from the bottom of the 30S subunit showing the small subunit rotation during tRNA loading. c, L1 stalk superimposed density for class 2 and 3 showing the open and half-closed states. d, Classes of 80S ribosomes from cryo-FIB lamellae. Classes 1, 2 and 3 are in nonrotated states, while class 1 and class 3 have binding P-site tRNA differentiated by close and open L1 stalk states and class 2 with no tRNA bound. Class 4 is in the decoding state with cofactor eEF1A and A/T-site tRNA, P-site tRNA bound. Class 5 is in the post-translational state with cofactor eEF2. e, Superimposed maps of 80S class 1 and 2 showing rotating subunits, with plates representing the 40S body central planes. Discussion Structural studies using single-particle microscopy require imaging and averaging many copies of the target of interest to remove noise and improve resolution. Unlike in vitro studies that use purified protein at high concentrations, proteins imaged within their native cellular context are present at much lower physiological concentrations, requiring imaging of large areas of the sample to accumulate enough copies to achieve high-resolution. Advances in sample preparation, specimen screening and high-speed tomography, have increased the throughput of data collection making it possible to acquire hundreds of tilt series during a single microscopy session. Strategies for SP-CET data analysis; however, have lagged behind and currently require extensive user input and access to prohibitively large computational and storage resources, constituting a major obstacle for the development and broad adoption of this powerful technique. Here, we present nextPYP, a scalable framework for SP-CET data analysis that can routinely convert hundreds of tilt series or hundreds of thousands of particles into high-resolution structures. The software uses a combination of re-implementations of existing techniques and new methods, as summarized in Supplementary Table 4. Bypassing the need to generate sub-tomograms and particle stacks results in a light-weight architecture with a small storage footprint that is scalable and substantially accelerates data analysis. Our robust strategies for on-the-fly pre-processing of tilt series allow monitoring of data quality during acquisition and seamless conversion of metadata for subsequent 3D analysis. We present efficient algorithms for reference-based alignment and high-resolution refinement, including region-based and particle-based CTF refinement, video frame alignment and data-driven exposure weighting. Our strategies for 3D classification use the constraints of the tilt geometry to effectively disentangle structural variability of flexible complexes imaged in situ. We validate our approach using in vitro and cellular datasets demonstrating its ability to achieve high resolution and uncover translating states of native ribosomes. These tools are available in the software package nextPYP, a scalable and easy-to-use platform for SP-CET data analysis designed to facilitate adoption of this technique by the structural biology community. nextPYP successfully overcomes fundamental bottlenecks in the SP-CET data analysis pipeline; however, most datasets still require access to multi-node computer clusters or scalable cloud-based solutions. In particular, reference-based 3D reconstruction requires exhaustive sampling of poses between each particle and the reference, resulting in low-throughput performance. Future work will be needed to further reduce the computational footprint of constrained projection alignment and to design efficient search strategies for robust ab initio reconstruction. Together with recent developments in specimen preparation and data collection, these advances will help accelerate the structural analysis of native samples and contribute to advancing the field of visual proteomics. Online content Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code avail[ability are available at https://doi.org/10.1038/s41592-023-02045-0.](https://doi.org/10.1038/s41592-023-02045-0) References 1. Mangala Prasad, V. et al. Cryo-ET of Env on intact HIV virions reveals structural variation and positioning on the Gag lattice. _Cell_ 185, 641–653 (2022). 2. Gorman, J. et al. Cryo-EM structures of prefusion SIV envelope trimer. _Nat. Struct. Mol. Biol._ 29, 1080–1091 (2022). 3. Mendonça, L. et al. CryoET structures of immature HIV Gag reveal six-helix bundle. _Commun. Biol._ 4, 481 (2021). 4. Qin, Z. & Zhang, P. Studying bacterial chemosensory array with CryoEM. _Biochem. Soc. Trans._ 49, 2081–2089 (2021). 5. Maimon, T., Elad, N., Dahan, I. & Medalia, O. The human nuclear pore complex as revealed by cryo-electron tomography. _Structure_ 20, 998–1006 (2012). 6. Tai, L. et al. 8 Å structure of the outer rings of the Xenopus laevis nuclear pore complex obtained by cryo-EM and AI. _Protein Cell_ 13, 760–777 (2022). 7. Guo, Q. et al. In situ structure of neuronal C9orf72 poly-GA aggregates reveals proteasome recruitment. _Cell_ 172, 696–705 (2018). 8. Bykov, Y. S. et al. The structure of the COPI coat determined within the cell. _eLife_ 6, e32493 (2017). 9. Klumpe, S. et al. A modular platform for automated cryo-FIB workflows. _eLife_ 10, e70506 (2021). 10. Buckley, G. et al. Automated cryo-lamella preparation for high-throughput in-situ structural biology. _J. Struct. Biol._ 210, 107488 (2020). 11. Tacke, S. et al. A streamlined workflow for automated cryo focused ion beam milling. _J. Struct. Biol._ 213, 107743 (2021). 12. Zachs, T. et al. Fully automated, sequential focused ion beam milling for cryo-electron tomography. _eLife_ 9, e52286 (2020). 13. Bouvette, J. et al. Beam image-shift accelerated data acquisition for near-atomic resolution single-particle cryo-electron tomography. _Nat. Commun._ 12, 1957 (2021). 14. Eisenstein, F. et al. Parallel cryo electron tomography on in situ lamellae. _Nat. Methods_ 20, 131–138 (2023). 15. Khavnekar, S. et al. Multishot tomography for high-resolution in situ subtomogram averaging. _J. Struct. Biol._ 215, 107911 (2023). 16. Bouvette, J. et al. Automated systematic evaluation of cryo-EM specimens with SmartScope. _eLife_ 11, e80047 (2023). 17. Cheng, A. et al. Fully automated multi-grid cryoEM screening using Smart Leginon. _IUCrJ_ 10, 77–89 (2023). 18. Kim, P. T., Noble, A. J., Cheng, A. & Bepler, T. Learning to automate cryo-electron microscopy data collection with Ptolemy. _IUCrJ_ 10, 90–102 (2023). 19. Schenk, A. D., Cavadini, S., Thomä, N. H. & Genoud, C. Live analysis and reconstruction of single-particle cryo-electron microscopy data with CryoFLARE. _J. Chem. Inf. Model._ 60, 2561–2569 (2020). 20. Stabrin, M. et al. TranSPHIRE: automated and feedback-optimized on-the-fly processing for cryo-EM. _Nat. Commun._ 11, 5716 (2020). 21. de la Rosa-Trevín, J. M. et al. Scipion: a software framework toward integration, reproducibility and validation in 3D electron microscopy. _J. Struct. Biol._ 195, 93–99 (2016). 22. Biyani, N. et al. Focus: the interface between data collection and data processing in cryo-EM. _J. Struct. Biol._ 198, 124–133 (2017). 23. Zivanov, J. et al. New tools for automated high-resolution cryo-EM structure determination in RELION-3. _eLife_ 7, e42166 (2018). 24. Mastronarde, D. N. & Held, S. R. Automated tilt series alignment and tomographic reconstruction in IMOD. _J. Struct. Biol._ 197, 102–113 (2017). 25. Zheng, S. et al. AreTomo: an integrated software package for automated marker-free, motion-corrected cryo-electron tomographic alignment and reconstruction. _J. Struct. Biol. X_ 6, 100068 (2022). 26. Tegunov, D. & Cramer, P. Real-time cryo-electron microscopy data preprocessing with Warp. _Nat. Methods_ 16, 1146–1152 (2019). 27. Balyschew, N. et al. Streamlined structure determination by cryo-electron tomography and subtomogram averaging using TomoBEAR. Preprint at _bioRxiv_ [https://doi.](https://doi.org/10.1101/2023.01.10.523437) [org/10.1101/2023.01.10.523437 (2023).](https://doi.org/10.1101/2023.01.10.523437) 28. Bartesaghi, A. & Subramaniam, S. Membrane protein structure determination using cryo-electron tomography and 3D image averaging. _Curr. Opin. Struct. Biol._ 19, 402–407 (2016). 29. Bohm, J. et al. Toward detecting and identifying macromolecules in a cellular context: template matching applied to electron tomograms. _Proc. Natl Acad. Sci. USA_ 97, 14245–14250 (2000). 30. Castaño-Díez, D., Kudryashev, M., Arheit, M. & Stahlberg, H. Dynamo: a flexible, user-friendly development tool for subtomogram averaging of cryo-EM data in high-performance computing environments. _J. Struct. Biol._ 178, 139–151 (2012). 31. Liu, J., Bartesaghi, A., Borgnia, M. J., Sapiro, G. & Subramaniam, S. Molecular architecture of native HIV-1 gp120 trimers. _Nature_ 455, 109–113 (2008). 32. de Teresa-Trueba, I. et al. Convolutional networks for supervised mining of molecular patterns within cellular context. _Nat._ _Methods_ 20, 284–294 (2023). 33. Moebel, E. et al. Deep learning improves macromolecule identification in 3D cellular cryo-electron tomograms. _Nat._ _Methods_ 18, 1386–1394 (2021). 34. Bartesaghi, A., Lecumberry, F., Sapiro, G. & Subramaniam, S. Protein secondary structure determination by constrained single-particle cryo-electron tomography. _Structure_ 20, 2003– 2013 (2012). 35. Himes, B. A. & Zhang, P. emClarity: software for high-resolution cryo-electron tomography and subtomogram averaging. _Nat._ _Methods_ 15, 955–961 (2018). 36. Zivanov, J. et al. A Bayesian approach to single-particle electron cryo-tomography in RELION-4.0. _eLife_ 11, e83724 (2022). 37. Tegunov, D., Xue, L., Dienemann, C., Cramer, P. & Mahamid, J. Multi-particle cryo-EM refinement with M visualizes ribosomeantibiotic complex at 3.5 Å in cells. _Nat. Methods_ 18, 186–193 (2021). 38. Chen, M. et al. A complete data processing workflow for cryo-ET and subtomogram averaging. _Nat. Methods_ 16, 1161–1168 (2019). 39. Burt, A., Gaifas, L., Dendooven, T. & Gutsche, I. A flexible framework for multi-particle refinement in cryo-electron tomography. _PLoS Biol._ 19, e3001319 (2021). 40. Rohou, A. & Grigorieff, N. CTFFIND4: fast and accurate defocus estimation from electron micrographs. _J. Struct. Biol._ 192, 216–221 (2015). 41. Bartesaghi, A., Matthies, D., Banerjee, S., Merk, A. & Subramaniam, S. Structure of β-galactosidase at 3.2-Å resolution obtained by cryo-electron microscopy. _Proc. Natl Acad. Sci. USA_ 111, 11709–11714 (2014). 42. Bartesaghi, A., Sapiro, G. & Subramaniam, S. An energy-based three-dimensional segmentation approach for the quantitative interpretation of electron tomograms. _IEEE Trans. Image Process._ 14, 1314–1323 (2005). 43. Wagner, T. et al. SPHIRE-crYOLO is a fast and accurate fully automated particle picker for cryo-EM. _Commun. Biol._ 2, 218 (2019). 44. Huang, Q., Zhou, Y., Liu, H. F. & Bartesaghi, A. Weakly supervised learning for joint image denoising and protein localization in cryo-electron microscopy. _IEEE/CVF Winter Conference on_ _Applications of Computer Vision (WACV), Waikoloa, HI_, 3260–3269 (2022). 45. Huang, Q., Zhou, Y., Liu, H. F. & Bartesaghi, A. Accurate detection of proteins in cryo-electron tomograms from sparse labels. _ECCV 2022 Lecture Notes in Computer Science_, 644–660 (2022). 46. Grigorieff, N. Frealign: an exploratory tool for single-particle Cryo-EM. _Methods Enzymol._ 579, 191–226 (2016). 47. Aguerrebere, C., Delbracio, M., Bartesaghi, A. & Sapiro, G. Fundamental limits in multi-image alignment. _IEEE Trans. Signal_ _Process._ 64, 5707–5722 (2016). 48. Bartesaghi, A. et al. Atomic resolution Cryo-EM structure of β-galactosidase. _Structure_ 26, 848–856 (2018). 49. Schur, F. K. et al. An atomic model of HIV-1 capsid-SP1 reveals structures regulating assembly and maturation. _Science_ 353, 506–508 (2016). 50. Bartesaghi, A. et al. Classification and 3D averaging with missing wedge correction in biological electron tomography. _J. Struct. Biol._ 162, 436–450 (2008). 51. Förster, F., Pruggnaller, S., Seybert, A. & Frangakis, A. S. Classification of cryo-electron sub-tomograms using constrained correlation. _J. Struct. Biol._ 161, 276–286 (2007). 52. Grant, T., Rohou, A. & Grigorieff, N. cisTEM, user-friendly software for single-particle image processing. _eLife_ 7, e35383 (2018). 53. Khoshouei, M., Pfeffer, S., Baumeister, W., Förster, F. & Danev, R. Subtomogram analysis using the Volta phase plate. _J. Struct. Biol._ 197, 94–101 (2017). Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 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.](http://creativecommons.org/licenses/by/4.0/) [org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2023 Methods On-the-fly pre-processing of tilt series Gain correction, video frame alignment and averaging were performed using a modified version of the program unblur <sup>54</sup> designed to minimize I/O operations and speed up processing. Tilt-series alignment was performed using routines implemented in IMOD and include protocols for fiducial-based and patch-based alignment using non-overlapping and uniformly sized patches <sup>55</sup> . Per-tilt CTF was estimated using the procedure we reported previously <sup>13</sup> (based on CTFFIND4 <sup>40</sup> ) and only binned tomograms were produced for the purpose of assessing reconstruction quality using IMOD’s tilt command. Images in a tilt series were processed in parallel using multiple CPU threads. Steps such as tomogram reconstruction and CTF estimation that do not depend on each other were also parallelized. Information was live-streamed to the GUI, providing convenient access to data quality metrics and assessment of tomograms. Strategies for 3D particle picking Size-based particle picking. Particle picking was conducted using the binned tomograms produced during data pre-processing. A robust contamination-detection step was executed as follows: (1) we applied a high-pass filter to the original tomogram and binarized the result (using the mean density plus 3 × s.d.) to detect high-contrast regions; (2) we removed small objects from this mask and filled in small holes using mathematical morphology operations; and (3) we dilated the mask to prevent picking particles that were too close to contaminated areas. Tomograms were then low-pass filtered to highlight features within the user-specified size range and particles were detected at the positions of local minima of the density that fell outside the contamination mask. To reduce the effects of the missing wedge, we erased the gold from the raw tilt series before reconstruction using protocols implemented in IMOD <sup>24</sup> . Geometry-based picking. Virions were detected based on a robust voting mechanism that uses the 3D Hough transform implemented in ITK [(https://itk.org/) and VTK (https://vtk.org). This approach produces the](https://itk.org/) center coordinates and an estimated value for the radius of each virion. This information was used to generate separate tomograms for each virion (using a smaller pixel size than that used to generate the tomograms during pre-processing), followed by 3D segmentation using minimal-surfaces algorithms <sup>42</sup> . An external reference was then used to execute template search constrained to the outside of the segmented surfaces. Virions were processed in parallel to reduce running times. Semi-supervised picking based on deep neural networks. We used sparse labels selected in three dimensions to train a semi-supervised deep neural network as described elsewhere <sup>45</sup> . We manually selected several particles in three dimensions from a few tomograms using nextPYP’s built-in visualization tools. The model was first trained using a GPU, followed by inference on all tomograms in a dataset. Particle picking results were visually inspected for accuracy. For challenging datasets, the number of annotations can be increased and used for training until the desired accuracy is achieved. For validation, we applied this approach to pick 35,352 particles of native enzyme ribulose-1,5-biphosphase carboxylase-oxygenase (RuBisCO) from _Chlamydomonas reinhardtii_ cells <sup>56</sup> and used them to produce a 12-Å resolution map (Extended Data Fig. 7). Comparison between size-based and neural network-based picking. We compared the performance between these approaches using [in vitro and in situ datasets, EMPIAR-10304 and EMPIAR-10499, respec-](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10304) tively. Performance in terms of precision, recall and F1 was slightly higher for the neural network approach, but the size-based approach was faster because it did not need manual labeling or training (Extended Data Fig. 8 and Supplementary Table 5). where the second argument of the score function _d_ represents a reprojection of the model in the orientation given by the tilt geo­ metry of each region and the orientation of particles contained in that region. The overall sum is arranged into _G_ groups (one per region), each having _Pg_ terms (one for each particle present in region _g_ ). For example, a tomogram can be divided into 4 × 4 × 2 regions (in _x_, _y_ and _z_ ) resulting in a total of _G_ = 32 regions. Only particles located within a region are used for refining the micrograph parameters for that region. The number of regions can be adjusted to account for local motion at different spatial scales. Using more regions will result in finer spatial resolution, but the higher number of unknowns could potentially lead to overfitting. The use of fewer regions will result in lower spatial resolution for the sample deformation model, but has less chance of overfitting due to the reduced number of free parameters. SP-CET data analysis without sub-volumes and particle stacks In conventional STA, storing 12,000 sub-volumes using a box size of 384 requires 2.5 TB of space. Applying the original constrained SP-CET approach to the same dataset (assuming tilt series were acquired using a standard ±60 tilting scheme with 41 projections), requires generating an image stack with almost half a million particle projections (12,000 × 41 = 492,000 images). Using a box size of 384 voxels, such a stack will still require 270 GB of disk storage, creating substantial I/O bottlenecks for the processing downstream. Instead, nextPYP bypasses the generation of sub-volumes and saving of large particle stacks by leveraging its parallel computing architecture and processing tilt series in discrete bundles (Fig. 2b). Internally, the program still produces 2D particle stacks because they are needed for running refinement and reconstruction in cisTEM <sup>52</sup>, but these are only stored temporarily on local scratch space, which typically consists of fast SSD drives. When running on high-performance computing clusters, this strategy minimizes network traffic, resulting in faster processing speeds and better scalability. For sessions with hundreds of bundles, however, this strategy results in as many intermediate reconstructions and merging could become a bottleneck. To speed up this process, a separate merge job is initiated as soon as the first partial reconstruction is available and subsequent reconstructions are merged on-the- fly as they become available. Region-based constrained projection refinement Unlike fully constrained refinement where all particles in a given tilt image have the same parameters, in our region-based approach particles are split into groups based on their position in 3D space. This allows modeling of beam-induced motion by estimating unique projection parameters for each individual region. The index functions ??( _i_ ) ∶{1 ⋅⋅⋅ _P_ } and ?( _i_ ) ∶{1 ⋅⋅⋅ _G_ } indicate the particle and region identities associated to image _Ii_, for a dataset with a total of _P_ particles and _G_ regions. The mapping _g_ between particle alignments in three dimensions and those corresponding to the 2D projections, can be written as: [ _xi_, _yi_, _θi_, _ϕi_, _ψi_ ] = _g_ ( _α_ ? ? _i_ ), _β_ ? ? _i_ ), _x_ ? ? _i_ ), _y_ ? ? _i_ ), _θ_ ? ? _i_ ), _ϕ_ ? ? _i_ ), _ψ_ ? ? _i_ ), _x_ ? ? _i_ ), _y_ ? ? _i_ ), _z_ ? ? _i_ )), where _xi_, _yi_, _θi_, _ϕi_, _ψi_ are the translations and orientations assigned to particle projection _i_, _α_ ? ? _i_ ), _β_ ? ? _i_ ), _x_ ? ? _i_ ), _y_ ? ? _i_ ) are the tilt-axis angle, tilt angle and image translations associated to region ?( _i_ ) and _θ_ ??? _i_ ), _ϕ_ ??? _i_ ), _ψ_ ??? _i_ ), _x_ ??? _i_ ), _y_ ??? _i_ ), _z_ ??? _i_ ) represents the rigid transformation assigned to particle ??( _i_ ). In region-based refinement, the overall projection matching objective function, _D_, is defined by accumulating cisTEM scores, _d_, calculated between images _Ii_ and reprojections of the model _R_, by optimizing over the geometric constraints _αg_, _βg_, _xg_, _yg_ : ∑ _i_ |??( _i_ )= _g_ _D_ = _G_ ∑ _g_ =1 _d_ ( _Ii_, _Rg_ ? _αg_, _βg_, _xg_, _yg_, _θ_ ? ? _i_ ), _ϕ_ ? ? _i_ ), _ψ_ ? ? _i_ ), _x_ ? ? _i_ ), _y_ ? ? _i_ ), _z_ ? ? _i_ ))), Particle-based CTF refinement Similar to region-based refinement, particle-based CTF refinement also requires defining a mapping _h_ : [ _df_ 1 _i_, _df_ 2 _i_, _Astigi_ ] = _h_ ( _df_ 1? ? _i_ ), _df_ 2? ? _i_ ), _Astig_ ? ? _i_ )), between the defocus and astigmatism parameters assigned to individual 2D projections ( _df_ 1 _i_, _df_ 2 _i_, _Astigi_ ) and the mean defocus and astigmatism parameters associated to the region ?( _i_ ): _df_ 1? ? _i_ ), _df_ 2? ? _i_ ), _Astig_ ? ? _i_ ). The projection matching objective function, _D_, is then maximized with respect to the CTF parameters of each region _df_ 1? ? _i_ ), _df_ 2? ? _i_ ), _Astig_ ? ? _i_ ): ∑ _i_ |??( _i_ )= _g_ _D_ = _G_ ∑ _g_ =1 _d_ ( _Ii_, _R_ | _h_ ( _df_ 1??? _i_ ), _df_ 2??? _i_ ), _Astig_ ??? _i_ ))), where the overall sum is arranged into groups (one per region), each having _Pg_ terms (one per particle located in region _g_ ). The maximization is performed using the Powell minimizer and the search is conducted within a user-specified tolerance for the defocus and astigmatism parameters. Video frame refinement and self-tuning exposure weighting Frames for each particle projection are extracted from the raw videos of each tilt. Running averages for each frame are produced and used for alignment against the most current 3D reference. This process produces a set of noisy trajectories (one trajectory per tilted image, per particle), which we then regularize using spatial and temporal smoothness constraints to prevent overfitting <sup>48</sup> . To determine the weights of the exposure filter, score averages over all particles in each frame are calculated and used for exposure weighting using a modified version of cisTEM’s reconstruct3d program <sup>52</sup> . Correlation scores assigned to [individual frames obtained during processing of EMPIAR-10164 are](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10164) shown in Fig. 3b. Corresponding 2D frequency weights were derived using the same formula used elsewhere <sup>48</sup>, with the total number of frames corresponding to the number of frames per tilt, times the number of tilts (8 × 41 = 328; Fig. 3c). For tilt series that do not contain enough particles to produce reliable weights, a mean exposure curve can be obtained from the entire dataset and used for weighting (Fig. 3d). The very low doses per frame used in tomography can result in overfitting, usually manifested as FSC curves having a sharp falloff at the maximum resolution used for refinement <sup>57</sup> . To prevent this, longer running frame averages can be used to increase SNR and stronger spatial regularization of trajectories can be imposed on the movement of neighboring particles. Particle cleaning based on scores and spatial proximity. One way to improve map resolution is to remove particles that do not contribute high-resolution information to the final reconstruction. These particles may correspond to damaged or false positives that were identified during particle picking, or to particles that cannot be properly aligned during refinement. To remove these from the downstream refinement, we calculated mean scores for each particle by averaging the scores from the tilted projections of each particle. A user-specified threshold was then used to remove particles that have scores lower than the cutoff. This produces cleaner particle sets and contributes to improving resolution. For large particles like ribosomes, a bimodal distribution of scores can be observed and in this case the threshold can be determined automatically as shown previously <sup>58</sup> . We also removed duplicate particles that were too close to their neighbors, using a user-specified minimum distance. Constrained classification of particle projections Our strategy for heterogeneity analysis from 2D projections is based on the 3D single-particle classification algorithm implemented in cisTEM <sup>52</sup>, with several changes to accommodate our distributed processing workflow and the imposition of the tilt geometry constraints. The randomization algorithm used to generate the _N_ discrete initial references was rewritten to account for the use of geometric constraints and to bundle images into groups representing unique sub-volumes. The local statistics of the refinement parameters (average and variance) resulting from our distributed workflow are different from the global statistics (obtained when considering all images in the dataset) and this can affect the classification results. To overcome this statistical bias, we always used the global refinement statistics when doing the distributed calculation of per-particle occupancies. The probabilities assigned during 3D reconstruction within each class also used the global refinement statistics. During the calculation of occupancies, Gaussian weights centered at the 0-degree tilt image with a s.d. of 6° were used to assign higher weights to the low tilt angle projections (the use of score-based weights in this case did not improve the classification results and instead led to overfitting due to the low-SNR conditions). All constrained classification runs were performed using the full range of tilts. The focused classification approach implemented in cisTEM can also be used within our constrained classification framework to determine structural flexibility restricted to a specific region or area of a complex. Validation of constrained classification using SP datasets To validate our classification approach, we generated a test dataset by combining two single-particle datasets from HIV-1 Env samples with Fabs bound at different locations. Running averages of six video frames were considered as the equivalent of a tilt series with a similar dose but higher SNR because the images are not tilted. This synthetic mixture provides the necessary ground truth to test our classification algorithm. First, 3D classification was performed using video averages (without considering the frames) using standard single-particle classification routines implemented in cisTEM. The two classes were successfully separated after seven iterations. The misassignment errors in each class were 4.8% of particles for class 1 and 0.2% for class 2 (Extended Data Fig. 4a). Next, the dataset containing the same particle positions as before but now using the running frame averages for each particle was used for classification without imposing any constraints. The total number of projections in this case was ~60 times larger than the original dataset, which corresponded to the number of frames in the original micrographs. Even after 28 iterations, standard 3D classification as implemented in cisTEM failed to converge due to the lower SNR of the running frame averages. The percentages of misassigned particles for each class were 44.9% and 32.6%, respectively (Extended Data Fig. 4b). After applying the constraints to ensure that running frame averages belonging to the same particle were assigned to the same class, 3D classification was able to successfully separate the classes with only small assignment errors observed (3.0% and 3.8%, respectively; Extended Data Fig. 4c). The quality of the reconstructed maps was similar to the control results obtained by classifying the frame averages, demonstrating the effectiveness of our approach at classifying low-SNR particle projection sets. Book-keeping, metadata management and code optimization The general philosophy behind nextPYP is to only keep copies of the raw data and the necessary metadata required to reproduce the final 3D reconstruction(s). This eliminates the need to store intermediate results (such as sub-volumes or particle stacks), which require considerable amounts of space and introduce I/O bottlenecks that slow down processing. This strategy results in a light-weight framework that can be scaled to analyze large datasets, while ensuring data reproducibility. Internally, metadata for tilt series is stored in binary pickle files and metadata generated during refinement is stored as extended .par files in compressed format using bzip2. To speed up processing, all routines for constrained refinement are implemented in C++ and built with the Intel compiler using MKL libraries. To avoid intermediate I/O steps and speed up the evaluation of particle scores, our C++ code was linked against cisTEM’s refine3d function <sup>52</sup> . Compute resources and running times nextPYP runs on Linux and uses containerization technology imple[mented in Apptainer (https://apptainer.org/) to ensure portability and](https://apptainer.org/) reproducibility. Running the program in cluster mode requires access to a SLURM instance with a shared file system between the virtual machine running the web server and the compute nodes. Running times for pre-processing, high-resolution refinement and classification are reported in Supplementary Table 2 on a per-tilt series basis. If enough resources are available, all tilt series in a dataset can be run in parallel (bundle size of 1), making the total running time equal to the time per tilt series. If the bundle size is greater than 1, the running time will be the time per tilt series, times the bundle size. Running time during refinement (without considering reconstruction) is proportional to the number of tilts used for refinement. For fully constrained or region-based refinement, as well as 3D classification, memory consumption depends on the box size and the number of particles per tilt series. For video frame refinement, memory usage only depends on the box size. A minimum of 4 GB per vCPU is recommended for running most tasks. Ease-of-use, multi-user environment and interoperability All results from data processing were streamed in real time to the GUI and could be conveniently accessed from multiple locations using a web-browser (Extended Data Fig. 9). To account for different computer setups and data processing needs, nextPYP can operate in standalone mode or in cluster mode. In standalone mode, the web server and all processing jobs run locally on the same virtual machine, whereas in cluster mode, all processing jobs are submitted to an HPC cluster environment providing scale out capabilities. This mode is especially useful for supporting on-the-fly data pre-processing sessions acquired using BISECT where multiple tilt series are acquired in parallel <sup>13</sup> and to refine structures from datasets with thousands of tilt series. For training its deep-learning models for particle picking, nextPYP needs access to a GPU. All other operations are currently executed on CPU cores using multiple threads (GPU support will be expanded in the future). The program also allows importing user-defined sequences of processing blocks, called ‘workflows’ that can be used to automate routine data analysis tasks or run standardized benchmarks. Multiple users and groups are supported by providing project-specific access control and allowing users to share sessions or projects within a group or with other users. When system-wide data access restrictions are required: (1) Linux groups and permissions can be used to limit access to certain users, or (2) multiple instances of nextPYP can be executed (one for each user or group). In addition to the GUI, a command line interface is also provided that allows finer control of all data processing commands. To facilitate interoperability with other packages, nextPYP has functions to import and export metadata in the .star format used by recent versions of cisTEM <sup>52</sup>, Relion <sup>23</sup> and M <sup>37</sup> . Support for single-particle data processing nextPYP also supports online and offline processing of cryo-EM micrographs. For online processing, raw video frames can be transferred from the microscope and analyzed on-the-fly using a similar user interface as that used for tilt series. In addition to video frame alignment, CTF determination and particle picking (size-based and neural network-based approaches), nextPYP can also run 2D classification using wrappers around cisTEM <sup>52</sup> . Metadata resulting from online sessions can be exported in .star format to external packages for further processing. Users can also apply filters and export subsets of micrographs according to user-defined criteria such as CTF-fit, maximum drift and number of particles. For offline processing, nextPYP supports reference-based 3D refinement and 3D classification jobs <sup>52</sup>, as well as reference-based video frame refinement and data-driven exposure weighting <sup>48</sup> . All single-particle operations use the same scalable and storage-efficient approach used for SP-CET, where particle and frame stacks are only saved temporarily in local scratch. A fully featured GUI provides interactive visualization of micrographs, CTF, maps and refinement statistics. Users can also pick particles interactively to train and apply semi-supervised neural network models <sup>44</sup> . Micrographs, videos and metadata can be imported/exported in .star format to use with external packages. Shape masking and map post-processing operations are also supported. Reporting summary Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article. Data availability This study utilized raw tilt series available from the EMPIAR database [under accession nos. 10064, 10164, 10499, 10987 and 11273 and cryo-EM](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10064) maps available from the Electron Microscopy Data Bank (EMDB) under [accession nos. 8803, 11638, 11650, 11655, 16209 and 33118. Cryo-EM](https://www.ebi.ac.uk/emdb/EMD-8803) density maps produced in this study were deposited in the EMDB under [accession nos. EMD-41196 and EMD-41197 for EMPIAR-10164 (five tilt](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41196) [series and full dataset), EMD-41199 for EMPIAR-11273, EMD-41205,](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41199) [EMD-41207, EMD-41210, EMD-41211 and EMD-41212 for EMPIAR-10064](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41207) [(classes 1, 2, 3, 4 and 5), EMD-41220, EMD-41221 and EMD-41222 for](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41220) [EMPIAR-10499 (classes 1, 2 and 3) and](https://www.ebi.ac.uk/pdbe/emdb/empiar/entry/10499) [EMD-41223,](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41223) [EMD-41224,](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41224) [EMD-41225, EMD-41226 and EMD-41227 for EMPIAR-10987 (classes 1,](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-41225) 2, 3, 4 and 5). Code availability [The open-source code for nextPYP is available at https://github.com/](https://github.com/nextpyp) [nextpyp.](https://github.com/nextpyp) References 54. Grant, T. & Grigorieff, N. Measuring the optimal exposure for single particle cryo-EM using a 2.6 Å reconstruction of rotavirus VP6. _eLife_ 4, e06980 (2015). 55. Amat, F. et al. Markov random field based automatic image alignment for electron tomography. _J. Struct. Biol._ 161, 260–275 (2008). 56. Freeman Rosenzweig, E. S. et al. The eukaryotic CO2-concentrating organelle is liquid-like and exhibits dynamic reorganization. _Cell_ 171, 148–162 (2017). 57. Penczek, P. A. Resolution measures in molecular electron microscopy. _Methods Enzymol._ 482, 73–100 (2010). 58. Zhou, Y., Moscovich, A., Bendory, T. & Bartesaghi, A. Unsupervised particle sorting for high-resolution single-particle cryo-EM. _Inverse Probl._ 36, 044002 (2020). Acknowledgements Research reported in this publication was supported by the National Institute of General Medical Sciences of the National Institutes of Health under award no. R01GM141223 to A.B. The content is solely the responsibility of the authors and does not necessarily represent the views of the National Institutes of Health. This study has been made [possible in part by CZI grant DAF2021-234602 and grant https://doi.org/](https://doi.org/10.37921/181830egjglp) [10.37921/181830egjglp from the Chan Zuckerberg Initiative DAF, an](https://doi.org/10.37921/181830egjglp) advised fund of Silicon Valley Community Foundation (funder DOI 10.13039/100014989). This study was partially supported by the National Institute of Allergy and Infectious Diseases of the National Institutes of Health under award no. U54-AI170752 to A.B. This study utilized the computational resources offered by Duke Research [Computing (http://rc.duke.edu). We thank T. Futhey, C. Kneifel,](http://rc.duke.edu) K. Kilroy, M. Newton, V. Orlikowski, T. Milledge, J. Dorff, Z. Hill and D. Lane from the Duke Office of Information Technology and Research Computing for providing assistance with the computing environment. We thank J. Bouvette, K. Sharma, M. Borgnia, L. He and A. Watson for providing feedback on an early prototype of nextPYP. We thank P. Acharya and R. Henderson for providing access to the single-particle datasets of HIV-1 Env used to validate our constrained classification approach. Author contributions H.L., Y.Z., W.J., Q.H., X.D. and A.B. developed and implemented the command line tool. J.M., J.P., J.M. and A.B. developed and implemented nextPYP. H.L., Y.Z. and A.B. carried out data processing. H.L., Y.Z. and A.B. contributed to writing the paper and prepared the figures. A.B. conceived the project. Competing interests The authors declare no competing interests. Additional information Extended data is available for this paper at [https://doi.org/10.1038/s41592-023-02045-0.](https://doi.org/10.1038/s41592-023-02045-0) Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41592-023-02045-0.](https://doi.org/10.1038/s41592-023-02045-0) Correspondence and requests for materials should be addressed to Alberto Bartesaghi. Peer review information _Nature Methods_ thanks Radostin Danev and the other, anonymous, reviewers for their contribution to the peer review of this work. Primary Handling Editor: Rita Strack, in collaboration with the _Nature Methods_ team. Peer reviewer reports are available. Reprints and permissions information is available at [www.nature.com/reprints.](http://www.nature.com/reprints) Extended Data Fig. 1 | nextPYP graphical user interface (GUI) for on-the-fly monitoring of tilt series. nextPYP provides visualization tools to monitor data quality during data acquisition. Results are streamed in real-time to a webbased interface providing convenient access to various metrics of image and reconstruction quality. The GUI includes components to visualize overall dataset statistics ( a ), video frame alignment ( b ), per-tilt CTF estimation ( c ), virion segmentation ( d ), tilt series alignment ( e ), gallery view to discard individual tilt-images ( f ), and 3D particle picking ( g ) (virion and particle positions shown in the left panel were calculated for all 43 tilt series from EMPIAR-10164). Extended Data Fig. 2 | Comparison of final map resolution against other packages (EMPIAR-10164). a ) Alpha helix segment with fitted atomic [coordinates PDB ID 5l93 showing maps obtained from a subset of 5 tilt series](https://doi.org/10.2210/pdb5l93/pdb) using emClarity (3.3 Å, 15,791 particles), RELION (3.2 Å, 12,910 particles) and nextPYP (3.2 Å, 14,482 particles). Improved map features are highlighted in red. b ) Corresponding FSC curves between half-maps showing estimated resolutions using the 0.143 cutoff criteria. c ) Alpha helix segments with fitted atomic coordinates for maps obtained from the entire dataset (43 tilt series) using M (3.0 Å, 130,658 particles), RELION (3.0 Å, 144,275 particles), and nextPYP (3.0 Å, 109,496 particles). Improved map features and density continuity are highlighted in red. d) Corresponding FSC curves between half-maps. Extended Data Fig. 3 | Constrained classification of tilted particle projections. Strategy for 3D classification of single-particle cryo-electron tomography data. a ) In conventional sub-tomogram classification, tomograms are first reconstructed and sub-volumes are extracted for subsequent 3D classification. Sub-volumes are sorted into 3 classes, corresponding to different conformational states (blue, yellow, and red). b ) Classification from 2D projections requires extraction of 2D images from the raw tilt series data using the coordinates of particles in 3D. Classification without imposing the constraints of the tilt geometry incorrectly classifies the particles due to the low SNR of tomographic particle projections. c ) Imposition of the constraints allows correct separation of multiple conformations. Extended Data Fig. 4 | Validation of constrained classification using a synthetic mixture of single-particle datasets. Micrographs from two datasets of HIV-1 Env bound to different antibodies were combined and subjected to 3D classification. a ) Baseline classification using video frame averages. Particle ground-truth distribution is shown with a colored bar on the left (Class 1 blue, Class 2 red). Area plots on the right show the occupancy distribution as a function of the particle number for each class. Reconstructed maps for each class after 7 iterations are shown above the plots showing correct separation of the two conformations. b ) Classification using video frames without imposing constraints after 28 iterations fails to separate the two states. c ) Constrained classification using video frames correctly recovers the two conformations after 7 iterations. Extended Data Fig. 5 | Consensus map obtained from tilt series of in-cell 70S ribosomes (EMPIAR-10499). a ) Overview of 3.9 Å resolution reconstruction obtained from 18,135 particles (without performing particle cleaning since this dataset was used to benchmark the constrained classification strategy). b ) Alpha helical and RNA helical segments shown with model fit into map. c ) FSC plot between half-maps (0.143 cutoff criteria). Extended Data Fig. 6 | Per-tilt frequency dependent weights for 80S ribosomes from cryo-FIB lamellae (EMPIAR-10987). a ) Data-driven average similarity scores measured between the individual tilts of each particle and the 3D reference. b ) Corresponding weights for individual tilts are shown as a function of frequency. Colors represent the relative contribution of each tilt from highest (dark red) to lowest (deep blue). Bands for each tilt are ordered in the sequence they were acquired (bottom=first, top=last). Extended Data Fig. 7 | Neural network-based particle picking of RuBisCO particles from tomograms of Chlamydomonas reinhardtii cells (EMPIAR-10694). a ) Slice through tomogram showing cellular features and selected RuBisCo particles (inset). b ) 3D reconstruction obtained from 35,352 particles with atomic model fit into map. c ) FSC plot between half-maps showing a resolution of 12 Å (0.143 cutoff criteria). Extended Data Fig. 8 | Comparison between size-based and neural networkbased particle picking approaches. Particle picking results on tomograms of ribosomes from EMPIAR-10304 (in vitro) and EMPIAR-10499 (in situ). Ground-truth particle positions (left, cyan) were obtained by manual picking. Corresponding results of neural network-based picking (middle, red) and size-based picking (right, yellow) are shown. Similar results were obtained for each of the 12 tilt series from EMPIAR-10304 and the 65 tilt series from EMPIAR-10499. Additional accuracy statistics are presented in Supplementary Table 5. Scale bars for EMPIAR-10304 are 200 nm and for EMPIAR-10499 are 100 nm. Extended Data Fig. 9 | GUI components in nextPYP for high-resolution refinement and classification. a ) The main application dashboard shows information about multiple projects. b ) Each project consists of multiple data processing blocks and access to log files and processing history is shown on the right. c ) Gallery view shows multiple tomogram slices to facilitate inspection of large datasets. d ) The refinement view shows metrics for reconstruction quality including map slices and projections, FSC plots and orientation distribution of particles for each iteration. Navigation controls provide access to maps from different iterations and classes. e ) Multiple reconstructions can be displayed interactively in 3D.

섹션 본문 63문단 · 59,479자

(제목 없음)

2Single-particle cryo-electron tomography is an emerging technique capable of determining the structure of proteins imaged within the native context of cells at molecular resolution.While high-throughput techniques for sample preparation and tilt-series acquisition are beginning to provide sufficient data to allow structural studies of proteins at physiological concentrations, the complex data analysis pipeline and the demanding storage and computational requirements pose major barriers for the development and broader adoption of this technology.Here, we present a scalable, end-to-end framework for single-particle cryo-electron tomography data analysis from on-the-fly pre-processing of tilt series to high-resolution refinement and classification, which allows efficient analysis and visualization of datasets with hundreds of tilt series and hundreds of thousands of particles.We validate our approach using in vitro and cellular datasets, demonstrating its effectiveness at achieving high-resolution and revealing conformational heterogeneity in situ.The framework is made available through an intuitive and easy-to-use computer application, nextPYP (http://nextpyp.app).

3Cryo-electron tomography is an emerging technique used to determine the structure of proteins in their native, frozen hydrated state.By taking a series of tilted images of vitrified specimens in an electron microscope, it is possible to visualize unique pleomorphic events and macromolecular organizations that would otherwise be very difficult to reconstitute in vitro.Repetitive or frequently occurring molecules within these pleomorphic objects can be averaged in three dimensions to create higher resolution maps using single-particle cryo-electron tomography (SP-CET).This technology has been successfully applied to study biological systems reconstituted in vitro [1][2][3][4] or subcellular complexes present within intact bacteria or eukaryotic cells [5][6][7][8] .

4Recent advances in sample preparation using cryo-focused ion beam (cryo-FIB) [9][10][11][12] instruments combined with strategies for parallel data acquisition using beam-image shift [13][14][15] have increased the throughput of data collection allowing to routinely acquire datasets with hundreds of tilt series.Moreover, the introduction of platforms for sample screening to automatically navigate cryo-electron microscopy (cryo-EM) grids has further increased the efficiency of data collection [16][17][18] .Similar to developments in single-particle cryo-EM [19][20][21][22][23] these advances have motivated the development of strategies for on-the-fly data pre-processing that can provide real-time feedback on image quality [24][25][26][27] ; Article https://doi.org/10.1038/s41592-023-02045-0following steps: (1) gain correction and video frame alignment; (2) alignment of tilt series using fiducial-based or patch-tracking methods; (3) tilted CTF estimation; (4) tomogram reconstruction; and (5) particle picking (Fig. 1b).Tilt series are processed in parallel on a multi-core server or computer cluster and the results are live-streamed to a GUI (Extended Data Fig. 1).The tool is designed to support the analysis of hundreds of tilt series and produce the necessary metadata for subsequent high-resolution and conformational variability analysis (Fig. 1c).Typical running times are reported in Supplementary Table 2.

Size-based particle picking

5Size-based strategies have been used effectively to pick particles from monodisperse samples in single-particle cryo-EM.Tomography samples are obviously not monodisperse, but these techniques are still useful and can facilitate particle picking from in vitro samples used for benchmarking or large complexes such as ribosomes imaged in situ.We propose a size-based particle detection approach based on our previous method for 2D particle picking 41 .Tomograms are first low-pass filtered to highlight features in the desired size range, followed by local minima detection and removal of weak peaks.To avoid picking particles from areas near gold-fiducials or contamination, a pre-processing step is applied to automatically detect these regions.This approach only requires specification of the particle size and runs in tens of seconds.

Membrane-constrained template matching

6To handle a wider range of tomography samples, nextPYP also implements a three-step strategy to find native membrane proteins attached to the surface of viruses or liposomes.First, we automatically determine the location of virions within tomograms using a Hough transform voting scheme, followed by segmentation of each virion in 3D using density-driven minimal surfaces 42 .During a third step, we use a low-resolution map as a reference to run constrained template matching where the search is restricted to the area outside the segmented membrane.Using this procedure, both the location of membrane-bound particles and their normal orientations can be obtained, which can be used to speed up orientation search during refinement.The algorithm to locate virions only requires specifying the average radius in Å, whereas the segmentation algorithm detects arbitrarily shaped membranes contained between two concentric spheres of a user-defined radius around the virion centers.If a reference for template matching is not available, it is possible to pick uniformly spaced positions along the segmented membranes.

Semi-supervised particle picking using deep neural networks

7We also implemented a semi-supervised particle-picking strategy using deep neural networks.Unlike fully supervised approaches that require densely annotated images or tomograms for training 32,33,43 , our semi-supervised networks use multi-task learning, data augmentation and consistency regularization to overcome the need for labor-intensive labeling 44,45 .As a result, these routines require only a sparse set of annotations (several particles from a few tomograms) and can be trained in minutes rather than hours.nextPYP implements a convenient GUI for interactive labeling of particles in three dimensions, training the deep-learning models, running inference on hundreds of tomograms and evaluating the particle picking results in three dimensions.

A scalable framework for structure determination by SP-CET

8To reduce the storage footprint of traditional STA workflows (Fig. 2a), nextPYP bypasses the generation of large tomograms, sub-volumes and the saving of particle stacks by reading the data directly from the unprocessed, unaligned raw tilt series images, Fig. 2b.This approach results in storage savings of several TB per dataset, ensures the efficient utilization of resources, simplifies data management and allows processing of larger datasets than previously possible.Moreover, the removal of I/O bottlenecks associated with generating, saving and transferring however, adoption of these strategies has been slow, due to the increased complexity, limited robustness and higher computational demands of routines for tilt-series alignment, tomogram reconstruction, contrast transfer function (CTF) estimation and particle picking.

9Particle picking in particular, poses major challenges due to the heterogeneous and crowded nature of native cellular environments and the distortions caused by the missing wedge 28 .Nonetheless, several strategies for three-dimensional (3D) particle picking have been proposed.Template matching can be used when an external reference is available, but is computationally expensive and may introduce model bias 29 .To detect membrane proteins attached to viruses, multi-step strategies that rely on 3D segmentation can be used, but these require manual user intervention making them unsuitable for high-throughput tomography 30,31 .More recently, neural network-based approaches have been introduced, but these use fully supervised models that require extensive labeling, long training times and often need retraining when applied to new datasets 32,33 .

10During 3D refinement, conventional sub-tomogram averaging (STA) relies on the extraction of sub-volumes from large tomograms (up to several GB in size).For datasets with hundreds of tilt series and tens of thousands of particles, this strategy results in prohibitively large storage and computational requirements that make image analysis impractical.In contrast, strategies for constrained SP-CET bypass the need to extract sub-tomograms and only use two-dimensional (2D) projections during refinement, resulting in substantial storage savings 34 .In practice, however, even this solution may require unreasonable amounts of space and create input/output (I/O) bottlenecks during downstream processing.Moreover, frameworks based on constrained SP-CET still require the generation of sub-tomograms for ab initio pose assignment and 3D classification [35][36][37][38] ; a strategy that scales poorly for the analysis of large datasets needed for in situ structural studies.

11Existing frameworks for SP-CET focus on particular aspects of the data analysis pipeline, but the combination of different processing steps is still hindered by the lack of unified data workflows 39 .Some tools are used for data pre-processing 26,27 and others are used for tilt-series alignment and reconstruction 24,25 , CTF estimation 40 , particle picking 30,38 and 3D refinement and classification [35][36][37][38] .A comprehensive platform for streamlined processing of all steps in the SP-CET pipeline, along with an interactive user interface, is lacking (Supplementary Table 1).

12Here, we present an end-to-end framework for SP-CET data processing that exclusively uses 2D raw data for all downstream 3D refinement and classification tasks.Avoiding sub-tomogram extraction and saving of particle stacks, results in a scalable strategy that can be used to process datasets with hundreds of thousands of particles.To support high-throughput workflows, we present routines for automated pre-processing of tilt series, including techniques for unsupervised and semi-supervised particle picking.For refinement and reconstruction, we propose algorithms for reference-based alignment, global and region-based constrained refinement, particle-based CTF determination, beam-induced motion correction and exposure weighting and 3D classification for variability analysis.We validate our framework on benchmark datasets from in vitro and cellular samples, demonstrating its ability to extract high-resolution information and characterize conformational heterogeneity of native proteins.These tools are implemented in the package nextPYP, a fully featured application with an easy-to-use graphical user interface (GUI).

On-the-fly processing of tilt series

13Monitoring data quality during high-throughput acquisition (Fig. 1a) is especially important in tomography where the unit of data is a series of projections acquired from the same area of the sample.This imposes stringent tracking and defocus requirements that must be met to ensure the integrity of the data.We developed robust routines for on-the-fly processing of tilt series that can produce particles and metadata ready for SP-CET refinement.Our data pre-processing strategy includes the Article https://doi.org/10.1038/s41592-023-02045-0large image stacks results in faster processing, allowing the routine analysis of hundreds of thousands of particles.Tilt series are processed in bundles and only one intermediate 3D reconstruction per bundle is saved to permanent storage (typically just a few hundred MB).These reconstructions are then merged into a final 3D map and this process is iterated multiple times.The modularity of this architecture makes it well suited for use in cluster environments where frequent access to network file systems can introduce serious performance bottlenecks.

Fully constrained refinement of particle poses

14Our original constrained SP-CET work addressed the issue of overfitting by imposing constraints exclusively on the orientations assigned to

Article

15https://doi.org/10.1038/s41592-023-02045-0 each particle projection 34 .In this case, there are three rotation angles per particle and two translations per particle projection that need to be determined during alignment.By ensuring that the constraints of the tilt geometry were satisfied throughout refinement, this strategy resulted in higher resolution reconstructions and minimized overfitting.For tilt series with lower defocus or from crowded cellular samples; however, the weaker signal in each particle projection can still lead to overfitting even when the rotational constraints of the tilt geometry are imposed.To address this problem, we implemented a fully constrained algorithm where both rotations and translations of the tilt geometry are enforced throughout refinement.This strategy has the advantage of reducing the number of degrees of freedom to six parameters per particle (three rotation angles and three translations), making it more robust to overfitting and extending its applicability to a broader set of cryo-ET samples, including lower defocus tilt series and datasets from cellular environments.

Reference-based pose estimation directly from 2D projections

16Existing strategies for constrained SP-CET refinement require access to pre-existing particle poses so they can later be refined using the 2D projection data.The initial poses are typically obtained using traditional STA, which in turn requires extraction and alignment of sub-volumes.Even when sub-volumes are extracted using large pixel sizes (to reduce space), this adds an unnecessary step that requires additional compute and storage resources and the use of different software packages which can introduce compatibility issues.Here, we propose a reference-based approach that directly uses 2D particle projections to derive initial poses for every particle.To determine alignment parameters for each particle projection, we use a fully constrained global search approach where each particle is assigned the sum of scores from all its tilted projections (the allowable range of rotations and translations with respect to the original particle angles and positions can be controlled by the user).To speed up the search, we use binned images and a coarse grid to sample the three Euler angles.As this approach only uses the raw 2D data, it is computationally efficient, is not affected by the missing wedge and simplifies the handling of metadata for the refinement steps downstream.

Region-based constrained projection matching

17Our fully constrained framework prevents noise overfitting during particle orientation determination by considering all tilted projections of a particle as a rigid body and using the signal from all particles in the field of view to refine the parameters of the tilt geometry.This approach, however, does not consider the local distortions that may occur due to beam-induced motion and deformation of the sample during data acquisition.To account for these effects, we developed a region-based constrained refinement strategy that refines the parameters of the tilt geometry using subsets of particles present within regions of a tomogram.Similar to M 37 , this strategy relaxes the global constraints of the tilt geometry allowing the estimation of local deformations.The number of regions is determined based on the amount of signal present in each sub-area (typically proportional to the molecular weight and concentration of particles) and the extent of deformation expected in the sample.Provided that there are sufficient particles within each region, this strategy can be effective at preventing overfitting while leading to substantial improvements in map resolution.

Particle-based CTF refinement

18In the constrained SP-CET framework, CTF parameters are assigned to individual particle projections using the defocus parameters estimated for each image in a tilt series and the 3D position of particles within tomograms 13 .This process, however, is not always accurate and can lead to imprecise assignment of defocus parameters that may ultimately limit resolution.Similar to per-particle CTF refinement strategies first implemented for single-particle cryo-EM in FREALIGN 46 , we use the most recent 3D reconstruction and our region-based constrained refinement approach to locally refine defocus and astigmatism for images within each region.CTF parameters for each particle projection are then re-calculated, leading to measurable improvements in map resolution.

Video frame refinement and self-tuning exposure weighting

19Modern electron detectors record each tilted image as a sequence of video frames.Similar to strategies used in single-particle cryo-EM, the time-resolved data can be used for tracking the movement of individual particles through the exposure to correct for beam-induced motion.

20Unlike single-particle cryo-EM; however, the dose accumulated in each frame is too low to allow accurate alignment 47 .To overcome this, we use running frame averages and produce noisy particle trajectories that are later regularized using spatial and time constraints 48 (Fig. 3a).This process generates a similarity score for each frame (Fig. 3b), which can be used to perform frequency-dependent exposure weighting (Fig. 3c).The weights we obtained indicate that only frames from the first four low-tilt exposures contribute high-resolution information to the reconstruction.Despite the low signal-to-noise ratio (SNR), the curve for each tilt shows a similar characteristic bell-shape as previously reported for single-particle cryo-EM 48 .The reduction in average score with each new tilt is consistent with the onset of radiation damage and thickening of the specimen due to tilting.To get a cleaner picture of the score variations within an exposure, we subtracted the mean score for each tilt from the corresponding per-frame scores and averaged the resulting curves from all the tilts (Fig. 3d).While video frames for tilt series were already used by M for motion correction 37 , the frames were averaged before reconstruction to reduce storage and compute requirements.Using our scalable architecture for SP-CET refinement, we can calculate exposure-weighted maps directly from the video frames, thus providing increased efficiency during the extraction of high-resolution signal.

Validation using HIV-1 Gag benchmark dataset

21We validated nextPYP on tilt series from the HIV-1 Gag dataset from EMPIAR-10164 (ref.49).Tilt series in super-resolution mode were first pre-processed using our routines for on-the-fly data analysis.The position of HIV-1 virions was automatically detected, followed by 3D segmentation and selection of particle locations from their surface.The normals at each position were used to restrict the reference-based search to a single in-plane angle.Fully constrained refinement, region-based refinement (using a 8 × 8 × 2 grid), particle-based CTF refinement, video frame refinement and additional rounds of region-based refinement, resulted in a 3.2 Å resolution map using 14,482 particles extracted from five tilt series (Fig. 4a and Extended Data Fig. 2a,b).All refinement operations were performed using particles extracted in 2× binned precision (1.35 Å per pixel) and a box size of 384 pixels.Only tilts in a ±6° range were used for refinement (as these were the ones with the highest contribution to high-resolution), whereas the entire ±60° range of projections was used for 3D reconstruction.We also analyzed the entire set of 43 tilt series using the same strategy and obtained a 3.0 Å map from 109,496 particles, matching the resolutions obtained by M 37 and Relion 36 , while using 16% and 24% fewer particles, respectively (Extended Data Fig. 2c,d).Our results were obtained without extracting sub-volumes or saving image stacks, resulting in ~25 TB of storage savings and substantially faster processing (timing and data processing details are included in Supplementary Tables 2 and 3, respectively).

Sub-2 Å structure of mouse heavy-chain apoferritin

22We also validated nextPYP using tilt series of apoferritin downloaded from EMPIAR-11273.One hundred raw tilt series were pre-processed using patch-based tracking for tilt series alignment.Particles were detected automatically using our size-based particle picker using a https://doi.org/10.1038/s41592-023-02045-0radius of 75 Å.Reference-based search using 2D data was followed by several rounds of fully constrained and region-based refinement (using a 4 × 4 × 2 grid), particle-based CTF refinement, video frame refinement and additional rounds of region-based refinement, resulting in a 1.8 Å resolution map (Fig. 4b).

Constrained classification for characterizing heterogeneity

23Unlike conventional sub-tomogram classification where volumes are clustered based on their 3D structural features 50,51 , we propose a strategy to analyze conformational heterogeneity that exclusively uses the raw 2D particle projection data (Extended Data Fig. 3).Similar to the original constrained SP-CET approach 34 , this has several advantages:

24(1) it requires fewer compute and storage resources; (2) is not affected by the effects of the missing wedge; and (3) can leverage existing classification tools for single-particle cryo-EM.Our strategy is based on the 3D classification algorithm implemented in cisTEM 52 , with additional components required to support our distributed processing architecture and the imposition of the tilt geometry constraints.To ensure that all projections from a given particle are assigned to the same class, per-particle occupancies are calculated by averaging the occupancies assigned to individual projections, Extended Data Fig. 4. Constrained classification can be run simultaneously with global or region-based refinement, or without alignment.The latter option is useful when the signal is too weak to allow reliable orientation assignment and can help prevent overfitting by limiting the dimension of the search space.The computational efficiency and small storage footprint of our classification strategy allows us to routinely analyze hundreds of thousands of particles (Supplementary Table 3).

Disentangling translation states from in vitro 80S ribosomes

25We validated our classification approach on tilt series from in vitro 80S ribosomes 53 (EMPIAR-10064, defocus data).From a total of ~4,000 particles, we first obtained a consensus map at 5.6-Å resolution as reported previously 13 , followed by 30 iterations of 3D classification into five classes representing different translational states of the 80S ribosome (Fig. 5a).Based on the presence of cofactors and differences in the rotation of the 40S subunit (Fig. 5b), we assigned the classes into two subgroups.Classes 1 and 2 show a translocation direction rotating 40S and clear density of eEF2, which correlates highly with the translocation state.Classes 3, 4 and 5 show P-site transfer RNA, E-site tRNA and the coupled to binding of aminoacyl-tRNA in the A-site, which is consistent with observing evenly distributed classes in subgroup 2. We also compared our results to previous classification methods implemented in the package emClarity 35 (Fig. 5c,d and Supplementary Fig. 1a).In summary, nextPYP results show better map quality and clear density for cofactors, allowing unambiguous assignment of ribosome translation states.

Heterogeneity analysis of ribosomes from M. pneumoniae cells

26Tilt series collected from intact Mycoplasma pneumoniae cells treated with chloramphenicol were downloaded from EMPIAR-10499 (ref.37).Starting from ~18,000 particles picked using our semisupervised deep-learning approach, we performed reference-based alignment to obtain a consensus map at 3.9-Å resolution (Extended Data Fig. 5).This was followed by 45 iterations of constrained classification into three classes (Fig. 6a and Supplementary Fig. 1b).The chloramphenicol-treated cells only showed decoding and pep tidyl transfer (classic non-rotate) states, which is consistent with the anti biotic function.A small population (28%, class 1) was still in the decoding state, right before releasing the elongation factor EF-Tu protein.In addition, ~70% of the particles (classes 2 and 3) were stalled at the peptidyl transfer state characterized by a 4° rotation of the 30S subunit (Fig. 6b).The presence of the inhibitor provided a longer time window for E-site tRNA to be released, resulting in missing density for E-site tRNA in all classes.Classes 2 and 3 showed a 6° swing movement of the L1 stalk (Fig. 6c).Together, these results demonstrate the ability of our approach to study protein conformational variability in situ.

Translating 80S ribosome conformations from in situ lamellae

27Finally, we benchmarked our methods on tilt series obtained from cryo-FIB-milled lamellae from a cellular sample containing 80S ribosomes 14 (EMPIAR-10987).A total of 6,763 particles were picked using our deep-learning approach from 20 tilt series and used to obtain a consensus map at 8.4-Å resolution (Supplementary Fig. 1c).We calculated average scores per tilt and confirmed that the relative contribution of each tilt was consistent with the accumulation of dose and the change in tilt angle (Extended Data Fig. 6).We then executed 30 iterations of 3D classification using a focus mask centered at the P-site tRNA position and a radius of 110 Å.After multiple classification runs using different numbers of classes, the presence of five stable conformations was detected (Fig. 6d).Classes were resolved at around 11-12-Å resolution and cofactors associated with different conformations could be unambiguously recognized (Supplementary Fig. 1d).Classes 1, 2 and 3 were in a similar non-rotated state.Classes

Discussion

28Structural studies using single-particle microscopy require imaging and averaging many copies of the target of interest to remove noise and improve resolution.Unlike in vitro studies that use purified protein at high concentrations, proteins imaged within their native cellular context are present at much lower physiological concentrations, requiring imaging of large areas of the sample to accumulate enough copies to achieve high-resolution.Advances in sample preparation, specimen screening and high-speed tomography, have increased the throughput of data collection making it possible to acquire hundreds of tilt series during a single microscopy session.Strategies for SP-CET data analysis; however, have lagged behind and currently require extensive user input and access to prohibitively large computational and storage resources, constituting a major obstacle for the development and broad adoption of this powerful technique.

29Here, we present nextPYP, a scalable framework for SP-CET data analysis that can routinely convert hundreds of tilt series or hundreds of thousands of particles into high-resolution structures.The software uses a combination of re-implementations of existing techniques and new methods, as summarized in Supplementary Table 4. Bypassing the need to generate sub-tomograms and particle stacks results in a light-weight architecture with a small storage footprint that is scalable and substantially accelerates data analysis.Our robust strategies for on-the-fly pre-processing of tilt series allow monitoring of data quality during acquisition and seamless conversion of metadata for subsequent 3D analysis.We present efficient algorithms for reference-based alignment and high-resolution refinement, including region-based and particle-based CTF refinement, video frame alignment and data-driven exposure weighting.Our strategies for 3D classification use the constraints of the tilt geometry to effectively disentangle structural variability of flexible complexes imaged in situ.We validate our approach using in vitro and cellular datasets demonstrating its ability to achieve high resolution and uncover translating states of native ribosomes.These tools are available in the software package nextPYP, a scalable and easy-to-use platform for SP-CET data analysis designed to facilitate adoption of this technique by the structural biology community.

30nextPYP successfully overcomes fundamental bottlenecks in the SP-CET data analysis pipeline; however, most datasets still require access to multi-node computer clusters or scalable cloud-based solutions.In particular, reference-based 3D reconstruction requires exhaustive sampling of poses between each particle and the reference, resulting in low-throughput performance.Future work will be needed to further reduce the computational footprint of constrained projection alignment and to design efficient search strategies for robust ab initio reconstruction.Together with recent developments in specimen preparation and data collection, these advances will help accelerate the structural analysis of native samples and contribute to advancing the field of visual proteomics.

Online content

31Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at https://doi.org/10.1038/s41592-023-02045-0.

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

33Open 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/.© The Author(s) 2023 https://doi.org/10.1038/s41592-023-02045-0

Methods

34On-the-fly pre-processing of tilt series Gain correction, video frame alignment and averaging were performed using a modified version of the program unblur 54 designed to minimize I/O operations and speed up processing.Tilt-series alignment was performed using routines implemented in IMOD and include protocols for fiducial-based and patch-based alignment using non-overlapping and uniformly sized patches 55 .Per-tilt CTF was estimated using the procedure we reported previously 13 (based on CTFFIND4 40 ) and only binned tomograms were produced for the purpose of assessing reconstruction quality using IMOD's tilt command.Images in a tilt series were processed in parallel using multiple CPU threads.Steps such as tomogram reconstruction and CTF estimation that do not depend on each other were also parallelized.Information was live-streamed to the GUI, providing convenient access to data quality metrics and assessment of tomograms.

Strategies for 3D particle picking

35Size-based particle picking.Particle picking was conducted using the binned tomograms produced during data pre-processing.A robust contamination-detection step was executed as follows: (1) we applied a high-pass filter to the original tomogram and binarized the result (using the mean density plus 3 × s.d.) to detect high-contrast regions;

36(2) we removed small objects from this mask and filled in small holes using mathematical morphology operations; and (3) we dilated the mask to prevent picking particles that were too close to contaminated areas.Tomograms were then low-pass filtered to highlight features within the user-specified size range and particles were detected at the positions of local minima of the density that fell outside the contamination mask.To reduce the effects of the missing wedge, we erased the gold from the raw tilt series before reconstruction using protocols implemented in IMOD 24 .

37Geometry-based picking.Virions were detected based on a robust voting mechanism that uses the 3D Hough transform implemented in ITK (https://itk.org/)and VTK (https://vtk.org).This approach produces the center coordinates and an estimated value for the radius of each virion.This information was used to generate separate tomograms for each virion (using a smaller pixel size than that used to generate the tomograms during pre-processing), followed by 3D segmentation using minimal-surfaces algorithms 42 .An external reference was then used to execute template search constrained to the outside of the segmented surfaces.Virions were processed in parallel to reduce running times.

38Semi-supervised picking based on deep neural networks.We used sparse labels selected in three dimensions to train a semi-supervised deep neural network as described elsewhere 45 .We manually selected several particles in three dimensions from a few tomograms using nextPYP's built-in visualization tools.The model was first trained using a GPU, followed by inference on all tomograms in a dataset.Particle picking results were visually inspected for accuracy.For challenging datasets, the number of annotations can be increased and used for training until the desired accuracy is achieved.For validation, we applied this approach to pick 35,352 particles of native enzyme ribulose-1,5-biphosphase carboxylase-oxygenase (RuBisCO) from Chlamydomonas reinhardtii cells 56 and used them to produce a 12-Å resolution map (Extended Data Fig. 7).

Comparison between size-based and neural network-based picking.

39We compared the performance between these approaches using in vitro and in situ datasets, EMPIAR-10304 and EMPIAR-10499, respectively.Performance in terms of precision, recall and F1 was slightly higher for the neural network approach, but the size-based approach was faster because it did not need manual labeling or training (Extended Data Fig. 8 and Supplementary Table 5).

SP-CET data analysis without sub-volumes and particle stacks

40In conventional STA, storing 12,000 sub-volumes using a box size of 384 requires 2.5 TB of space.Applying the original constrained SP-CET approach to the same dataset (assuming tilt series were acquired using a standard ±60 tilting scheme with 41 projections), requires generating an image stack with almost half a million particle projections (12,000 × 41 = 492,000 images).Using a box size of 384 voxels, such a stack will still require 270 GB of disk storage, creating substantial I/O bottlenecks for the processing downstream.Instead, nextPYP bypasses the generation of sub-volumes and saving of large particle stacks by leveraging its parallel computing architecture and processing tilt series in discrete bundles (Fig. 2b).Internally, the program still produces 2D particle stacks because they are needed for running refinement and reconstruction in cisTEM 52 , but these are only stored temporarily on local scratch space, which typically consists of fast SSD drives.When running on high-performance computing clusters, this strategy minimizes network traffic, resulting in faster processing speeds and better scalability.For sessions with hundreds of bundles, however, this strategy results in as many intermediate reconstructions and merging could become a bottleneck.To speed up this process, a separate merge job is initiated as soon as the first partial reconstruction is available and subsequent reconstructions are merged on-the-fly as they become available.

Region-based constrained projection refinement

41Unlike fully constrained refinement where all particles in a given tilt image have the same parameters, in our region-based approach particles are split into groups based on their position in 3D space.This allows modeling of beam-induced motion by estimating unique projection parameters for each individual region.The index functions (i) ∶ {1 ⋅ ⋅ ⋅ P} and (i) ∶ {1 ⋅ ⋅ ⋅ G} indicate the particle and region identities associated to image I i , for a dataset with a total of P particles and G regions.The mapping g between particle alignments in three dimensions and those corresponding to the 2D projections, can be written as:

42where x i , y i , θ i , ϕ i , ψ i are the translations and orientations assigned to particle projection i, α i) , β i) , x i) , y i) are the tilt-axis angle, tilt angle and image translations associated to region (i) and θ i) , ϕ i) , ψ i) , x i) , y i) , z i) represents the rigid transformation assigned to particle (i).In region-based refinement, the overall projection matching objective function, D, is defined by accumulating cisTEM scores, d, calculated between images I i and reprojections of the model R, by optimizing over the geometric constraints α g , β g , x g , y g :

43where the second argument of the score function d represents a reprojection of the model in the orientation given by the tilt geometry of each region and the orientation of particles contained in that region.The overall sum is arranged into G groups (one per region), each having P g terms (one for each particle present in region g).For example, a tomogram can be divided into 4 × 4 × 2 regions (in x, y and z) resulting in a total of G = 32 regions.Only particles located within a region are used for refining the micrograph parameters for that region.The number of regions can be adjusted to account for local motion at different spatial scales.Using more regions will result in finer spatial resolution, but the higher number of unknowns could potentially lead to overfitting.The use of fewer regions will result in lower spatial resolution for the sample deformation model, but has less chance of overfitting due to the reduced number of free parameters.

44https://doi.org/10.1038/s41592-023-02045-0

Particle-based CTF refinement

45Similar to region-based refinement, particle-based CTF refinement also requires defining a mapping h:

46between the defocus and astigmatism parameters assigned to individual 2D projections (df1 i , df2 i , Astig i ) and the mean defocus and astigmatism parameters associated to the region (i): df1 i) , df2 i) , Astig i) .The projection matching objective function, D, is then maximized with respect to the CTF parameters of each region df1 i) , df2 i) , Astig i) :

47where the overall sum is arranged into groups (one per region), each having P g terms (one per particle located in region g).The maximization is performed using the Powell minimizer and the search is conducted within a user-specified tolerance for the defocus and astigmatism parameters.

Video frame refinement and self-tuning exposure weighting

48Frames for each particle projection are extracted from the raw videos of each tilt.Running averages for each frame are produced and used for alignment against the most current 3D reference.This process produces a set of noisy trajectories (one trajectory per tilted image, per particle), which we then regularize using spatial and temporal smoothness constraints to prevent overfitting 48 .To determine the weights of the exposure filter, score averages over all particles in each frame are calculated and used for exposure weighting using a modified version of cisTEM's reconstruct3d program 52 .Correlation scores assigned to individual frames obtained during processing of EMPIAR-10164 are shown in Fig. 3b.Corresponding 2D frequency weights were derived using the same formula used elsewhere 48 , with the total number of frames corresponding to the number of frames per tilt, times the number of tilts (8 × 41 = 328; Fig. 3c).For tilt series that do not contain enough particles to produce reliable weights, a mean exposure curve can be obtained from the entire dataset and used for weighting (Fig. 3d).The very low doses per frame used in tomography can result in overfitting, usually manifested as FSC curves having a sharp falloff at the maximum resolution used for refinement 57 .To prevent this, longer running frame averages can be used to increase SNR and stronger spatial regularization of trajectories can be imposed on the movement of neighboring particles.

49Particle cleaning based on scores and spatial proximity.One way to improve map resolution is to remove particles that do not contribute high-resolution information to the final reconstruction.These particles may correspond to damaged or false positives that were identified during particle picking, or to particles that cannot be properly aligned during refinement.To remove these from the downstream refinement, we calculated mean scores for each particle by averaging the scores from the tilted projections of each particle.A user-specified threshold was then used to remove particles that have scores lower than the cutoff.This produces cleaner particle sets and contributes to improving resolution.For large particles like ribosomes, a bimodal distribution of scores can be observed and in this case the threshold can be determined automatically as shown previously 58 .We also removed duplicate particles that were too close to their neighbors, using a user-specified minimum distance.

Constrained classification of particle projections

50Our strategy for heterogeneity analysis from 2D projections is based on the 3D single-particle classification algorithm implemented in cisTEM 52 , with several changes to accommodate our distributed processing workflow and the imposition of the tilt geometry constraints.The randomization algorithm used to generate the N discrete initial references was rewritten to account for the use of geometric constraints and to bundle images into groups representing unique sub-volumes.The local statistics of the refinement parameters (average and variance) resulting from our distributed workflow are different from the global statistics (obtained when considering all images in the dataset) and this can affect the classification results.To overcome this statistical bias, we always used the global refinement statistics when doing the distributed calculation of per-particle occupancies.The probabilities assigned during 3D reconstruction within each class also used the global refinement statistics.During the calculation of occupancies, Gaussian weights centered at the 0-degree tilt image with a s.d. of 6° were used to assign higher weights to the low tilt angle projections (the use of score-based weights in this case did not improve the classification results and instead led to overfitting due to the low-SNR conditions).All constrained classification runs were performed using the full range of tilts.The focused classification approach implemented in cisTEM can also be used within our constrained classification framework to determine structural flexibility restricted to a specific region or area of a complex.

Validation of constrained classification using SP datasets

51To validate our classification approach, we generated a test dataset by combining two single-particle datasets from HIV-1 Env samples with Fabs bound at different locations.Running averages of six video frames were considered as the equivalent of a tilt series with a similar dose but higher SNR because the images are not tilted.This synthetic mixture provides the necessary ground truth to test our classification algorithm.First, 3D classification was performed using video averages (without considering the frames) using standard single-particle classification routines implemented in cisTEM.The two classes were successfully separated after seven iterations.The misassignment errors in each class were 4.8% of particles for class 1 and 0.2% for class 2 (Extended Data Fig. 4a).Next, the dataset containing the same particle positions as before but now using the running frame averages for each particle was used for classification without imposing any constraints.The total number of projections in this case was ~60 times larger than the original dataset, which corresponded to the number of frames in the original micrographs.Even after 28 iterations, standard 3D classification as implemented in cisTEM failed to converge due to the lower SNR of the running frame averages.The percentages of misassigned particles for each class were 44.9% and 32.6%, respectively (Extended Data Fig. 4b).After applying the constraints to ensure that running frame averages belonging to the same particle were assigned to the same class, 3D classification was able to successfully separate the classes with only small assignment errors observed (3.0% and 3.8%, respectively; Extended Data Fig. 4c).The quality of the reconstructed maps was similar to the control results obtained by classifying the frame averages, demonstrating the effectiveness of our approach at classifying low-SNR particle projection sets.

Book-keeping, metadata management and code optimization

52The general philosophy behind nextPYP is to only keep copies of the raw data and the necessary metadata required to reproduce the final 3D reconstruction(s).This eliminates the need to store intermediate results (such as sub-volumes or particle stacks), which require considerable amounts of space and introduce I/O bottlenecks that slow down processing.This strategy results in a light-weight framework that can be scaled to analyze large datasets, while ensuring data reproducibility.Internally, metadata for tilt series is stored in binary pickle files and metadata generated during refinement is stored as extended .parfiles in compressed format using bzip2.To speed up processing, all routines for constrained refinement are implemented in C++ and built with the Intel compiler using MKL libraries.To avoid intermediate I/O steps and https://doi.org/10.1038/s41592-023-02045-0speed up the evaluation of particle scores, our C++ code was linked against cisTEM's refine3d function 52 .

Compute resources and running times

53nextPYP runs on Linux and uses containerization technology implemented in Apptainer (https://apptainer.org/) to ensure portability and reproducibility.Running the program in cluster mode requires access to a SLURM instance with a shared file system between the virtual machine running the web server and the compute nodes.Running times for pre-processing, high-resolution refinement and classification are reported in Supplementary Table 2 on a per-tilt series basis.If enough resources are available, all tilt series in a dataset can be run in parallel (bundle size of 1), making the total running time equal to the time per tilt series.If the bundle size is greater than 1, the running time will be the time per tilt series, times the bundle size.Running time during refinement (without considering reconstruction) is proportional to the number of tilts used for refinement.For fully constrained or region-based refinement, as well as 3D classification, memory consumption depends on the box size and the number of particles per tilt series.For video frame refinement, memory usage only depends on the box size.A minimum of 4 GB per vCPU is recommended for running most tasks.

Ease-of-use, multi-user environment and interoperability

54All results data processing were streamed in real time to the GUI and could be conveniently accessed from multiple locations using a web-browser (Extended Data Fig. 9).To account for different computer setups and data processing needs, nextPYP can operate in standalone mode or in cluster mode.In standalone mode, the web server and all processing jobs run locally on the same virtual machine, whereas in cluster mode, all processing jobs are submitted to an HPC cluster environment providing scale out capabilities.This mode is especially useful for supporting on-the-fly data pre-processing sessions acquired using BISECT where multiple tilt series are acquired in parallel 13 and to refine structures from datasets with thousands of tilt series.For training its deep-learning models for particle picking, nextPYP needs access to a GPU.All other operations are currently executed on CPU cores using multiple threads (GPU support will be expanded in the future).The program also allows importing user-defined sequences of processing blocks, called 'workflows' that can be used to automate routine data analysis tasks or run standardized benchmarks.Multiple users and groups are supported by providing project-specific access control and allowing users to share sessions or projects within a group or with other users.When system-wide data access restrictions are required: (1) Linux groups and permissions can be used to limit access to certain users, or (2) multiple instances of nextPYP can be executed (one for each user or group).In addition to the GUI, a command line interface is also provided that allows finer control of all data processing commands.To facilitate interoperability with other packages, nextPYP has functions to import and export metadata in the .starformat used by recent versions of cisTEM 52 , Relion 23 and M 37 .

Support for single-particle data processing

55nextPYP also supports online and offline processing of cryo-EM micrographs.For online processing, raw video frames can be transferred from the microscope and analyzed on-the-fly using a similar user interface as that used for tilt series.In addition to video frame alignment, CTF determination and particle picking (size-based and neural network-based approaches), nextPYP can also run 2D classification using wrappers around cisTEM 52 .Metadata resulting from online sessions can be exported in .starformat to external packages for further processing.Users can also apply filters and export subsets of micrographs according to user-defined criteria such as CTF-fit, maximum drift and number of particles.For offline processing, nextPYP supports reference-based 3D refinement and 3D classification jobs 52 , as well as reference-based video frame refinement and data-driven exposure weighting 48 .All single-particle operations use the same scalable and storage-efficient approach used for SP-CET, where particle and frame stacks are only saved temporarily in local scratch.A fully featured GUI provides interactive visualization of micrographs, CTF, maps and refinement statistics.Users can also pick particles interactively to train and apply semi-supervised neural network models 44 .Micrographs, videos and metadata can be imported/exported in .starformat to use with external packages.Shape masking and map post-processing operations are also supported.

Reporting summary

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

Fig. 1 |

57Fig. 1 | Comprehensive end-to-end pipeline for single-particle cryo-electron tomography.Sequence of steps required to convert raw tilt series into highresolution structures.a, High-throughput data collection using beam-image shift accelerated cryo-electron tomography produces raw tilt series in parallel.b, Pre-processing of tilt series is performed on-the-fly during data collection and includes the steps of frame and tilt-series alignment (fiducial-based and

Fig. 2 |

58Fig. 2 | Scalable architecture for in situ structure determination using SP-CET.Scalability to large datasets is achieved by avoiding the extraction and saving of sub-tomograms and large particle stacks.a, Schematic of traditional approach for STA where data storage and I/O can become serious bottlenecks.b, Schematic of scalable framework for SP-CET refinement that only requires storage of raw data and final reconstructions.Bundles of tilt series are processed in parallel tracks using multiple cores or servers.Particle projections are extracted and aligned on-the-fly using temporary scratch space and partial reconstructions from each track are merged into a final map.

Fig. 3 |

59Fig. 3 | Beam-induced motion and exposure weighting of tilt-series data.a, 0-tilt image from HIV-1 Gag tilt series (TS_03) showing movement trajectories for individual particles estimated using video frame alignment routines (similar trajectories were obtained for the remaining 42 tilt series from EMPIAR-10164).b, Average score distribution of individual particle frames for tilt images at 0°, 3°, −3°, 6°, −6° and 9° showing relative differences in image quality between

1 and 3 Fig. 4 |

60Fig. 4 | Resolution improvement and validation using in vitro samples of HIV-1 Gag and apoferritin.a, Resolution improvements obtained by nextPYP using 43 tilt series from EMPIAR-10164 after fully constrained refinement (4.2 Å), dose-weighted reconstruction (3.7 Å), region-based refinement (3.2 Å), particlebased CTF refinement (3.2 Å) and video frame refinement (3.0 Å).Corresponding Fourier shell correlation (FSC) curves calculated between half maps (0.143 cutoff criteria was used to determine resolution) (top).Alpha helical segment with model fit into map showing the progression in resolution with each step.b, Highresolution structure of apoferritin obtained using 31,890 particles extracted from 100 tilt series (EMPIAR-11273).FSC plots between half maps showing incremental improvements in resolution from each processing step (top).The 1.8 Å resolution reconstruction and selected high-resolution features with atomic model fit into the density (bottom).

Fig. 5 |

61Fig. 5 | Constrained classification of mammalian 80S ribosomes (EMPIAR-10064).a, Five classes of translating 80S ribosomes bound to different cofactors.Class 1 and 2 are in pre-translocational state with rotating 40S.L1 stalk is colored yellow, eEF2 is colored green.Class 3, 4 and 5 are in the posttranslocational state with non-rotating 40S.eEF1A is colored magenta, A/T-tRNA is colored red, P-site tRNA is colored blue and E-site tRNA is colored green.Section views show the different cofactors inside the inter-subunit cavities.b, Representative density for eEF2, tRNA and eEF1A with corresponding

Fig. 6 |

62Fig. 6 | Classification of 70S ribosomes from intact cells and 80S ribosomes from cryo-FIB lamellae.a, Three classes of 70S ribosomes with different translating states or L1 stalk conformations.Class 1 is in decoding state with EF-Tu binding tRNA adopting to A-site.Class 2 and 3 are in classic non-rotated state, showing A-site and P-site tRNAs, while L1 stalks are in different positions (class 2, L1 stalk is open; class 3, L1 stalk is intermediate close, highlighted in c).b, Superimposed maps for class 1 and 2 viewed from the bottom of the 30S subunit showing the small subunit rotation during tRNA loading.c, L1 stalk superimposed density for class 2 and 3 showing the open and half-closed states.d, Classes of 80S ribosomes from cryo-FIB lamellae.Classes 1, 2 and 3 are in nonrotated states, while class 1 and class 3 have binding P-site tRNA differentiated by close and open L1 stalk states and class 2 with no tRNA bound.Class 4 is in the decoding state with cofactor eEF1A and A/T-site tRNA, P-site tRNA bound.Class 5 is in the post-translational state with cofactor eEF2.e, Superimposed maps of 80S class 1 and 2 showing rotating subunits, with plates representing the 40S body central planes.

63Articlehttps://doi.org/10.1038/s41592-023-02045-0

Extended Data Fig. 1 |

64nextPYP graphical user interface (GUI) for on-the-fly monitoring of tilt series.nextPYP provides visualization tools to monitor data quality during data acquisition.Results are streamed in real-time to a webbased interface providing convenient access to various metrics of image and reconstruction quality.The GUI includes components to visualize overall dataset statistics (a), video frame alignment (b), per-tilt CTF estimation (c), virion segmentation (d), tilt series alignment (e), gallery view to discard individual tilt-images (f), and 3D particle picking (g) (virion and particle positions shown in the left panel were calculated for all 43 tilt series from EMPIAR-10164).Extended Data Fig. 2 | Comparison of final map resolution against other packages (EMPIAR-10164).a) Alpha helix segment with fitted atomic coordinates PDB ID 5l93 showing maps obtained from a subset of 5 tilt series using emClarity (3.3 Å, 15,791 particles), RELION (3.2 Å, 12,910 particles) and nextPYP (3.2 Å, 14,482 particles).Improved map features are highlighted in red.b) Corresponding FSC curves between half-maps showing estimated resolutions using the 0.143 cutoff criteria.c) Alpha helix segments with fitted atomic coordinates for maps obtained from the entire dataset (43 tilt series) using M (3.0 Å, 130,658 particles), RELION (3.0 Å, 144,275 particles), and nextPYP (3.0 Å, 109,496 particles).Improved map features and density continuity are highlighted in red.d) Corresponding FSC curves between half-maps.Extended Data Fig. 3 | Constrained classification of tilted particle projections.Strategy for 3D classification of single-particle cryo-electron tomography data.a) In conventional sub-tomogram classification, tomograms are first reconstructed and sub-volumes are extracted for subsequent 3D classification.Sub-volumes are sorted into 3 classes, corresponding to different conformational states (blue, yellow, and red).b) Classification from 2D projections requires extraction of 2D images from the raw tilt series data using the coordinates of particles in 3D.Classification without imposing the constraints of the tilt geometry incorrectly classifies the particles due to the low SNR of tomographic particle projections.c) Imposition of the constraints allows correct separation of multiple conformations.Extended Data Fig. 4 | Validation of constrained classification using a synthetic mixture of single-particle datasets.Micrographs from two datasets of HIV-1 Env bound to different antibodies were combined and subjected to 3D classification.a) Baseline classification using video frame averages.Particle ground-truth distribution is shown with a colored bar on the left (Class 1 blue, Class 2 red).Area plots on the right show the occupancy distribution as a function of the particle number for each class.Reconstructed maps for each class after 7 iterations are shown above the plots showing correct separation of the two conformations.b) Classification using video frames without imposing constraints after 28 iterations fails to separate the two states.c) Constrained classification using video frames correctly recovers the two conformations after 7 iterations.Extended Data Fig. 5 | Consensus map obtained from tilt series of in-cell 70S ribosomes (EMPIAR-10499).a) Overview of 3.9 Å resolution reconstruction obtained from 18,135 particles (without performing particle cleaning since this dataset was used to benchmark the constrained classification strategy).b) Alpha helical and RNA helical segments shown with model fit into map.c) FSC plot between half-maps (0.143 cutoff criteria).Extended Data Fig. 6 | Per-tilt frequency dependent weights for 80S ribosomes from cryo-FIB lamellae (EMPIAR-10987).a) Data-driven average similarity scores measured between the individual tilts of each particle and the 3D reference.b) Corresponding weights for individual tilts are shown as a function of frequency.Colors represent the relative contribution of each tilt from highest (dark red) to lowest (deep blue).Bands for each tilt are ordered in the sequence they were acquired (bottom=first, top=last).Extended Data Fig. 7 | Neural network-based particle picking of RuBisCO particles from tomograms of Chlamydomonas reinhardtii cells (EMPIAR-10694).a) Slice through tomogram showing cellular features and selected RuBisCo particles (inset).b) 3D reconstruction obtained from 35,352 particles with atomic model fit into map.c) FSC plot between half-maps showing a resolution of 12 Å (0.143 cutoff criteria).Extended Data Fig. 8 | Comparison between size-based and neural networkbased particle picking approaches.Particle picking results on tomograms of ribosomes from EMPIAR-10304 (in vitro) and EMPIAR-10499 (in situ).Ground-truth particle positions (left, cyan) were obtained by manual picking.Corresponding results of neural network-based picking (middle, red) and size-based picking (right, yellow) are shown.Similar results were obtained for each of the 12 tilt series from EMPIAR-10304 and the 65 tilt series from EMPIAR-10499.Additional accuracy statistics are presented in Supplementary Table 5. Scale bars for EMPIAR-10304 are 200 nm and for EMPIAR-10499 are 100 nm.Extended Data Fig. 9 | GUI components in nextPYP for high-resolution refinement and classification.a) The main application dashboard shows information about multiple projects.b) Each project consists of multiple data processing blocks and access to log files and processing history is shown on the right.c) Gallery view shows multiple tomogram slices to facilitate inspection of large datasets.d) The refinement view shows metrics for reconstruction quality including map slices and projections, FSC plots and orientation distribution of particles for each iteration.Navigation controls provide access to maps from different iterations and classes.e) Multiple reconstructions can be displayed interactively in 3D.

참고문헌 73건

  1. Resolution Measures in Molecular Electron Microscopy Methods in enzymology on CD-ROM/Methods in enzymology · Academic Press · 2010 10.1016/s0076-6879(10)82003-8
  2. Structure of β-galactosidase at 3.2-Å resolution obtained by cryo-electron microscopy Proceedings of the National Academy of Sciences · National Academy of Sciences · 2014 10.1073/pnas.1402809111
  3. Membrane protein structure determination using cryo-electron tomography and 3D image averaging Current Opinion in Structural Biology · Elsevier BV · 2009 10.1016/j.sbi.2009.06.005
  4. Markov random field based automatic image alignment for electron tomography Journal of Structural Biology · Elsevier BV · 2007 10.1016/j.jsb.2007.07.007
  5. The Human Nuclear Pore Complex as Revealed by Cryo-Electron Tomography Structure · Elsevier BV · 2012 10.1016/j.str.2012.03.025
  6. Dynamo: A flexible, user-friendly development tool for subtomogram averaging of cryo-EM data in high-performance computing environments Journal of Structural Biology · Elsevier BV · 2012 10.1016/j.jsb.2011.12.017
  7. Classification of cryo-electron sub-tomograms using constrained correlation Journal of Structural Biology · Elsevier BV · 2007 10.1016/j.jsb.2007.07.006
  8. Molecular architecture of native HIV-1 gp120 trimers Nature · Nature Portfolio · 2008 10.1038/nature07159
  9. An energy-based three-dimensional segmentation approach for the quantitative interpretation of electron tomograms IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2005 10.1109/tip.2005.852467
  10. Classification and 3D averaging with missing wedge correction in biological electron tomography Journal of Structural Biology · Elsevier BV · 2008 10.1016/j.jsb.2008.02.008
  11. Toward detecting and identifying macromolecules in a cellular context: Template matching applied to electron tomograms Proceedings of the National Academy of Sciences · National Academy of Sciences · 2000 10.1073/pnas.230282097
  12. Protein Secondary Structure Determination by Constrained Single-Particle Cryo-Electron Tomography Structure · Elsevier BV · 2012 10.1016/j.str.2012.10.016
  13. Measuring the optimal exposure for single particle cryo-EM using a 2.6 Å reconstruction of rotavirus VP6 eLife · eLife Sciences Publications Ltd · 2015 10.7554/elife.06980
  14. Fundamental Limits in Multi-Image Alignment IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsp.2016.2600517
  15. Scipion: A software framework toward integration, reproducibility and validation in 3D electron microscopy Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.04.010
  16. Subtomogram analysis using the Volta phase plate Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.05.009
  17. Frealign Methods in enzymology on CD-ROM/Methods in enzymology · Academic Press · 2016 10.1016/bs.mie.2016.04.013
  18. An atomic model of HIV-1 capsid-SP1 reveals structures regulating assembly and maturation Science · American Association for the Advancement of Science · 2016 10.1126/science.aaf9620
  19. Automated tilt series alignment and tomographic reconstruction in IMOD Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.07.011
  20. Focus: The interface between data collection and data processing in cryo-EM bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2017 10.1101/105452
  21. The structure of the COPI coat determined within the cell eLife · eLife Sciences Publications Ltd · 2017 10.7554/elife.32493
  22. The Eukaryotic CO2-Concentrating Organelle Is Liquid-like and Exhibits Dynamic Reorganization Cell · Cell Press · 2017 10.1016/j.cell.2017.08.008
  23. In Situ Structure of Neuronal C9orf72 Poly-GA Aggregates Reveals Proteasome Recruitment Cell · Cell Press · 2018 10.1016/j.cell.2017.12.030
  24. cisTEM, user-friendly software for single-particle image processing eLife · eLife Sciences Publications Ltd · 2018 10.7554/elife.35383
  25. Atomic Resolution Cryo-EM Structure of β-Galactosidase Structure · Elsevier BV · 2018 10.1016/j.str.2018.04.004
  26. emClarity: software for high-resolution cryo-electron tomography and subtomogram averaging Nature Methods · Nature Portfolio · 2018 10.1038/s41592-018-0167-z
  27. New tools for automated high-resolution cryo-EM structure determination in RELION-3 eLife · eLife Sciences Publications Ltd · 2018 10.7554/elife.42166
  28. A complete data processing workflow for cryo-ET and subtomogram averaging Nature Methods · Nature Portfolio · 2019 10.1038/s41592-019-0591-8
  29. Focus: The interface between data collection and data processing in cryo-EM Journal of Structural Biology · Elsevier BV · 2017 10.1016/j.jsb.2017.03.007
  30. SPHIRE-crYOLO is a fast and accurate fully automated particle picker for cryo-EM Communications Biology · Nature Portfolio · 2019 10.1038/s42003-019-0437-z
  31. CTFFIND4: Fast and accurate defocus estimation from electron micrographs Journal of Structural Biology · Elsevier BV · 2015 10.1016/j.jsb.2015.08.008
  32. Real-time cryo-electron microscopy data preprocessing with Warp Nature Methods · Nature Portfolio · 2019 10.1038/s41592-019-0580-y
  33. A complete data processing workflow for cryo-ET and subtomogram averaging Nature Methods · Nature Portfolio · 2019 10.1038/s41592-019-0591-8
  34. Unsupervised particle sorting for high-resolution single-particle cryo-EM Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab5ec8
  35. A streamlined workflow for automated cryo focused ion beam milling bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.02.24.963033
  36. Automated cryo-lamella preparation for high-throughput in-situ structural biology Journal of Structural Biology · Elsevier BV · 2020 10.1016/j.jsb.2020.107488
  37. Fully automated, sequential focused ion beam milling for cryo-electron tomography eLife · eLife Sciences Publications Ltd · 2020 10.7554/elife.52286
  38. Live Analysis and Reconstruction of Single-Particle Cryo-Electron Microscopy Data with CryoFLARE Journal of Chemical Information and Modeling · American Chemical Society · 2020 10.1021/acs.jcim.9b01102
  39. Deep Learning Improves Macromolecule Identification in 3D Cellular Cryo-Electron Tomograms bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.04.15.042747
  40. TranSPHIRE: Automated and feedback-optimized on-the-fly processing for cryo-EM bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.06.16.155275
  41. Beam image-shift accelerated data acquisition for near-atomic resolution single-particle cryo-electron tomography bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.09.24.294983
  42. TranSPHIRE: automated and feedback-optimized on-the-fly processing for cryo-EM Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-19513-2
  43. Unsupervised particle sorting for high-resolution single-particle cryo-EM Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab5ec8
  44. Multi-particle cryo-EM refinement with M visualizes ribosome-antibiotic complex at 3.5 Å in cells Nature Methods · Nature Portfolio · 2021 10.1038/s41592-020-01054-7
  45. Beam image-shift accelerated data acquisition for near-atomic resolution single-particle cryo-electron tomography Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-22251-8
  46. CryoET structures of immature HIV Gag reveal six-helix bundle Communications Biology · Nature Portfolio · 2021 10.1038/s42003-021-01999-1
  47. A streamlined workflow for automated cryo focused ion beam milling Journal of Structural Biology · Elsevier BV · 2021 10.1016/j.jsb.2021.107743
  48. A flexible framework for multi-particle refinement in cryo-electron tomography PLoS Biology · Public Library of Science · 2021 10.1371/journal.pbio.3001319
  49. Studying bacterial chemosensory array with CryoEM Biochemical Society Transactions · Portland Press · 2021 101042bst20210080
  50. Deep Learning Improves Macromolecule Identification in 3D Cellular Cryo-Electron Tomograms bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2020 10.1101/2020.04.15.042747
  51. A modular platform for automated cryo-FIB workflows eLife · eLife Sciences Publications Ltd · 2021 10.7554/elife.70506
  52. A modular platform for automated cryo-FIB workflows eLife · eLife Sciences Publications Ltd · 2021 10.7554/elife.70506
  53. 8 Å structure of the outer rings of the Xenopus laevis nuclear pore complex obtained by cryo-EM and AI Protein & Cell · Springer Science+Business Media · 2022 10.1007/s13238-021-00895-y
  54. Cryo-ET of Env on intact HIV virions reveals structural variation and positioning on the Gag lattice Cell · Cell Press · 2022 10.1016/j.cell.2022.01.013
  55. Weakly Supervised Learning for Joint Image Denoising and Protein Localization in Cryo-Electron Microscopy 2022 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV) · 2022 10.1109/wacv51458.2022.00332
  56. AreTomo: An integrated software package for automated marker-free, motion-corrected cryo-electron tomographic alignment and reconstruction bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2022 10.1101/2022.02.15.480593
  57. Studying bacterial chemosensory array with CryoEM Biochemical Society Transactions · Portland Press · 2021 10.1042/bst20210080
  58. A Bayesian approach to single-particle electron cryo-tomography in RELION-4.0 bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2022 10.1101/2022.02.28.482229
  59. Multishot Tomography for High-Resolution In Situ Subtomogram Averaging bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2022 10.1101/2022.04.10.487763
  60. Convolutional networks for supervised mining of molecular patterns within cellular context bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2022 10.1101/2022.04.12.488077
  61. AreTomo: An integrated software package for automated marker-free, motion-corrected cryo-electron tomographic alignment and reconstruction Journal of Structural Biology X · Elsevier BV · 2022 10.1016/j.yjsbx.2022.100068
  62. Fully Automated Multi-Grid Cryo-EM Screening using Smart Leginon bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2022 10.1101/2022.07.23.501225
  63. Automated systematic evaluation of cryo-EM specimens with SmartScope eLife · eLife Sciences Publications Ltd · 2022 10.7554/elife.80047
  64. Multishot tomography for high-resolution in situ subtomogram averaging Journal of Structural Biology · Elsevier BV · 2022 10.1016/j.jsb.2022.107911
  65. Cryo-EM structures of prefusion SIV envelope trimer Nature Structural & Molecular Biology · Nature Portfolio · 2022 10.1038/s41594-022-00852-1
  66. Parallel cryo electron tomography on in situ lamellae Nature Methods · Nature Portfolio · 2022 10.1038/s41592-022-01690-1
  67. A Bayesian approach to single-particle electron cryo-tomography in RELION-4.0 eLife · eLife Sciences Publications Ltd · 2022 10.7554/elife.83724
  68. Learning to automate cryo-electron microscopy data collection with <i>Ptolemy</i> IUCrJ · International Union of Crystallography · 2022 10.1107/s2052252522010612
  69. Fully automated multi-grid cryoEM screening using <i>Smart Leginon</i> IUCrJ · International Union of Crystallography · 2022 10.1107/s2052252522010624
  70. Accurate Detection of Proteins in Cryo-Electron Tomograms from Sparse Labels Lecture notes in computer science · Springer Science+Business Media · 2022 10.1007/978-3-031-19803-8_38
  71. Streamlined Structure Determination by Cryo-Electron Tomography and Subtomogram Averaging using TomoBEAR bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2023 10.1101/2023.01.10.523437
  72. Convolutional networks for supervised mining of molecular patterns within cellular context Nature Methods · Nature Portfolio · 2023 10.1038/s41592-022-01746-2
  73. Deep Learning Improves Macromolecule Identification in 3D Cellular Cryo-Electron Tomograms 2021 10.1038/s41592-021-01275-4