Fast principal component analysis for cryo-electron microscopy images
수소연료전지 · (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.1017/s2633903x23000028
- 저널
- Biological Imaging
- 발행년도
- 2023
- 발행기관
- Cambridge University Press
- 피인용수
- 5
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1017/s2633903x23000028
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4319158577
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (6) PEM(고분자전해질막)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 52,557자
본문 펼치기
섹션 본문 66문단 · 31,989자
(제목 없음)
1Principal component analysis (PCA) plays an important role in the analysis of cryo-electron microscopy (cryo-EM) images for various tasks such as classification, denoising, compression, and ab initio modeling. We introduce a fast method for estimating a compressed representation of the 2-D covariance matrix of noisy cryo-EM projection images affected by radial point spread functions that enables fast PCA computation. Our method is based on a new algorithm for expanding images in the Fourier-Bessel basis (the harmonics on the disk), which provides a convenient way to handle the effect of the contrast transfer functions. For N images of size L Â L, our method has time complexity O NL 3 þ L 4 À Á and space complexity O NL 2 þ L 3 À Á . In contrast to previous work, these complexities are independent of the number of different contrast transfer functions of the images. We demonstrate our approach on synthetic and experimental data and show acceleration by factors of up to two orders of magnitude.Impact StatementSinge particle reconstruction in cryo-electron microscopy (cryo-EM) is an increasingly popular technique for near-atomic imaging of biological macromolecules. Both technological and computational advances have driven the progress of the techniques, yet many computational obstacles still remain. We introduce a fast method to estimate the covariance matrix of noisy cryo-EM images, which is a central component of many computational cryo-EM techniques. As an application, we use the covariance matrix for image denoising and deconvolution of the microscope's contrast transfer function. Our method provides orders of magnitude speedup compared to previous approaches, which opens the door to tackling more challenging datasets.
Introduction
2We study the problem of computing a compressed representation of the covariance matrix of 2-D cryoelectron microscopy (cryo-EM) images for the purpose of performing principal component analysis (PCA). More precisely, we consider an image formation model where the measurement g i is defined by
3where h i is a radial function, * denotes convolution, f i is a ground-truth image, ε i is the noise term, and N the total number of images. We emphasize that we assume h i is radial, see Assumption A1.
4We are motivated by single particle cryo-EM imaging, which is an important technique for determining the 3-D structure of macromolecules. In particular, the single particle reconstruction (SPR) problem asks to recover the 3-D structure of a macromolecule from noisy 2-D images of its tomographic projections along unknown viewing angles. In cryo-EM, the mathematical model is a special case of (1) and is of the form
5where x ¼ x 0 ,x 3 ð Þ∈ ℝ 2 Â ℝ ffi ℝ 3 are 3-D spatial coordinates with x 3 representing the projection direction, h i is the point spread function, φ i : ℝ 3 ! ℝ is the electrostatic potential of a molecule, R i ∈ SO 3 ð Þ is a 3-D rotation, and ε i the noise term. In computational microscopy, it is typical to work with the Fourier transform of the point spread function, which is known as the contrast transfer function (CTF). In the simplest case, each measurement could correspond to a single fixed molecule potential function φ i ¼ φ; however, in general, we may assume that each φ i could be a random variable representing a mixture of molecules, conformational heterogeneity, cases where the images are not perfectly centered, or other measurement imperfections (1,2) .
6In general, each measurement g i can be associated with a different point spread function; however, in practice, a group of measurements, called a defocus group, can share a common point spread function. We assume that the measurements are grouped into M ≤ N defocus groups. Given g i and h i for i ¼ 1,…,N, our goal is to estimate the 2-D covariance function c : ℝ 2 Â ℝ 2 ! ℝ of the images
7where f is a random variable from the same distribution as the images f i , and f x 0 ð Þ¼ E f x 0 ð Þ ½ . We assume that the distribution of the images is invariant to in-plane rotations (which is typically the case in cryo-EM).
8In cryo-EM, the random variable f is of the form f x 0 ð Þ¼ R ℝ Φ R À1 x À Á dx 3 , where the random variable R is an unknown viewing angle, and the random variable Φ is a molecule potential. There is generally no physical reason for a molecule to prefer one in-plane rotation to another so distributions of random variables of this form are generally invariant to in-plane rotations. In the field of cryo-EM processing, the covariance function c is simply referred to as the 2-D covariance.
Motivation
9The 2D-covariance is an essential component of a number of computational techniques in cryo-EM; we survey a few of these below.
10First, we are motivated by PCA, which is a ubiquitous technique in statistics, data science, and computational mathematics and has applications to dimensionality reduction, denoising, visualization, among others. The principal components (i.e., the top eigenvectors of the digitized covariance matrix) have a number of uses in the computational cryo-EM pipeline. The subspace corresponding to the top eigenvectors of the covariance matrix identifies salient features of the dataset which enables, for instance, improved methods for image classification and visualization, such as Multivariate Statistical Analysis (3)(4)(5)(6) . These techniques improve computational speed, since clustering becomes computationally easier in a space of reduced dimension, as well as accuracy, since dimensionality reduction by PCA amplifies the effective signal-to-noise ratio (SNR) because many coordinates for which noise dominates the signal are eliminated (7) .
11Second, the covariance matrix has applications in the method of moments, a classical statistical inference method, applied to cryo-EM (8) . In this method, the 2-D covariance is used to compute the similarly defined autocorrelation function of the underlying 3-D structure. Under further assumptions such as sufficient nonuniformity of the distribution of the viewing angles (9) or sufficient sparsity of the molecular structure (10) , this autocorrelation function determines the 3-D density map either up to a finite list of possible structures or uniquely, respectively. This has been further developed into principled methods for ab initio estimation of cryo-EM structures (9,10) , with reduced risk of user-induced model bias in the initial model. Alternatively, when additional information is available, for instance, one (11) or two (12) noiseless projection images, or the 3-D structure of a related, homologous structure (13,14) , the 3-D density map is uniquely determined by the autocorrelation, without requiring any structural assumptions.
12Third, the covariance matrix has applications in denoising and CTF-correcting projection images. Covariance Wiener Filtering (CWF) (15) is an approach that uses the classic Wiener filtering framework with the estimated covariance matrix to solve the image deconvolution and denoising problem. The technique represents images in a lower dimensional subspace that is formed from PCA using the estimated covariance matrix. The method then applies Wiener filtering to correct the CTFs and denoise the images in this reduced subspace.
13Compared to the standard PCA problem, the cryo-EM setting exhibits further computational challenges, since the estimation method also has to account for convolution with the point spread function, which destroys information of the resulting convolved function; see Section Section 2.2 for a more precise statement. On the other hand, the problem has additional symmetries making fast algorithms possible. In this paper, we present a new fast algorithm for estimating the covariance matrix that improves upon past approaches (especially when there are a large number of defocus groups) in terms of time and space complexity.
Main contribution
14The main contribution of this paper is a new computational method for estimating the covariance Equation (3) from N measurements of the form Equation (1) encoded by L Â L digitized images. The presented fast method has time complexity O NL 3 þ L 4 À Á independent of the number M ≤ N of defocus groups. This is in contrast to past methods, where this complexity scales poorly with M and involves O MTL 4 þ NL 3 À Á operations (15) , where T is the number of iterations needed in a Conjugate Gradient step. Many modern cryo-EM experimental datasets fall into the computationally challenging regime where M scales with N .
15Our fast method hinges on a new fast and accurate method for expanding L Â L images into the Fourier-Bessel basis, which provides a convenient way to handle convolution of radial functions (such as point spread functions) with images: namely, convolution with radial functions can be expanded as a diagonal operator operating on the basis coefficients (16) .
16The Fourier-Bessel basis functions are harmonics on the disk: the standing waves associated with the resonant frequencies of a disk-shaped drum with a fixed boundary. More precisely, the harmonics on the disk are eigenfunctions of the Laplacian on the unit disk that satisfy Dirichlet boundary conditions. In computational mathematics, this basis is referred to as the Fourier-Bessel basis, since the basis functions can be expressed as a product of a Bessel function and a complex exponential; see Equation (6) for a definition.
17Because of this simple structure, the covariance matrix of clean images can be estimated by a simple closed-form solution, without using the (computationally expensive) conjugate gradient method from previous approaches. Simultaneously, the covariance matrix retains its block diagonal structure, meaning that its diagonal blocks can be estimated separately and independently, which altogether makes PCA fast.
18We present numerical results of covariance estimation on synthetic and experimental data. Additionally, we show how the estimated covariance matrix can be used to denoise images using CWF, and perform PCA to visualize eigenimages from experimental data. Code implementing the method is publicly available online. 1 Moreover, our approach has the potential to generalize to settings beyond cryo-EM, where PCA is used for signals estimated under more general group actions (17) .
19The remainder of the article is organized as follows. In Section 2, we describe the computational method. In Section 3, we present numerical results for synthetic data. In Section 4 we present numerical results for experimental data. In Section 5, we discuss the results and possible extensions.
Notation
20For two M Â N -matrices A and B , we denote their Hadamard (or entrywise) product by A ⊙ B, the Hadamard division of A and B by A ⊘ B and the ℓth Hadamard power of A by A ⊙ ℓ . These operations are defined elementwise by
21respectively. If w is an N -dimensional vector, then diag w ð Þ denotes the N Â N matrix with w along its diagonal, that is, diag w ð Þ jj ¼ w j , and zeros elsewhere.
22to mean that f can be expressed as a function only of the magnitude |x| of x. For an integrable function f :
Technical details
23We make the following assumptions A1. We assume that the point spread functions h i in the model Equation (1) are radial functions; this implies that their Fourier transform (the CTFs) are also radial. In systems where astigmatism is present and the point spread function deviates slightly from a radial function, our approach can be used as an initial approximation that could be refined using the Conjugate Gradient method. A2. We assume that the underlying images f i in the model Equation (1) are i.i.d. random variables whose distribution is invariant to in-plane rotations. A3. We assume a technical condition on the Fourier transform of the point spread functions h i in the model Equation (1). Namely, that the Fourier transforms b h i of the h i satisfy
24where δ > 0is fixed and λ min ,λ max ½ is the interval of Fourier space used in the disk harmonic expansion, see Ref. (16,Section 2.4).
25Informally speaking, Assumption A3 can be interpreted as saying that for any pair of frequencies ξ and η there is a point spread function Figure 1 shows the values of
26for each pair of radial frequency ξ,η in log scale, for 1081 distinct CTF images of size L ¼ 360, whose defocus values range from 0.81 to 3.87 m, for an experimental dataset; see Section 4 for more details. This assumption is much weaker than assuming that for all i that | b h i | does not vanish at any frequency. In the latter case, we could just use h i to invert each equation to get access to the underlying functions f i . If we had direct access to the underlying functions f i , then we could approximate the covariance function c by the sample covariance
27Þby the law of large numbers. To clarify why it is useful for b h i not to vanish, note that in the Fourier domain our measurement model can be expressed as
28Since taking the Fourier transform changes convolution to point-wise multiplication, if each Fourier transform | b h i | ≥ δ for some δ > 0, then we could estimate c by first estimating b f i from b g i for i ¼ 1,…,N , and then using the sample covariance matrix. However, in practice, the CTF b h i is approximately a radial function with many zero-crossings, which means that multiplication by b h i destroys information in the corresponding frequencies, making the restoration from a single image ill-posed.
Fourier-Bessel
29The main ingredient in our fast covariance estimation is a fast transform into a convenient and computationally advantageous basis, known as the Fourier-Bessel basis (which consists of the harmonics on the disk: eigenfunctions of the Laplacian on the disk that obey Dirichlet boundary conditions). This specific choice of basis has a number of beneficial properties:
30(i) it is orthonormal, (ii) it is ordered by frequency, (iii) it is steerable, that is, images can be rotated by applying a diagonal transform to the basis coefficients, (iv) it is easy to convolve with radial functions, that is, images can be convolved with radial functions by applying a diagonal transform to the basis coefficients.
31These properties have made the Fourier-Bessel basis a natural choice in a number of imaging applications (7,15,(20)(21)(22) and will be central to the development of our fast covariance estimation method. In polar coordinates r,θ ð Þin the unit disk r, θ ð Þ: r ∈ 0,1 ½ Þ,θ ∈ 0,2π ½ Þ f g , the Fourier-Bessel basis functions are defined by
32for each pair of radial frequencies |ξ|,|η| for the experimental dataset EMPIAR-10028 (18) obtained from the Electron Microscopy Public Image Archive (19) . All values are greater than À1 in the log scale.
33where γ nk is a normalization constant, J n is the n-th order Bessel function of the first kind (see Ref. 23, Section 10.2), and λ nk is its kth smallest positive root; the indices n, k ð Þ run over ℤ Â ℤ >0 . Recent work (16) has devised a new fast algorithm to expand L Â L-images into $ L 2 Fourier-Bessel basis functions. Informally speaking, given $ L 2 basis coefficients, the algorithm can evaluate the function on an L Â L grid in O L 2 log L À Á operations; the adjoint can be computed in the same number of operations, which makes iterative methods fast. Compared to previous expansion methods (7,22) , it enjoys both theoretically guaranteed accuracy and lower time complexity.
Key property of Fourier-Bessel basis
34A key property of the Fourier-Bessel basis is that convolution with radial functions is diagonal transformations in any truncated basis expansion. More precisely, the following result holds (Ref. 16,
35ð Þ∈ I α nk ψ nk for some index set I , and h ¼ h jxj ð Þ is a radial function. Then,
36where P ℐ denotes orthogonal projection onto the span of ψ nk f g n,k ð Þ∈ I , b h is the Fourier transform of h, and λ nk is the kth positive root of J n .
37We emphasize that the weights of the diagonal transform in Equation (7) are not the coefficients of h in the disk harmonic expansion. Indeed, since his radial, it follows from Equation (6)
38for some index set J . As an alternative to the disk harmonic basis expansion, one can consider simply taking the Fourier transform of (1), which also leads to a diagonal representation of the convolution operator. However, the discrete Fourier transform does not have the steerability property, which is essential for the covariance estimation. Another attempt could be to use the polar Fourier transform. However, this representation is not invariant to arbitrary in-plane rotations, but only to finitely many rotations as determined by the discretization spacing of the grid. These expansions are therefore unsuitable for the goal of this article and we instead use expansions into the Fourier-Bessel basis, although other steerable bases could be considered (24,25) . Table 1 summarizes the considerations that make the Fourier-Bessel basis a natural choice of basis.
Block diagonal structure
39The steerable property of the Fourier-Bessel basis implies that the 2D-covariance will be block diagonal in this basis. A full representation of an L 2 Â L 2 matrix requires O L 4 À Á elements, but this is reduced to O L 3 À Á nonzero entries by the block diagonal structure. This block diagonal structure follows from the (24,25) ✓ ✓ ✗ ✗ Fourier-Bessel (16)
40The basis expansion from Cartesian grid representation can be completed within O L 2 À Á operations up to log factors. b The new expansion algorithm (16) improves the previous computational method (7) in terms of accuracy guarantees, computational complexity, and the fact that it derives weights such that radial convolution is a diagonal operation.
e2-6
41Nicholas F. Marshall et al.
42form of the basis functions and that the distribution of in-plane rotations is assumed to be uniform. Indeed, suppose that f ¼ P n,k ð Þ∈ I α nk ψ nk : For simplicity assume that f has mean zero; subtracting the mean will only change the radial components, since the other components corresponding to nonvanishing angular frequencies have zero mean by merely averaging over all possible in-plane rotations. By Assumption A2, the covariance function in polar coordinates satisfies
43for all φ in 0, 2π ½ . The covariance function in Equation (3) can be expanded in a double Fourier-Bessel basis expansion as
44where C nk,n 0 k 0 ð Þ is the covariance matrix in the Fourier-Bessel basis. Combining Equations (8) and (9) and integrating φ over 0, 2π ½ gives
45where δ n¼n 0 is a Dirac function that is equal to 1 if n ¼ n 0 and zero otherwise, and we note that the second to last equality uses the fact that ψ nk r,θ ð Þ¼γ nk J n λ nk r ð Þe inθ . Since the coefficients C nk,n 0 k 0 ð Þ in the expansion Equation (9) are unique, it follows from Equation (10) that C nk,n 0 k 0 ð Þ ¼ 0 when n À 6 ¼ n 0 . Hence, the covariance matrix C nk,n 0 k 0 ð Þ has a block diagonal structure whose blocks consist of the indices nk,nk 0 ð Þ for a given value of n. In the following section, we show how these properties enable a fast method to estimate the covariance matrix.
Covariance estimation
46In the Fourier-Bessel basis, Equation (1) is written as
47where G i , F i , and E i are coefficient vectors of g i ,f i , ε i in the Fourier-Bessel basis, respectively and H i is the vector encoding the convolution operator of Section 2.4, that is, with components b
48À Á is the number of basis coefficients. We use this simple structure to obtain a closed-form expression for the sample covariance matrix of the F i . We estimate this matrix by minimizing the discrepancy between the sample covariance and the population covariance; more precisely, the estimated covariance matrixC is computed by solving the least squares-problem
49whereμ is defined byμ
50whose solution isμ
51The least squares-solution of Equation (12) can be determined by the following system of linear equations
52where
53It follows thatC
54As discussed in Section 2.5, the covariance matrix is block diagonal in the Fourier-Bessel basis. More precisely, the only nonzero elementsC nk,n 0 k 0 ð Þof the matrixC are those with n ¼ n 0 . Therefore, the matrices in Equations (16) and (17) need only be calculated for this subset of indices. Since there is a total of O L 3 À Á of these indices, this reduces the computational complexity compared to computing with the full matrices.
55Note that the covariance matrix estimated from (Equation 17) may not be positive semidefinite due to subtraction of the term σ 2 diag H ⊙ 2 i À Á . Therefore, when running the method in practice it is beneficial to use an eigenvalue shrinkage method. The computational cost of eigenvalue shrinkage for a matrix with our block structure is O L 4 À Á (15,26) . For completeness, we include this computational cost of eigenvalue shrinkage in our overall computational complexity. Informally speaking, the idea of eigenvalue shrinkage is to replace the term
56, and then shrink and truncate the eigenvalues in a systematic way before Hadamard division (26) . The steps of the algorithm are summarized in Algorithm 1.
Algorithm 1 Fast covariance estimation method.
57Input: Observed images g i , radial functions h i , i ¼ 1,…, N . Output: Estimated covariance matrixC in the domain of the Fourier-Bessel basis 1. Expand observed images g i into the Fourier-Bessel basis, with resulting coefficient vector G i 2. Compute the vectors H i with components b h i λ nk ð Þ, representing the action of the CTFs in the Fourier-Bessel basis 3. Compute sample meanμ from Equation (14) 4. Use Equation (16) to compute the elements B i nk, nk 0 ð Þfor all n,k, k 0 5. Use Equation (17) to compute the elements of the sample covariance matrixC nk, nk 0 ð Þfor all n,k, k 0 , refined using eigenvalue shrinkage . We now show how this can be used in an application to image denoising. Given an estimate of the covariance matrixC, the CWF approach estimates the F i by a linear Wiener filter (15) ,
Synthetic Data Results
58We compare the timings of our fast method to previous approaches (15) , for synthetic images generated from the 3-D volume of SARS-CoV-2 (Omicron) spike complexes (27) (EMD-32743), from the online EM data bank (28) . The original volume has size 512 in each dimension, with pixel size 0.832 Å. We downsample the original volume to size L Â L Â L, with L ¼ 32,128 and 512, respectively, and show the computational times. To generate the synthetic noisy images, we first generate 10,000 clean projection images of the 3-D volume from random and uniformly distributed viewing directions. We next divide the set of clean images into a number of defocus groups, where the defocus values range from 1 μm to 4 μm. For all CTFs, we set the voltage as 300 kV and the spherical aberration as 2 mm. After convolving the images with their CTFs, we add colored noise with power spectral density 1= rL=20 þ 1 ð Þup to a constant scale, where r ∈ 0, 1 ½ is the radial frequency. For both the previous method and ours, the CTFs and the noisy images are whitened before estimating the covariance. A few sample clean and noisy images are shown in Figure 5. All experiments were carried out on a machine with 750 GB memory and 72 Intel Xeon E7-8880 v3 CPUs running at 2.30GHz. We note that our implementation heavily relies on packages such as FINUFFT (29,30) , NumPy (31) , and SciPy (32) , which are not fully optimized for parallel computing. The implementation of our fast method and the code of CWF (15) both effectively use only around 20 cores at runtime. Due to the complexity of modern computational architectures, performing a fair comparison can be challenging, but we have made every effort to do so. Both our code and the CWF code (15) take input images in a tensor format, and used vectorized operations whenever possible to avoid for-loops. The primary factor determining performance is not the specific implementation of the code, but rather the underlying computational complexities. Improving the parallelization is a technical direction for future work. Figure 2 shows the time required to estimate the covariance matrices as a function of the number of defocus groups. Note that the runtime for the previous approach for the largest image and defocus group sizes is infeasibly large and that our fast method exhibits a speedup of up to three orders of magnitude. Figure 3 shows the top six principal components estimated by our method and by traditional PCA using 10 4 raw images, where L ¼ 128, SNR ¼ 0:1 and M ¼ 100 defocus groups, compared to traditional PCA on 10 6 images. We use the sample covariance matrix of phase-flipped images in real space for the traditional PCA. For all methods, we use λ to denote 100 times the eigenvalues of the eigenimages. The eigenimages from the traditional PCA look much noisier than ours, and contain artifacts that are due to imperfect CTF correction (see, e.g., the circular artifacts in top three eigenimages in Figure 3). The eigenimages from the traditional PCA also fail to preserve the symmetries (see, e.g., 6th eigenimage in Figure 3) that are present in our eigenimages, since they do not utilize the steerable basis and rotationaugmented images. Figure 4 shows the quality of covariance estimation and image denoising when L ¼ 128 and using M ¼ 100defocus groups. The quality of the covariance estimation is measured by the relative error in each angular frequency, which is defined as
59where C n andC n are respectively the nth diagonal blocks of the clean and estimated covariance matrix, corresponding to all indices of the form nk, nk 0 ð Þ. The clean covariance matrix was approximated by the sample covariance matrix of 10 6 clean projection images. The performance of image denoising is measured by the Fourier ring correlation (FRC) between the clean and denoised images. Namely, for the ith pair of clean and denoised images I c i and I d i , we first compute their Fourier coefficient vectors f c i,r , f d i,r at radial frequency r by the nonuniform FFT (33)(34)(35) , where 1 ≤ i ≤ N and 0 ≤ r ≤ r max . We then compute their averaged correlation for each r:
60where 〈Á,Á〉denotes the inner product between two complex vectors. The FRC is a real-valued quantity due to a symmetry property that arises since the images I c i ,I d i are real-valued.
61In addition to the speedups of Figure 2, the left panel of Figure 4 demonstrates a slight increase in the estimation quality of our proposed algorithm, compared to the previous approach. This is possibly caused by improved accuracy in the Fourier-Bessel basis approximation as well as improved accuracy by using the closed-form expression Equation (17) compared to the approximate conjugate gradient step of previous approaches. Similarly, on the right panel, the Fourier ring correlation between the denoised and clean images shows a slight performance increase. Figure 5 shows sample denoised images for different values of the SNR where L ¼ 128 and M ¼ 100. As a comparison, we show images denoised using the approach of this paper and the CWF method (15) .
Experimental Data Results
62We conclude by using our method on two experimental datasets obtained from the Electron Microscopy Public Image Archive (19) , namely EMPIAR-10028 (18) and EMPIAR-10081 (36) . EMPIAR-10028 is a dataset of the Plasmodium falciparum 80S ribosome bound to the antiprotozoan drug emetine whose 3-D reconstruction is available in the EM data bank as EMD-2660 (18) . The dataset contains 105247 motion corrected and picked particle images, from 1081 defocus groups, of size 360 Â 360 with 1.34 Å pixel size. EMPIAR-10081 is a dataset of the human HCN1 hyperpolarization-activated cyclic nucleotide-gated ion channel, whose 3-D reconstruction can be found in the EM data bank as EMD-8511 (36) . The dataset contains 55,870 motion corrected and picked particle images, from 53,384 defocus groups, of size 256 Â 256 with 1.3 Å pixel size. Computational times are shown in Table 2, showing a speedup of more than two orders of magnitude for the datasets with the largest number of distinct CTFs. Note that regular CWF on EMPIAR-10081 encounters memory issues and cannot be run to completion, whereas our fast method runs seamlessly. The old CWF has much higher space complexity O ML 3 À Á for covariance estimation than that of our method O L 3 À Á . The reason is that the old CWF represents CTFs using block diagonal matrices (each takes O L 3 À Á memory). Moreover, the old CWF loads all these block diagonal CTFs at once in memory so as to define the linear operator for the conjugate gradient method. Our method circumvents the need to store all CTFs at once due to our closed-form solution, and therefore we can read CTFs in batches. Moreover, each CTF has diagonal representation in our method, which means much lower space complexity O L 2 À Á . The O L 3 À Á space complexity for our method is only for storing a single covariance matrix.
63For EMPIAR-10081, storing the CTFs for the old method takes approximately 50,000 Â 256 3 =6 À Á Â 8=10 9 ≈ 1118 GB which is above the 750 GB memory limit of our machine. For the new method, storing the covariance matrix takes 256 3 =6 À Á Â 8=10 9 ≈ 0:02 GB and storing the CTFs takes 1000 Â 256 2 Â 8=10 9 ≈ 0:52 GB (with batch size 1000) that can be even handled by a common laptop.
64In order to obtain a comparison, we therefore additionally downsample these images to L ¼ 128 where the original CWF can successfully run. On EMPIAR-10028, we used all images for covariance estimation, and denoised the 2014 images from 0 th, 50 th, 100 th, …, 1000 th defocus groups. On EMPIAR-10081, we used all images for covariance estimation, and denoised the 502 images from 0th, 100th, 200th, …, 50, 000th defocus groups. For both old and new methods, the covariance matrices are further refined to correct image contrast variations (21) . Sample visualization results are shown in Figures 6 and 7. The old CWF method cannot handle the full resolution recovery for EMPIAR-10081 (with about Note. For EMPIAR-10081, when L ¼ 256, the old CWF method (15) encounters memory issues and cannot be run until completion. T ffb , the time required to expand all images in the Fourier-Bessel basis (step 1 in Algorithm 1); T ctf , the time to compute a matrix representation of the application of the point spread function (step 2 in Algorithm 1); T cov , the time to estimate the covariance matrix (steps 3-5 in Algorithm 1); T denoise , the time to denoise the number of images indicated in the main text (2014 images for EMPIAR-10028 and 502 images for EMPIAR-10081); T total , the total computational time.
65e2-12 Nicholas F. Marshall et al. 50,000 distinct CTFs) due to its high space complexity. Moreover, the old CWF method does not return satisfying restored images for downsampled low resolution images. The reason is that for EMPIAR-10081, almost all images belong to different defocus groups, and the estimated noise power spectrum from a single image is too noisy. Therefore, EMPIAR-10081 is a failure case for the old CWF method in terms of both accuracy and computation time. In contrast, our method assumes radially symmetric noise power spectrum and estimates it using NUFFT over concentric rings with different radii, and averages over each ring. This averaging process largely reduces the noise in the estimated power spectrum.
Discussion
66Covariance estimation and PCA of cryo-EM images are key ingredients in many classic cryo-EM methods including multivariate statistical analysis (3)(4)(5)(6) and Kam's method for ab initio modeling (8) . We propose a fast method to estimate the covariance matrix of noisy cryo-EM images, and then illustrate its application to simultaneously correct for the CTFs and denoise the images. The approach relies on recent improvements to algorithms for expanding images in the Fourier-Bessel basis (16) , and has time complexity O NL 3 þ L 4 À Á which is independent of the number of defocus groups. Our new approach is both significantly faster and more memory-efficient compared to the previous CWF method (15) and we apply our method to large experimental datasets with many distinct CTFs with speedups by factors up to more than two orders of magnitude. Our approach could potentially be extended to higher-dimensional data and to the setting where images are distorted by CTFs which are not exactly radial, using either analytical correction terms or iterative numerical steps.
참고문헌 34건
- Fast Steerable Principal Component Analysis IEEE Transactions on Computational Imaging · Institute of Electrical and Electronics Engineers · 2016 10.1109/tci.2016.2514700
- Orthogonal matrix retrieval in cryo-electron microscopy 2015 101109isbi20157164051
- The type 3 nonuniform FFT and its applications Journal of Computational Physics · Elsevier BV · 2005 10.1016/j.jcp.2004.12.004
- Estimation of variance distribution in three-dimensional reconstruction I Theory Journal of the Optical Society of America A · Optica Publishing Group · 1995 10.1364/josaa.12.002615
- Fast Fourier Transforms for Nonequispaced Data SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1993 10.1137/0914081
- Accelerating the Nonuniform Fast Fourier Transform SIAM Review · Society for Industrial and Applied Mathematics · 2004 10.1137/s003614450343200x
- Identifying Conformational States of Macromolecules by Eigen-Analysis of Resampled Cryo-EM Images Structure · Elsevier BV · 2011 10.1016/j.str.2011.10.003
- Use of multivariate statistics in analysing the images of biological macromolecules Ultramicroscopy · Elsevier BV · 1981 10.1016/0304-3991(81)90059-0
- The reconstruction of structure from electron micrographs of randomly oriented particles Journal of Theoretical Biology · Elsevier BV · 1980 10.1016/0022-5193(80)90088-0
- Cryo-EM structure of the Plasmodium falciparum 80S ribosome bound to the anti-protozoan drug emetine eLife · eLife Sciences Publications Ltd · 2014 10.7554/elife.03080
- Rotationally invariant image representation for viewing direction classification in cryo-EM Journal of Structural Biology · Elsevier BV · 2014 10.1016/j.jsb.2014.03.003
- EMDataBank unified data resource for 3DEM Nucleic Acids Research · Oxford University Press · 2015 10.1093/nar/gkv1126
- Denoising and covariance estimation of single particle cryo-EM images Journal of Structural Biology · Elsevier BV · 2016 10.1016/j.jsb.2016.04.013
- Multivariate statistical classification of noisy images (randomly oriented biological macromolecules) Ultramicroscopy · Elsevier BV · 1984 10.1016/0304-3991(84)90066-4
- Approximation scheme for essentially bandlimited and space-concentrated functions on a disk Applied and Computational Harmonic Analysis · Elsevier BV · 2016 10.1016/j.acha.2016.01.006
- EMPIAR: a public archive for raw electron microscopy image data Nature Methods · Nature Portfolio · 2016 10.1038/nmeth.3806
- Multivariate Statistical Analysis of Large Datasets: Single Particle Electron Microscopy Open Journal of Statistics · Scientific Research Publishing · 2016 10.4236/ojs.2016.64059
- Structures of the Human HCN1 Hyperpolarization-Activated Channel Cell · Cell Press · 2017 10.1016/j.cell.2016.12.023
- Factorization of the translation kernel for fast rigid image alignment Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab4e66
- 3D ab initio modeling in cryo-EM by autocorrelation analysis 2022 IEEE 19th International Symposium on Biomedical Imaging (ISBI) · 2018 10.1109/isbi.2018.8363873
- Optimal shrinkage of eigenvalues in the spiked covariance model The Annals of Statistics · Institute of Mathematical Statistics · 2018 10.1214/17-aos1601
- A Parallel Nonuniform Fast Fourier Transform Library Based on an “Exponential of Semicircle" Kernel SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2019 10.1137/18m120885x
- SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
- Aliasing error of the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si1.svg"><mml:mi mathvariant="normal">exp</mml:mi><mml:mo></mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>β</mml:mi><mml:msqrt><mml:mrow><mml:mn>1</mml:mn><mml:mo linebreak="badbreak" linebreakstyle="after">−</mml:mo><mml:msup><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:mo stretchy="false">)</mml:mo></mml:math> kernel in the … Applied and Computational Harmonic Analysis · Elsevier BV · 2020 10.1016/j.acha.2020.10.002
- Orthogonal matrix retrieval in cryo-electron microscopy 2022 IEEE 19th International Symposium on Biomedical Imaging (ISBI) · 2015 10.1109/isbi.2015.7164051
- Array programming with NumPy Nature · Nature Portfolio · 2020 10.1038/s41586-020-2649-2
- Steerable Principal Components for Space-Frequency Localized Images SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2017 10.1137/16m1085334
- SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
- Method of moments for 3D single particle<i>ab initio</i>modeling with non-uniform distribution of viewing angles Inverse Problems · IOP Publishing · 2019 10.1088/1361-6420/ab6139
- Ab-initio contrast estimation and denoising of cryo-EM images Computer Methods and Programs in Biomedicine · Elsevier BV · 2022 10.1016/j.cmpb.2022.107018
- Structures of Omicron spike complexes and implications for neutralizing antibody development Cell Reports · Cell Press · 2022 10.1016/j.celrep.2022.110770
- Use of multivariates statistics in analysing the images of biological macromolecules Ultramicroscopy · Elsevier BV · 1981 10.1016/s0304-3991(81)80197-0
- Autocorrelation analysis for cryo-EM with sparsity constraints: Improved sample complexity and projection-based algorithms Proceedings of the National Academy of Sciences · National Academy of Sciences · 2023 10.1073/pnas.2216507120
- Fast Expansion into Harmonics on the Disk: A Steerable Basis with Fast Radial Convolutions SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2023 10.1137/22m1542775