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

Three-dimensional alignment of density maps in cryo-electron microscopy

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Yael Harpaz — Department of Applied Mathematics, School of Mathematical Sciences, Tel-Aviv University, Tel-Aviv, Israel
  2. Yoel Shkolnisky — Department of Applied Mathematics, School of Mathematical Sciences, Tel-Aviv University, Tel-Aviv, Israel
DOI
10.1017/s2633903x23000089
저널
Biological Imaging
발행년도
2023
발행기관
Cambridge University Press
피인용수
5
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1017/s2633903x23000089
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4323850461

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract A common task in cryo-electron microscopy data processing is to compare three-dimensional density maps of macromolecules. In this paper, we propose an algorithm for aligning three-dimensional density maps, which exploits common lines between projection images of the maps. The algorithm is fully automatic and handles rotations, reflections (handedness), and translations between the maps. In addition, the algorithm is applicable to any type of molecular symmetry without requiring any information regarding the symmetry of the maps. We evaluate our alignment algorithm on publicly available density maps, demonstrating its accuracy and efficiency. The algorithm is available at https://github.com/ShkolniskyLab/emalign .

본문 62,308자

본문 펼치기
[doi:10.1017/S2633903X23000089](https://doi.org/10.1017/S2633903X23000089) RESEARCH ARTICLE # Three-dimensional alignment of density maps in cryo-electron microscopy Yael Harpaz and Yoel Shkolnisky* Department of Applied Mathematics, School of Mathematical Sciences, Tel-Aviv University, Tel-Aviv, Israel [*Corresponding author. E-mail: yoelsh@tauex.tau.ac.il](mailto:yoelsh@tauex.tau.ac.il) Received: 15 December 2022; Revised: 26 February 2023; Accepted: 28 February 2023 Keywords: Cryo-electron microscopy; global map alignment; synchronization; three-dimensional alignment Abstract A common task in cryo-electron microscopy data processing is to compare three-dimensional density maps of macromolecules. In this paper, we propose an algorithm for aligning three-dimensional density maps, which exploits common lines between projection images of the maps. The algorithm is fully automatic and handles rotations, reflections (handedness), and translations between the maps. In addition, the algorithm is applicable to any type of molecular symmetry without requiring any information regarding the symmetry of the maps. We evaluate our alignment algorithm on publicly available density maps, demonstrating its accuracy and efficiency. The algorithm is [available at https://github.com/ShkolniskyLab/emalign.](https://github.com/ShkolniskyLab/emalign) Impact Statement This paper describes a fast algorithm for the rotational and translational alignment of three-dimensional density maps. Such alignment is an essential step in cryo-electron microscopy data processing. The algorithm is available [at https://github.com/ShkolniskyLab/emalign.](https://github.com/ShkolniskyLab/emalign) 1. Introduction Single particle cryo-electron microscopy (cryo-EM) is a method to determine the three-dimensional structure of biological macromolecules from their two-dimensional projection images acquired by an electron microscope <sup>(1)</sup> . In this method, a sample of identical copies of the investigated molecule is quickly frozen in a thin layer of ice, where each copy is frozen at an unknown random orientation. The frozen sample is imaged by an electron microscope, resulting in two-dimensional images, where each image is a tomographic projection of one of the randomly oriented copies in the ice layer. The goal of single particle cryo-EM is to determine the three-dimensional structure of the molecule from the acquired two-dimensional images. A common task in cryo-EM data processing is to compare two density maps of the same molecule. This is required, for example, to estimate the resolution of the maps, evaluating their Fourier shell correlation curve <sup>(2)</sup>, or to analyze their different conformations. All these tasks require to first align two density maps, that is, to orient them in the same way in a common coordinate system. Due to the nature of the cryo-EM imaging process, the two density maps may differ not only in their three-dimensional orientation (i.e., their “rotation”) but may also have different handedness (namely, reflected relative to each other) and may be centered differently with respect to a common coordinate system. © The Author(s), 2023. Published by Cambridge University Press. This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence [(http://creativecommons.org/licenses/by/4.0),](http://creativecommons.org/licenses/by/4.0) which permits unrestricted re-use, distribution and reproduction, provided the p y In this paper, we propose an algorithm for aligning two density maps, which is fully automatic and can handle rotations, translations, and reflections between the maps. The algorithm requires as an input only the two density maps. In particular, it does not assume knowledge of any other information such as the symmetry of the maps. Formally, let ϕ1 : ℝ <sup>3</sup> ! ℝ and ϕ2 : ℝ <sup>3</sup> ! ℝ be two volumes such that ϕ2ðrÞ = ϕ1ðOr � tÞ, (1) where r = ðx, y, zÞ <sup>T</sup> ∈ ℝ <sup>3</sup>, O ∈ Oð3Þ and t = ðΔx, Δy, ΔzÞ <sup>T</sup> ∈ ℝ <sup>3</sup> (Oð3Þ is the group of all orthogonal transformations of the three-dimensional space, namely rotations and reflections). The alignment problem is to estimate O and t given ϕ1 and ϕ2. The matrix O is known as the orientation parameter, and the vector t as the translation parameter. In practice, we only get samples of ϕ1 and ϕ2, arranged as three-dimensional arrays of size n - n - n, where n is the resolution of sampling. In cryo-EM, ϕ1 and ϕ2 represent two reconstructions of the same underlying molecule that we would like to compare (such as two half maps from a refinement process). In principle, it is possible to approximate the solution to the alignment problem using exhaustive search, by generating a set of candidate pairs ðOi,tiÞ, where Oi ∈ Oð3Þ and ti ∈ ℝ <sup>3</sup>, and finding the pair which “best aligns” ϕ1 to ϕ2 in some chosen metric. The purpose of the alignment algorithm presented in this paper is to estimate the optimal alignment parameters in a fast and accurate way. The paper is organized as follows. In Section 2, we review existing alignment algorithms. In Section 3, we give a high level simplified description of our algorithm. A detailed description is then given in Section 4. This description relies on a method for aligning a single projection image against a volume, a procedure which is described in Section 5. In Section 6, we discuss implementation considerations of the algorithm and analyze its complexity. An optional procedure for refining the estimated alignment parameters is described in Section 7. In Section 8, we demonstrate numerically the properties and performance of our algorithm. Finally, in Section 9, we discuss the properties and advantages of our algorithm. 2. Existing Methods There exist several methods for three-dimensional alignment of molecular volumes. The Chimera software <sup>(3)</sup> offers a semi-automatic alignment method which requires the user to approximately align the volumes manually and then refines this alignment using an optimization procedure. This means that a sufficiently accurate initial approximation for the alignment is required. Achieving this initial approximate alignment manually naturally takes time and effort, yet it is crucial for the success of Chimera’s alignment algorithm. The alignment procedure implemented by Chimera maximizes the correlation or overlap function between the two volumes by using a steepest descent optimization. The iterations of this optimization stop after reaching convergence or after 2,000 steps. Another alignment method is the projection-based volume alignment (PBVA) algorithm <sup>(4)</sup> . This method aligns a target volume to a reference volume by aligning multiple projections of the reference volume to the target volume whose orientation is unknown. The PBVA algorithm is based on finding two identical projections, a projection P1 from the reference volume and a projection P2 from the target volume as follows. The reference volume is projected at some known Euler angles, resulting in a projection P1, and the matching projection P2 is found by maximizing the cross-correlation function between P1 and a set of projections representing the possible projections of the target volume. The crosscorrelation function is of five parameters—three Euler angles and two translation parameters in the plane of the projection P2(5). Finally, the rotation between the volumes is estimated from the relation between the Euler angles corresponding to the projections P1 and P2. After estimating the rotation between the volumes, the translation between them is found using projection images from the target volume. The translation between the volumes is estimated by least-squares regression using the two translation parameters of each projection from the target volume, where a minimum of two projections is required for calculating the three-dimensional translation vector. Using multiple projection images to estimate the t l ti b t th l k th li t b t g g g The Xmipp software package <sup>(6)</sup> also offers a three-dimensional alignment algorithm. It is based on expanding the two volumes using spherical harmonics followed by computing the cross-correlation function between the two spherical harmonics expansions representing the volumes <sup>(7)</sup> . The process of expanding a volume into spherical harmonics is called the spherical Fourier transform (SFT) of the volume, where like the fast Fourier transform (FFT) algorithm, there exists an efficient algorithm for calculating the SFT <sup>(7)</sup> . The process of calculating the cross-correlation function between the two spherical harmonics expansions of the volumes and estimating the rotation between the two volumes is implemented by a fast rotational matching (FRM) algorithm <sup>(8)</sup> . After estimating the rotation between the two volumes, the translation between them is found by using the phase correlation algorithm <sup>(9)</sup> . Finally, the EMAN2 software package <sup>(10)</sup> offers 2 three-dimensional alignment algorithms. In the first algorithm (implemented by the program e2align3d, now mostly obsolete), the rotation between the volumes is estimated using an exhaustive search for the three Euler angles of the rotation. First, the algorithm generates a set of candidate Euler angles with large angular increments. Then, the algorithm iteratively decreases the angular increments in the set of candidates in order to refine the resolution of the angular search <sup>(11)</sup> . A much faster tree-based algorithm is implemented in the program e2proc3d. This method performs three-dimensional rotational and translational alignment using a hierarchical method with gradually decreasing downsampling in Fourier space. In Section 8, we compare our algorithm to this latter algorithm, as well as to the FRM algorithm implemented by Xmipp. 3. Outline of the Approach We are given two volumes ϕ1 and ϕ2 satisfying (1). For simplicity, we assume for now that the volumes have no symmetry and are related by rotation only (no translation nor reflection). We generate a projection image from ϕ2, denoted P, corresponding to an orientation given by a rotation matrix R. Since ϕ1 and ϕ2 are the same volume up to rotation, we can orient P relative to ϕ1, that is, we can find the rotation R <sup>~</sup> such that projecting ϕ1 in the orientation determined by R <sup>~</sup> results in the image P. As we show below, it holds that R~ = OR, where O is the transformation from (1). Since R and ~R are known, we can estimate O as O = ~RR <sup>T</sup> . In practice, it may be that R <sup>~</sup> is not determined uniquely by P, as for example, a volume may have two very similar views even if it is not symmetric. Moreover, the volumes to align are discretized and sometimes noisy, which introduces inaccuracies into the estimation of O . Thus, to estimate O more robustly, instead of using a single image P, we generate from ϕ2 multiple images P1, …,PN with orientations R1,…, RN, align each Pi to ϕ1 as above, resulting in estimates for O given by Oi = R <sup>~</sup> iR <sup>T</sup> i <sup>, and</sup> then estimate O from all Oi simultaneously by solving. O = argmin R XN i = 1 kOi � Rk <sup>2</sup> F <sup>,</sup> where �k kF is the Frobenius matrix norm. In Section 4, we give an explicit solution for the latter optimization problem. The key of the above procedure is estimating the orientation of a projection image P of ϕ2 in the coordinate system of ϕ1. This is done by inspecting a large enough set of candidate rotations and finding the rotation R <sup>~</sup> for which the induced common lines between P (when assuming its orientation is R <sup>~</sup> ) and a set of projections generated from ϕ1 best agree. As inspecting each candidate rotation involves only onedimensional operations (even if the input volumes are centered differently), it is very fast and highly parallelizable. Thus, this somewhat brute force approach is applicable to very large sets of candidate rotations (several thousands, for accurate alignment) and still results in a fast algorithm. We discuss below the complexity and advantages of this approach. We summarize the outline of our approach in Figure 1 and describe it in detail in Sections 4 and 5. In the above approach, we assume that O is a rotation. However, ϕ1 and ϕ2 may have a different handedness, and so O may include a reflection. The above approach can obviously be used to resolve the handedness by aligning ϕ2 to ϕ1 and to a reflected copy of ϕ1, and determining whether a reflection is p y Figure 1. Outline of the algorithm. needed using some quality score of the alignment parameters (e.g., the correlation between the aligned volumes). However, as we show below, in our method, there is no need to actually align ϕ2 to a reflected copy of ϕ1, saving roughly half of the computations (those required to actually align ϕ2 to a reflected copy of ϕ1), as explained in Section 4. We next explain in detail the various steps of our algorithm, including handling translations, reflections, and symmetry in the volumes. 4. Estimating the Alignment Parameters Consider two volumes ϕ1 and ϕ2, where one volume is a rotated copy of the other (assuming for now no reflection nor translation between the volumes), namely (see (1)) ϕ2ðrÞ = ϕ1ðOrÞ, r = ðx, y, zÞ <sup>T</sup> ∈ ℝ <sup>3</sup>, (2) where O is an unknown rotation matrix. Our goal is to find an estimate for O. In case where ϕ1 and ϕ2 exhibit symmetry, the solution for O is not unique. To be concrete, we denote by SOð3Þ the group of all 3 - 3 rotation matrices. A group G ⊆ SOð3Þ is a symmetry group of a volume ϕ, if for all g ∈ G it holds that ϕðrÞ = ϕðgrÞ, r = ðx, y,zÞ <sup>T</sup> ∈ ℝ <sup>3</sup> : (3) In other words, a symmetry group of a volume is a group of rotations under which the volume is invariant (see <sup>(12)</sup> for more details). If we denote the symmetry group of ϕ1 by G1 ⊆ SOð3Þ and define r <sup>0</sup> = Or, then, from (2) and (3), we get for any symmetry element g ∈ G1 ϕ2ðrÞ = ϕ1ðOrÞ = ϕ1ðr <sup>0</sup> Þ = ϕ1ðgr <sup>0</sup> Þ = ϕ1ðgOrÞ: (4) Comparing the latter with (2), we conclude that the solution for O is not unique, and we thus replace the goal of finding O by finding any gO for some arbitrary element g ∈ G1 of the symmetry group. Note that we assume that O is a rotation, namely that ϕ1 and ϕ2 are related by rotation without reflection. The case where O is a reflection will be considered below. Let P be a projection image generated from ϕ2 using a rotation R, that is, Z ∞ Z ∞ Pðx, yÞ = ϕ2ðRrÞdz = �∞ ϕ2ðxR <sup>ð1Þ</sup> þ yR <sup>ð2Þ</sup> þ zR <sup>ð3Þ</sup> Þdz, (5) �∞ ð1Þ ð2Þ ð3Þ T g g g ϕ2ðRrÞ = ϕ1ðORrÞ: (6) Thus, using (5), we have Z <sup>∞</sup> Pðx,yÞ = ϕ2ðRrÞdz = �∞ Z <sup>∞</sup> ϕ1ðORrÞdz: (7) �∞ Equation (7) implies that if P has orientation R with respect to ϕ2, then it has orientation OR with respect to ϕ1. In Section 5, we describe how to estimate OR given P and ϕ1, namely how to estimate a rotation R <sup>~</sup> that satisfies R <sup>~</sup> = OR. If the volume ϕ1 is symmetric with symmetry group G1, then (as shown above) the rotation OR is equivalent to the rotation gOR for any g ∈ G1, and moreover, the two rotations cannot be distinguished. Thus, we conclude that R~ = gOR for some unknown g ∈ G1. Using the latter equation, we can estimate O as O = g <sup>T ~</sup> RR <sup>T</sup> : (8) Note that in the latter equation R is known, R <sup>~</sup> can be estimated using the algorithm in Section 5 below, and g can be arbitrary. Thus, (8) provides a means for estimating O. However, to estimate Omore robustly, we use multiple projections generated from ϕ2. Let R1,…,RN be random rotations, and let P1, …, PN be the corresponding projections generated from ϕ2 according to (5). Using the procedure described above, we estimate for each Pi a rotation R <sup>~</sup> i that satisfies R <sup>~</sup> i = giORi for some unknown gi ∈ G1. Thus, as in (8), we can estimate O using any i ∈ f1,…, N g by O = g <sup>T</sup> i <sup>R~iRT</sup> i <sup>:</sup> (9) Contrary to (8), if we want the right-hand side of (9) to result in the same O for all i = 1,…,N, then gi cannot be arbitrary. In order to estimate O, we therefore need to find gi, i = 1,…, N and combine all estimates for O given in (9) into a single estimate. <sup>T</sup> i <sup>R~iRT</sup> i O = g <sup>T</sup> i To that end, define Xi = RiR <sup>~</sup> Ti <sup>,</sup> <sup>i = 1,…,</sup> <sup>N,</sup> (10) and look at the matrix H of size 3N � 3N whose ði,jÞ block of size 3 - 3 is given by (see (9) and (10)) iT Xj = ~RiRTi T j Hij = Xi Ti <sup>RjR~</sup> - - j g <sup>T</sup> i <sup>R~i</sup> �T OOT gTj <sup>R~j</sup> R~ <sup>T</sup> j <sup>:</sup> = R <sup>~</sup> i g <sup>T</sup> i Tj <sup>= g</sup> i <sup>gT</sup> j (11) By a direct calculation, we get that the matrix of size 3N � 3 1 C A, (12) ~g = 0 B @ g1W ⋮ gNW where W is an arbitrary 3 - 3 orthogonal matrix (i.e., WW <sup>T</sup> = W <sup>T</sup> W = I), satisfies H~g = N~g: (13) Equation (11) also shows that the matrix H is of rank 3, which together with (13) implies that ~g can be calculated by arranging the three leading eigenvectors v1, v2, v3 of H in a matrix C A, (14) ∣ ∣ ∣ v1 v2 v3 ∣ ∣ ∣ 1 C A = 3N�3 1 0 B @ V 1 ⋮ V N V = 0 B @ p y whose 3 - 3 blocks V 1, …,V N are g1W,…,gN W, for some unknown arbitrary W (see <sup>(13)</sup> for a detailed derivation). In practice, at this point, we replace each giW by its closest orthogonal transformation, as described in <sup>(14)</sup>, to improve its accuracy in the presence of noise and discretization errors. Next, in order to extract an estimate for g1,…,gN from (14) (i.e., to eliminate W from the estimates in ~g given by (12)), we multiply each giW by ðg1W Þ <sup>T</sup>, resulting in gest1 ⋮ gestN 0 B @ g1g1 ⋮ gNg1 1 C A = 1 C A: (15) 1 C A = 0 B @ g1WW <sup>T</sup> g <sup>T</sup> 1 ⋮ g1WW <sup>T</sup> g <sup>T</sup> 1 gNWW <sup>T</sup> g <sup>T</sup> 1 T gest = 0 B @ T est <sup>T</sup> i <sup>R~iRT</sup> i Thus, each gesti is a rotation, even if W is not. We define Oi = g <sup>T</sup> Thus, each gesti is a rotation, even if W is not. We define Oi = gest <sup>T</sup> i <sup>R~iRT</sup> i <sup>,</sup> <sup>and</sup> <sup>using</sup> <sup>(9),</sup> <sup>we</sup> <sup>get</sup> <sup>for</sup> i = 1, …, N <sup>T</sup> esti <sup>R~iR</sup> i <sup>T</sup> <sup>T</sup> i <sup>R~iRT</sup> i Oi = g <sup>T</sup> i <sup>T</sup> <sup>= g</sup> 1 <sup>gT</sup> i <sup>T</sup> i <sup>= g</sup> 1 <sup>O:</sup> (16) Thus, we have N estimates for g1O. Equation (4) states that ϕ2ðrÞ = ϕ1ðOrÞ = ϕ1ðgOrÞ for any symmetry element g ∈ G1 . Therefore, estimating g1O is equivalent to estimating O . In order to estimate g1O simultaneously from all Oi, i = 1,…, N, we search for the rotation Oðest <sup>1</sup> Þ <sup>(the superscript will be explained</sup> shortly) that satisfies XN i = 1 Oðest <sup>1</sup> Þ <sup>= argmin</sup> R Oðest <sup>1</sup> Þ <sup>= argmin</sup> kOi � Rk <sup>2</sup> F <sup>:</sup> (17) kOi � Rk <sup>2</sup> F In other words, Oðest <sup>1</sup> Þ <sup>is the “closest” to all the estimated rotations O</sup> i <sup>in the least squares sense. To solve</sup> (17), let O <sup>~</sup> be the 3 - 3 matrix XN i = 1 O~ = <sup><u>1</u></sup> N O~ = <sup><u>1</u></sup> Oi: (18) In <sup>(15)</sup>, it is proven that the solution to the optimization problem in (17) is Oðest <sup>1</sup> Þ <sup>=</sup> <sup>U~ ~V</sup> T, (19) where O <sup>~</sup> = U <sup>~</sup> Σ <sup>~</sup> V <sup>~</sup> T is the singular value decomposition (SVD) of O~ . The algorithm for estimating Oðest1Þ Oðest <sup>1</sup> Þ <sup>=</sup> <sup>U~ ~V</sup> where O <sup>~</sup> = U <sup>~</sup> Σ <sup>~</sup> V <sup>~</sup> T is the singular value decomposition (SVD) of O~ . The algorithm for estimating Oðest1Þ given ϕ1 and ϕ2, as described above, is presented in Algorithm 1. Algorithm 1 Estimating Oðest <sup>1</sup> Þ <sup>:</sup> Input: Volumes ϕ1, ϕ2: 1: Generate random rotations fRig <sup>N</sup> i 1: Generate random rotations Ri i = 1 2: Generate from ϕ2 projections fPig <sup>N</sup> i <sup>N</sup> i = 1 <sup>corresponding to the rotations</sup> f <sup>Ri</sup> g� <sup>N</sup> i 2: Generate from ϕ2 projections fPig <sup>N</sup> i = 1 <sup>corresponding to the rotations</sup> f <sup>Ri</sup> g� <sup>N</sup> i = 1�N - Eq. (5) 3: Apply Algorithm 2 to each Pi and ϕ1. Denote the resulting rotations by R~i i = 1 4: for i = 1 to N do T 5: Calculate X i = RiR <sup>~</sup> i ▷Eq. (10) T 5: Calculate X i = RiR <sup>~</sup> i ▷Eq. (10) 6: Construct the matrix 3N � 3N I3�3 X <sup>T</sup> 1 <sup>X2</sup> <sup>⋯</sup> <sup>XT</sup> 1 <sup>XN</sup> X <sup>T</sup> 2 <sup>X1</sup> I3�3 ⋯ X <sup>T</sup> 2 <sup>XN</sup> ⋮ ⋮ ⋱ X <sup>T</sup> N <sup>X1</sup> <sup>XT</sup> N <sup>X2</sup> <sup>⋯</sup> I3�3 I3�3 X <sup>T</sup> 1 1 C C C A H = 0 B B B @ <sup>T</sup> 2 <sup>X1</sup> I3�3 ⋯ X <sup>T</sup> 2 <sup>T</sup> N <sup>X1</sup> <sup>XT</sup> N <sup>T</sup> N <sup>X2</sup> <sup>⋯</sup> I3�3 7: Find the three leading eigenvectors v1,v2,v3 of H 8: Set g g g 1 C A 0 B V = @ ∣ ∣ ∣ v1 v2 v3 ∣ ∣ ∣ = 3N�3 1 C A 0 V 1 B @ ⋮ V N - Eq. (14) 9: Compute gest1 ⋮ gestN C A = 0 B @ 1 C A 1 V NV <sup>T</sup> 1 V 1V <sup>T</sup> 1 ⋮ V 1V <sup>T</sup> 1 gest = 0 B @ - Eq. (15) 10: for i = 1 to N do 11: Calculate Oi = g <sup>T</sup> esti <sup>R~iR</sup> i <sup>T</sup> - Eq. (16) <sup>T</sup> esti <sup>R~iR</sup> i <sup>T</sup> i <sup>T</sup> - Eq. (16) 12: Calculate O <sup>~</sup> = N <sup><u>1</u></sup> PN i = 1 <sup>Oi</sup> - Eq. (18) 13: Calculate Oðest <sup>1</sup> Þ <sup>=</sup> <sup>U~ ~V</sup> T, where O~ = U~ Σ~V~ T is the SVD of O~ - Eq. (19) Output: Oðest <sup>1</sup> Þ - Estimated rotation 13: Calculate Oðest <sup>1</sup> Þ <sup>=</sup> <sup>U~ ~V</sup> T, where O~ = U~ Σ~V~ To handle the case where ϕ1 and ϕ2 have a different handedness (namely, related by reflection), we can of course apply Algorithm 1 to ϕ2 and a reflected copy of ϕ1. However, this would roughly double the runtime of the estimation process, as the most time-consuming step in Algorithm 1 is step 3, whose complexity is Oðn <sup>3</sup> log nÞ operations for a volume of size n - n - n voxels (see Section 5). Alternatively, it is possible to augment the above algorithm to handle reflections without doubling its runtime. In the case where there is a reflection between ϕ1 and ϕ2, we need to replace the relation in (2) by the relation 0 B @ 1 C A: (20) ϕ2ðrÞ = ϕ1ðOJrÞ, J = 1 0 0 0 1 0 0 0 �1 Note that J in (20) is a reflection and that O is a rotation. Repeating the above derivation starting from (20) shows that to estimate O in this case, we can use the same Ri used above and the same estimates R <sup>~</sup> i obtained above (steps 1 and 3 of Algorithm 1), but this time we get that Oi = g <sup>T</sup> i <sup>R~iJRT</sup> i <sup>J (compare with (9)).</sup> <sup>T</sup> i <sup>R~iJRT</sup> i obtained above (steps 1 and 3 of Algorithm 1), but this time we get thatThen, we set X i = JRiJ R <sup>~</sup> Ti (compare with (10)) and proceed as above, Oi = gresulting <sup>T</sup> i <sup>R~iJRT</sup> i <sup>J</sup> in <sup>(compare with (</sup> an estimate O <sup>9</sup> ðest <sup>)).2</sup> Þ Then, we set X i = JRiJ R <sup>~</sup> Ti (compare with (10)) and proceed as above, resulting in an estimate Oðest <sup>2</sup> Þ (compare with (17)), which corresponds to the optimal alignment parameters if ϕ1 and ϕ2 have opposite handedness. Once we have the two estimates Oðest <sup>1</sup> Þ <sup>and O</sup> ðest <sup>2</sup> Þ <sup>for the alignment parameters between ϕ</sup> 1 <sup>and</sup> ϕ2 (without and with reflection), we estimate the translation corresponding to each of Oðest <sup>1</sup> Þ <sup>and O</sup> ðest <sup>2</sup> Þ <sup>using</sup> phase correlation <sup>(9)</sup> (see Appendix C for details). This results in two sets of alignment parameters (rotationþtranslation). We then apply both sets of parameters to ϕ2 to align it with ϕ1 and pick the parameters for which ϕ2 after alignment has higher correlation with ϕ1 . We denote the estimated parameters by ðOest,testÞ. 5. Projection Alignment It remains to show how to implement step 3 of Algorithm 1, that is, how to find the orientation of a projection P of ϕ2 with respect to the coordinate system of ϕ1. Mathematically, we would like to solve the equation Pðx,yÞ = Z <sup>∞</sup> ϕ1ðRrÞdz, r = ðx,y, zÞ <sup>T</sup> ∈ ℝ <sup>3</sup> (21) �∞ p y for the unknown rotation R. A brute force approach of testing many candidate rotations in search for the R that (best) satisfies (21) is prohibitively expensive, as it requires to compute a projection of ϕ1 for each candidate rotation (this is essentially projection matching). We therefore take a different approach, whose cost for inspecting each candidate rotation is much lower (in fact requires OðnÞ operations to test each candidate rotation for a volume ϕ1 discretized into an array of size n - n - n). The idea is to generate several projection images from ϕ1, and then, for each candidate rotation, to check the agreement of the common lines between P and the projections of ϕ1, assuming the orientation of P is given by the candidate rotation. We estimate the rotation corresponding to P as the candidate rotation that results in the best agreement. We next formalize this method and then analyze its complexity. We start by considering the case where there is no translation between P and ϕ1, namely P and ϕ1 satisfy (21), and our goal is to estimate R given P and ϕ1. We generate N projection images from ϕ1 (N is typically small, see Section 8), denoted Pð1 <sup>a</sup> Þ <sup>,</sup> <sup>…,P</sup> ðN <sup>a</sup> Þ <sup>, with rotations R</sup> ð1 <sup>a</sup> Þ <sup>,</sup> <sup>…,</sup> <sup>R</sup> ðN <sup>a</sup> Þ <sup>chosen uniformly at random (note</sup> that we deliberately reuse the notation N used in Section 4, as explained below). We generate a set of candidate rotations S, over which we will search for the solution R of (21). The set S consists of a large number of approximately equally spaced rotations. See Appendix B for a detailed description of the construction of S. We will assume for each candidate rotation Q ∈ S that P was generated using the rotation Q (i.e., we assume that R in (21) is equal to Q), compute the mean correlation of the common lines between P and Pð1 <sup>a</sup> Þ <sup>,…,</sup> <sup>P</sup> ðN <sup>a</sup> Þ <sup>, and choose as an estimate for R</sup> <sup>the rotation Q</sup> <sup>for which the mean correlation is highest.</sup> Specifically, for each Q ∈ S and Rði <sup>a</sup> Þ <sup>, i = 1,</sup> <sup>…,</sup> <sup>N, we compute the direction of the common line between P</sup> and Pði <sup>a</sup> Þ, given by the angles αi in P and βi in Pði <sup>a</sup> Þ, as explained in Appendix A. The common line property <sup>(16)</sup> states that if Q = R then ðaÞ Pbðξ cos αi,ξ sinαiÞ = P <sup>b</sup> i ðξ cos βi, ξ sin βiÞ, ξ ∈ ℝ, where P <sup>b</sup> and P <sup>b</sup> ði aÞ are the Fourier transforms of P and Pði <sup>a</sup> Þ <sup>, respectively (see</sup> Pbðξ cos αi,ξ sinαiÞ = P <sup>b</sup> where P <sup>b</sup> and P <sup>b</sup> ði aÞ are the Fourier transforms of P and Pði <sup>a</sup> Þ <sup>, respectively (see Appendix A for a review of</sup> common lines and their properties). We thus define f iðQ, ξÞ = P <sup>b</sup> ðξ cos αi, ξ sin αiÞ, ðaÞ giðQ, ξÞ = P <sup>b</sup> i ðξ cos βi, ξ sin βiÞ, and the cost function giðQ, ξÞ = P <sup>b</sup> Z ∞ �f iðQ,ξÞgiðQ,ξÞdξ <u>0</u> ρðQÞ = <sup><u>1</u></sup> N <sup>ℜ</sup> ρðQÞ = <sup><u>1</u></sup> N XN i = 1 , (22) kf ikL2kgikL2 where f i denotes the complex conjugate of f i. In other words, ρðQÞ measures how well the common lines induced by Q between P and Pð1 <sup>a</sup> Þ <sup>,…,P</sup> ðN <sup>a</sup> Þ <sup>agree. We then set our estimate for R to be</sup> Rest = argmax Q ∈ S We explore the appropriate value for N in Section 8. ρðQÞ: We now extend the above scheme to the case where P is not centered with respect to ϕ1, namely P is given by Pðx - Δx, y - ΔyÞ = Z <sup>∞</sup> ϕ1ðRrÞdz, r = ðx,y, zÞ <sup>T</sup> ∈ ℝ <sup>3</sup>, (23) �∞ for an unknown rotation R and an unknown translation ðΔx,ΔyÞ. The idea for estimating R is the same as before, except that the calculation of the common lines should take into account the unknown translation, as we describe next. We denote the unshifted version of P by P <sup>~</sup>, which is given by P~ðx,yÞ = g g g Z <sup>∞</sup> ϕ1ðRrÞdz, r = ðx,y, zÞ <sup>T</sup> ∈ ℝ <sup>3</sup> (24) �∞ (this is exactly (21), but we repeat it to clearly set up the notation). Then, Pðx, yÞ = P <sup>~</sup> ðx þ Δx,y þ ΔyÞ: Taking the Fourier transform of both sides of the latter equation, we get that <sup>(1)</sup> - - ωx, ωy = P <sup>b~</sup> ωx, ωy Pb ωx, ωy - ωx, ωy e <sup>i</sup> ð <sup>ωxΔxþωyΔy</sup> Þ: (25) Suppose that the common line between P <sup>~</sup> and Pði <sup>a</sup> Þ is given by the angles αi in P <sup>~</sup> and βi in Pði <sup>a</sup> Þ (see Appendix A). By definition of the common line, it holds that ðaÞ Pb~ðξ cos αi,ξ sinαiÞ = P <sup>b</sup> i ðξ cos βi,ξ sin βiÞ: Using (25), we get that ðaÞ Pbðξ cos αi, ξ sin αiÞe <sup>�iξΔξ</sup> = P <sup>b</sup> i ðξ cos βi, ξ sin βiÞ, where Δξ = Δxcos αi þ Δysin αi is the one-dimensional shift between the projections along their common line. We assume that this one-dimensional shift is bounded by some number d. Thus, we need to modify our cost function (22) to take into account also the unknown (onedimensional) phase e <sup>�iξΔξ</sup> . We therefore define (with a slight abuse of notation in reusing the previous notation for the cost function) f iðQ, Δξ, ξÞ = P <sup>b</sup> ðξ cos αi, ξ sin αiÞe <sup>�iξΔξ</sup>, ðaÞ giðQ, ξÞ = P <sup>b</sup> i ðξ cos βi,ξ sinβiÞ and the cost function Z ∞ giðQ, ξÞ = P <sup>b</sup> Z ∞ �f iðQ,Δξ,ξÞgiðQ,ξÞdξ <u>0</u> ρðQ,ΔξÞ = <sup><u>1</u></sup> N <sup>ℜ</sup> XN i = 1 , (26) kf ikL2 kgikL2 and set our estimate for the solution R of (23) to be Rest = argmax ρðQ, ΔξÞ: (27) Q ∈ S,Δξ ∈ ½�d,d� The formula for the angles αi and βi of the common line between P and Pði <sup>a</sup> Þ induced by the rotations Q ∈ S and Ri is given in Appendix A. Note that at this point we are only interested in Rest and not in the translation ðΔx, ΔyÞin P, as the relative translation between ϕ1 and ϕ2 is efficiently determined using phase correlation (see <sup>(9)</sup> and Appendix C) once we have determined their relative rotation. The algorithm for solving equation (23) is summarized in Algorithm 2. Algorithm 2 Projection alignment. Input: Projection P and volume ϕ1 satisfying (23). 1: Generate random rotations R1,…, RN 2: Generate from ϕ1 projections Pð1 <sup>a</sup> Þ <sup>,…,</sup> <sup>P</sup> ðN <sup>a</sup> Þ <sup>corresponding to the rotations R1,…,RN</sup> 3: Generate candidate rotations S - Appendix B 4: Compute Rest = argmax ρðQ,ΔξÞ: Q ∈ S,Δξ ∈ ½�d,d� - Eqs. 26 and (27) Output: Rest - Estimated rotation p y As mentioned above, we use the same N in Sections 4 and 5. While, in principle, the number of projections generated from ϕ2 in Section 4 can be different from the number of projections generated from ϕ1 in Section 5, due to the symmetric role of ϕ1 and ϕ2 in the alignment problem, there is no reason to consider different values. 6. Implementation and Complexity Analysis Algorithms 1 and 2 are formulated in the continuous domain. Obviously, to implement them, we must explain how to apply them to volumes ϕ1 and ϕ2 given as three-dimensional arrays of size n - n - n. We now explain how to discretize each of the steps of Algorithms 4 and 5 and analyze their complexity. For simplicity, we use for the discrete quantities the same notation we have used for the continuous ones. The only step in Algorithm 1 that needs to be discretized is step 2. This step is accurately discretized based on the Fourier projection slice theorem (A.1) using a non-equally spaced FFT <sup>(17,18)</sup>, whose complexity is Oðn <sup>3</sup> log nÞ (for a fixed prescribed accuracy). The result of this step is a discrete projection image P given as a two-dimensional array of size n - n pixels. The remaining steps of Algorithm 4 are already discrete, and since the value of N is small compared to n, their complexity is negligible. We next analyze Algorithm 2. The input to this algorithm is a projection image P of size n - n pixels, and a volume ϕ1 of size n - n - n voxels. The algorithm also uses the parameter N, but since it is a small constant, we ignore it in our complexity analysis. Step 1 of Algorithm 2 requires a constant number of operations. Step 2 is accurately implemented using a non-equally spaced FFT <sup>(17,18)</sup>, whose complexity is Oðn <sup>3</sup> log nÞ (for a fixed prescribed accuracy). Step 3 is independent of the input volume, and moreover, the set S can be precomputed and stored. To implement step 4, we first discretize the interval of onedimensional shifts ½�d, d� in fixed steps of Δd pixels (say, 1 pixel). Specifically, we use the following shift candidates for the optimization in step 4: Δξ ∈ f�d þ kΔd jk = 0,…,⌊2d=Δd⌋g: Then, for each Q ∈ S, we compute the angles αi and βi (see Appendix A) and evaluate (26) for the pair ðQ, ΔξÞ by replacing the integral with a sum. If we store the polar Fourier transforms of all involved projection images P and Pð1 <sup>a</sup> Þ <sup>,</sup> <sup>…,</sup> <sup>P</sup> ðN <sup>a</sup> Þ (computed using the non-equally spaced FFT <sup>(17,18)</sup> ), each such evaluation amounts to accessing the rays in the polar Fourier transform corresponding to the angles αi and βi, namely OðnÞ operations. Thus, the total number of operations required to implement step 4 of Algorithm 2 is ∣S∣ - ð⌊2d=Δd⌋ þ 1Þ� n (∣S∣ is the number of elements in the set S). Of course, all ∣S∣ ð⌊2d=Δd⌋ þ 1Þevaluations are independent and can be computed in parallel. Thus, the total complexity of Algorithm 2 is Oðn <sup>3</sup> log nÞ operations for step 2 and OðnÞ operations for testing each pair ðQ, ΔξÞ in step 4. Therefore, since the optimization in step 4 is very fast, it is practical to test even a very large set of candidate rotations S. Finally, we note that in practice, to further speed up the algorithm, we first downsample the input volumes to size nds, align the two downsampled volumes, and apply the estimated alignment parameters to the original volumes. We demonstrate in Section 8 that this approach still results in a highly accurate alignment. To understand the theoretical advantage of the above approach, we compare it to a brute force approach. In the brute force approach, we 1) scan over a large set of rotations and three-dimensional translations, 2) for each pair of a rotation and a translation, we transform one of the volumes according to this pair of parameters, and 3) choose the pair for which the correlation between the volumes after the transformation is maximal. Testing each pair of candidate parameters requires Oðn <sup>3</sup> Þ operations (for rotating and translating one of the volumes, and for computing correlation), which amounts to a total of - O n <sup>3</sup> �jSj�ð2d=ΔdÞ <sup>3</sup> operations. In other words, testing each candidate rotation and translation is way more expensive than in our proposed method. In our approach, the expensive operation of complexity Oðn <sup>3</sup> log nÞneeds to be executed only once per each pair of inputs P and ϕ1. Moreover, in our approach, the g g g search over shifts is one-dimensional as opposed to the three-dimensional search required in the brute force approach. 7. Parameters’ Refinement In this section, we describe an optional refinement procedure for improving the accuracy of the estimated parameters Oest and test obtained using the algorithm of� - Section 4. We define the vector Θ = ψ, ϑ,φ, Δx, Δy,Δz consisting of the six parameters required to describe the transformation between two volumes—three Euler angles (ψ,ϑ, φ) describing their relative rotation and three parameters ðΔx,Δy,ΔzÞ describing their relative translation. We define the operator T ΘðϕÞ, which applies the transformation parameters Θ to the volume ϕ (i.e., T Θ first rotates the volume and then translates it, according to the parameters in Θ). Next, for given volumes ϕ1 and ϕ2, we denote their correlation by ρðϕ1,ϕ2Þ. We are reusing the notation ρ from Section 5, since all occurrences of ρ in this paper correspond to a correlation coefficient whose evaluation formula is clear from its arguments. Finally, we define the objective function cðθÞ = 1 - ρðT Θðϕ1Þ,ϕ2Þ, (28) which vanishes for the parameters Θ that align ϕ1 with ϕ2. To refine Oest and test of Section 4, we simply apply the BFGS algorithm <sup>(19)</sup> to the objective function (28), with an initialization given by Oest and test. We define the vector Θ = ψ, ϑ,φ, Δx, Δy,Δz cðθÞ = 1 - ρðT Θðϕ1Þ,ϕ2Þ, (28) which vanishes for the parameters Θ that align ϕ1 with ϕ2. 8. Results The alignment algorithm (with and without the optional refinement described in Section 7) was implemented in Python and is available online <sup>1</sup>, including the code that generates the figures of this section. A Matlab version of the algorithm is available as part of the ASPIRE software package <sup>(20)</sup> . As the algorithm uses two parameters—the downsampling nds (see Section 6) and the number of reference projections N (see Section 4)—we first examine how to appropriately set their values. Then, we examine the advantage of the refinement procedure proposed in Section 7. To show the benefits of our algorithm in practice, we then compare its performance to that of two other alignment algorithms—the alignment algorithm from the EMAN2 software package <sup>(10)</sup> (implemented in the program e2proc3d) and the FRM algorithm implemented in the Xmipp software package <sup>(6)</sup> . Finally, we examine the performance of the three algorithms using noisy input volumes. We tested our algorithm on volumes from the electron microscopy data bank (EMDB) <sup>(21)</sup> with different types of symmetries, whose properties are described in Table 1. All tests were executed on a dual Intel Xeon E5-2683 CPU (32 cores in total), with 768 GB of RAM running Linux. The memory required by the algorithm is of the order of the size of the input volumes. We used 15,236 candidate rotations in Algorithm 2 (the size of the set S ), generated as described in Appendix B. This set of candidates is roughly equally spaced in the set of rotations SOð3Þ. While it is difficult to characterize the resolution of this set in terms of the resolution of each of the Euler angles, a rough calculation suggests that the resolution in each of the Euler angles is smaller than 5 degrees. We do not use rotations generated by a regular grid of Euler angles, as such a grid is less efficient than our grid, due to the nonuniform rotations generated by a regular grid of Euler angles. For example, discretizing each of the Euler angles to 5 degrees would result in 186,624 rotations, more than an order of magnitude larger than the number of rotations we use. For each test, we generate a pair of volumes ϕ1 and ϕ2 related by a rotation matrix O and a translation vector t ∈ ℝ <sup>3</sup> . The translation is chosen at random with magnitude up to 10% of the size of the volume. We denote the alignment parameters estimated by our algorithm by Oest and test. We evaluate the accuracy of our algorithm by calculating the difference between the rotations O and Oest. To that end, we first note that 1 p y Table 1. Test volumes. EMDID Sym Size (n) 2660 C1 360 0667 C2 480 0731 C3 486 0882 C4 160 21376 C5 256 11516 C7 512 21143 C8 256 6458 C11 448 30913 D2 110 20016 D3 384 22462 D4 320 9233 D7 400 21140 D11 324 4179 T 200 24494 I 432 Note. Each volume is a three-dimensional array of size n - n - n, with n specified on the third column. The symmetry of each volume is given by the second column. following (4), Oest is an estimate of gO for some arbitrary g ∈ G1, where G1 ⊆ SOð3Þ is the symmetry group of ϕ1. In order to calculate the difference between O and Oest, we have to find the symmetry element g. In our tests, the symmetry group G1 is known (see Table 1), and so we find g by solving argmin g ∈ G1 kOest � gOkF, (29) followed by defining O <sup>0</sup> <sup>0</sup> est <sup>= gT</sup> <sup>Oest. Next, the error in the estimated rotation O0</sup> followed by defining O <sup>0</sup> est <sup>= gT</sup> <sup>Oest. Next, the error in the estimated rotation O0</sup> est <sup>is calculated using the</sup> axis-angle representation of rotations as follows. The axis of the rotation O is defined to be the unit vector v ∈ ℝ <sup>3</sup> that satisfies Ov = v, that is, v is an eigenvector of O corresponding to eigenvalue 1. Similarly, we define the unit vector v <sup>0</sup> ∈ ℝ <sup>3</sup> to be the axis of the rotation O <sup>0</sup> est <sup>. Then, we calculate the angle between the</sup> axes of the rotations as - e1 = cos <sup>�1</sup> v <sup>T</sup> v <sup>0</sup> : (30) The angle of rotation of the matrix O around its axis v is given by θ1 = cos <sup>�1</sup> ðu - OuÞ, where u ∈ ℝ <sup>3</sup> is a unit vector perpendicular to v. Similarly, we define θ2 to be the angle of rotation of the matrix O <sup>0</sup> est <sup>around</sup> its axis v <sup>0</sup> . The error in the rotation angle is then defined as e2 = ∣θ1 � θ2∣: (31) We start by investigating the appropriate value for the downsampling parameter nds (see Section 6). To that end, for each of the volumes in Table 1, we create its rotated and shifted copy and apply our algorithm with the downsampling parameter equal to 16, 32, 64, and 128 (namely, we actually align downsampled copies of the volumes and then apply the estimated parameters to the original volumes). The results are shown in Figure 2. For each value of downsampling, we show a bar plot that summarizes the results for all test volumes. Note that these results are without the refinement procedure of Section 7. To provide a more detailed information on the chosen downsampling value, we show in Figure 3 only the results for downsampling to sizes 64 and 128. Based on these results, we use a downsampling value of 64 in all subsequent tests. In particular, this value of downsampling results in an accurate initialization of the refinement procedure of Section 7, as shown in Figure 4. As of timing, we show in Figure 5 the timing, without and with refinement, for downsampling to sizes 64 and 128. g g g Figure 2. Downsampling parameter versus accuracy of the algorithm. The left figure corresponds to the error e1 in the rotation axis (see (30)). The right figure corresponds to the error e2 in the rotation angle (see (31)). Figure 3. Downsampling parameter versus accuracy of the algorithm, focused on 64 and 128. See Figure 2 for more details. Next, we wish to determine the number of reference projections N to use in Algorithms 1 and 2. We set the downsampling parameter to 64 and measure the estimation error for different numbers of reference projections. The results are summarized in Figure 6. We also show the timing for different numbers of reference projections, without and with refinement, in Figure 7. Based on these results, we choose the number of reference projections to be 30, as a good compromise between accuracy and speed. p y Figure 4. Error without (left figure) and with (right figure) refinement for downsampling to size 64 64 - 64. The error reported in the figure is either e1 (30) or e2 (31), as shown in the x-axis. Figure 5. Timing of the alignment algorithm with downsampling to sizes 64 and 128. NR stands for “without refinement”; R stands for “with refinement.” Next, we compare the performance of our algorithm with that of EMAN2’s and Xmipp’s alignment algorithms. The accuracy and timing results are summarized in Tables 2 and 3, respectively. Finally, we demonstrate the performance of the different algorithms for noisy input volumes. To that end, we use as a reference volume EMD 2660 <sup>(22)</sup> from EMDB (of size 360 - 360 - 360 voxels) and create its rotated and translated copy. We add to the reference volume and its rotate/translated copy additive Gaussian noise with SNR (signal-to-noise ratio) ranging from 1 to 1/256 A central slice from the noisy reference volume g g g Figure 6. Error versus the number of reference projections N. The left and right figures show the error without and with the refinement procedure of Section 7, respectively. The error reported in this figure is the sum e1 þ e2 given in (30) and (31). Figure 7. Time versus the number of reference projections. at different levels of SNR is shown in Figure 8. The accuracy results of all algorithms for the various SNRs are shown in Table 4. The timings of the different algorithms are shown in Table 5. 9. Discussion and Conclusions In this paper, we proposed a fully automatic method for aligning three-dimensional volumes with respect t t ti t l ti d fl ti Whil th t f th l ith b t d h p y Table 2. Accuracy comparison with EMAN2 and Xmipp. Sym EMDID EMalign(NR) EMalign(R) EMAN Xmipp C1 2660 2.802 0.094 0.094 5.557 C2 667 3.747 0.223 0.121 7.181 C3 731 8.664 5.131 0.135 48.058 C4 882 1.952 0.041 0.408 0.317 C5 21376 2.949 0.358 0.507 15.445 C7 11516 3.961 0.397 0.153 5.745 C8 21143 1.502 0.536 0.455 2.778 C11 6458 2.825 0.116 0.046 0.314 D2 30913 6.273 0.035 0.425 0.141 D3 20016 3.499 0.075 0.033 1.564 D4 22462 6.016 0.126 0.095 0.251 D7 9233 4.034 0.063 0.029 5.866 D11 21140 3.183 0.042 0.247 0.127 T 4179 1.324 0.556 0.348 6.246 I 24494 3.268 0.030 0.114 0.028 Mean 3.733 0.522 0.214 6.641 Std 1.945 1.288 0.168 12.206 Note. The errors reported in this table are the sum e1 þ e2 given in (30) and (31). Errors are given in degrees. For EMalign, (NR) corresponds to “without refinement” and (R) to “with refinement.” The two bottom rows show the mean and standard deviation of the error (in degrees) over all experiments. Table 3. Timing comparison with EMAN2 and Xmipp (in seconds). Sym EMDID size EMalign(NR) EMalign(R) EMAN Xmipp C1 2660 360 49 130 172 2106 C2 667 480 80 235 354 5812 C3 731 486 85 173 351 5582 C4 882 160 18 55 66 91 C5 21376 256 24 58 155 529 C7 11516 512 78 216 425 6854 C8 21143 256 33 55 120 698 C11 6458 448 54 151 276 3854 D2 30913 110 16 34 55 37 D3 20016 384 41 105 197 2214 D4 22462 320 29 87 201 1095 D7 9233 400 40 124 171 2970 D11 21140 324 35 79 197 1175 T 4179 200 21 59 80 246 I 24494 432 54 158 281 3313 Note. For EMalign, (NR) corresponds to “without refinement” and (R) to “with refinement”. The column “size” is the side length of the input volumes. needed, we showed that the default parameters work very well for a wide range of volumes of various symmetries. We also developed an auxiliary algorithm, which finds the orientation of a volume giving rise to a given projection image (Section 5). This algorithm may serve as a fast and highly accurate substitute to projection matching. g g g Figure 8. Central slice of the noisy reference volume at different SNRs. Table 4. Accuracy comparison for noisy input volumes at different SNRs. SNR EMalign(NR) EMalign(R) EMAN Xmipp Clean 4.066 0.143 0.072 0.968 1 3.715 0.145 0.072 0.898 1/2 1.827 0.150 0.072 0.851 1/8 5.733 0.291 0.072 0.728 1/32 5.014 3.318 0.095 0.811 1/64 4.283 0.598 0.105 1.124 1/128 2.727 0.691 0.202 1.177 1/256 4.449 25.089 0.124 1.598 1/512 92.569 97.549 0.288 1.662 Note. See Table 2 for more details. Table 5. Timing comparison for noisy input volumes at different SNRs. SNR EMalign(NR) EMalign(R) EMAN Xmipp Clean 33 102 181 2097 1 35 122 176 2091 1/2 39 97 175 2177 1/8 33 105 170 2121 1/32 33 100 155 1991 1/64 38 97 157 2125 1/128 39 113 179 2297 1/256 36 101 163 2092 1/512 39 92 167 2365 p y The core difference between our approach and other existing approaches is that our approach is based on common lines between projection images generated from the volumes. The advantage of this approach is that inspecting each candidate rotation is very fast, as it is based on one-dimensional operations on the common lines (OðnÞ operations for volumes of size n - n - n). We also note that our cost function (26) for identifying the optimal alignment is different than in other algorithms. While the typical cost function used by alignment algorithms is the correlation between the volumes, our cost function is the average correlation of the common lines between projection images of the volumes. These two cost functions are not equivalent, and while in our experiments we have not identified a scenario where one cost function is superior over the other, having tools that are based on different principles may prove beneficial in the future. From the comparison of our algorithm with the alignment algorithms in EMAN2 and Xmipp, we conclude that our algorithm can be used in one of two modes. If we are interested in fast alignment with good accuracy (average error of 1.9 degrees of the rotation axis, and average error of 1.86 degrees of the in-plane rotation angle, with standard deviations of 1.25 degrees and 1.3 degrees, respectively), we can use our algorithm without the refinement procedure of Section 7. This is appropriate, for example, for visualization, as such an initial alignment is sufficient as an input for high resolution optimization-based alignment algorithms, such as the one in Chimera <sup>(3)</sup> . In such a case, our algorithm is more than 3 times faster than EMAN2’s algorithm (even though our algorithm is implemented entirely in Python), and almost 40 times faster than Xmipp’s algorithm. If we are interested in very low alignment errors, the refinement procedure of Section 7 brings the average errors down to 0.25 degrees for the rotation axis and 0.28 degrees for the in-plane rotation angle (with standard deviations of 0.66 degrees and 0.63 degrees, respectively). In such a case, our algorithm is 80% faster than EMAN2’s and 15 times faster than Xmipp’s. As of noise robustness, we see from Table 4 that our algorithm performs well down to SNR = 1/128. The algorithms in EMAN2 and Xmipp give very accurate results at even lower SNRs, but at the cost of a much higher running time. As a future research direction, there are several ways to improve the robustness of our algorithm to noise. First, as our algorithm is based on generating projection images of the volumes, it is possible to apply image denoising methods to the projection images. Then, it is possible to incorporate denoising into the common lines matching step (step 4 in Algorithm 2), for example, by denoising the common lines as one-dimensional signals or by incorporating frequency-dependent weights into (26). This is expected to significantly improve the robustness of our algorithm to noise while increasing its running time only slightly. Competing interest. The authors declare no competing interests exist. Authorship contribution. Conceptualization: Y.S.; Funding acquisition: Y.S.; Methodology: Y.H. and Y.S.; Software: Y.H. and Y.S.; Supervision: Y.S.; Writing—original draft: Y.H. and Y.S. All authors approved the final submitted draft. Funding statement. This research was supported by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement 723991—CRYOMATH) and by the NIH/NIGMS Award R01GM136780–01. Data availability statement. [Code and documentation of the algorithm are available on https://pypi.org/ and at https://github.com/](https://pypi.org/) [ShkolniskyLab/emalign.](https://github.com/ShkolniskyLab/emalign) References 1. Singer A & Shkolnisky Y (2012) Center of Mass Operators for Cryo-EM–Theory and Implementation, pp. 147–177. Boston, MA: Springer US. 2. Van Heel M & Schatz M (2005) Fourier shell correlation threshold criteria. J Struct Biol 151(3), 250–262. 3. Pettersen EF, Goddard TD, Huang CC, et al. (2004) UCSF chimera–a visualization system for exploratory research and analysis. J Comput Chem 25(13), 1605–1612. 4. Yu L, Snapp RR, Ruiz T & Radermacher M (2013) Projection-based volume alignment. J Struct Biol 182, 93–105. 5. Radermacher M (1994) Three-dimensional reconstruction from random projections: orientational alignment via Radon g g g 6. de la Rosa-Trevín JM, Otón J, Marabini R, et al. (2013) Xmipp 3.0: an improved software suite for image processing in electron microscopy. J Struct Biol 184(2), 321–328. 7. Chen Y, Pfeffer S, Hrabe T, Schuller JM & Förster F (2013) Fast and accurate reference-free alignment of subtomograms. J Struct Biol 182(3), 235–245. 8. Kovacs JA & Wriggers W (2002) Fast rotational matching. Acta Crystallogr Sect D 58(8), 1282–1286. 9. Kuglin C.D & Hines D.C. (1975) The phase correlation image alignment method. Proc. Int. Conf. on Cybernetics and Society 163–165. 10. Tang G, Peng L, Baldwin PR, et al. (2007) EMAN2: an extensible image processing suite for electron microscopy. J Struct Biol 157, 38–46. 11. [EMAN Manual page. Align3D. https://blake.bcm.edu/emanwiki/Align3D (accessed 20 March 2023).](https://blake.bcm.edu/emanwiki/Align3D) 12. van Heel M (1999) Pointgroup symmetry of oligomeric macromolecules. Structure 7, 1575–1583. 13. Cucuringu M, Singer A & Cowburn D (2012) Eigenvector synchronization, graph rigidity and the molecule problem. J IMA 1 (1), 21–67. 14. Arun KS, Huang TS & Blostein SD (1987) Least-squares fitting of two 3-D point sets. IEEE Trans Pattern Anal Mach Intell 5, 698–700. 15. Singer A & Shkolnisky Y (2011) Three-dimensional structure determination from common lines in cryo-EM by eigenvectors and semidefinite programming. SIAM J Imaging Sci 4(2), 543–572. 16. Shkolnisky Y & Singer A (2012) Viewing direction estimation in cryo-EM using synchronization. SIAM J Imaging Sci 5(3), 1088–1110. 17. Barnett AH, Magland JF & af Klinteberg L (2019) A parallel non-uniform fast Fourier transform library based on an “exponential of semicircle” kernel. SIAM J Sci Comput� pf f i f f i f f i f f i f 41 f i f �(5), C479–C504. 18. Barnett AH (2021) Aliasing error of the exp β 1 - z <sup>2</sup> kernel in the nonuniform fast Fourier transform. Appl Comput Harmon Anal 51, 1–16. 19. Press WH, Teukolsky SA, Vetterling WT & Flannery BP (2007) Numerical Recipes, 3rd ed. Cambridge, USA: Cambridge University Press. 20. [ASPIRE - algorithms for single particle reconstruction. http://spr.math.princeton.edu/.](http://spr.math.princeton.edu/) 21. Lawson CL, Patwardhan A, Baker ML, et al. (2015) EMDataBank unified data resource for 3DEM. Nucl Acid Res 44(D1), D396–D403. 22. Wong W, Bai X, Brown A, et al. (2014) Cryo-EM structure of the plasmodium falciparum 80s ribosome bound to the antiprotozoan drug emetine. eLife 3, e03080. 23. Singer A, Zhao Z, Shkolnisky Y & Hadani R (2011) Viewing angle classification of cryo-electron microscopy images using eigenvectors. SIAM J Imaging Sci 4, 723–759. 24. Reddy BS & Chatterji BN (1996) An FFT-based technique for translation, rotation, and scale-invariant image registration. IEEE Trans Image Process 5(8), 1266–1271. A. Appendix. Common lines In this section, we review the Fourier projection slice theorem and its induced common line property. Given a volume ϕ and a rotation matrix R, the projection image of ϕ corresponding to orientation R is given by (5). We identify Rð <sup>3</sup> Þ (the third column of R) as the viewing direction of ϕ (see <sup>(23)</sup> ). The first two columns Rð <sup>1</sup> Þ and Rð2Þ of R form an orthonormal basis for a plane in ℝ3 which is perpendicular to the viewing direction Rð <sup>3</sup> Þ . Therefore, if Ri and Rj are two rotations with the same viewing direction (Rði <sup>3</sup> Þ = Rðj <sup>3</sup> Þ <sup>), then the two projection images Pi</sup> <sup>and Pj</sup> <sup>generated according to (5) look the same up to some in-plane</sup> rotation. The Fourier projection slice theorem relates the two-dimensional Fourier transform of a projection image P to the threedimensional Fourier transform of ϕ. Let - Pb ωx,ωy = ðð ð Þe <sup>�i</sup> ð <sup>xωx</sup> <sup>þyωy</sup> Þdxdy ℝ <sup>2</sup> <sup>P</sup> <sup>x,y</sup> be the two-dimensional Fourier transform of Pðx,yÞ, and let - bϕ ωx,ωy,ωz = ∭ ℝ3 ϕðx,y,zÞe <sup>�i</sup> ð <sup>xωxþyωyþzωz</sup> Þdxdydz be the three-dimensional Fourier transform of ϕðx,y, zÞ. The Fourier projection slice theorem <sup>(16)</sup> states that Pb�ωx,ωy� = <sup>b</sup> ϕ�ωxRð <sup>1</sup> Þ þ ωyRð2Þ�, (A.1) where P is defined in (5). (Equation A.1) states that the two-dimensional Fourier transform of each projection image P is equal to a planar slice of the three-dimensional Fourier transform of ϕ. Moreover, it states that this planar slice is the plane ωxRð <sup>1</sup> Þ þ ωyRð2Þ. The Fourier projection slice theorem (A.1) holds, up to discretization errors, also for discrete volumes and their sampled projection images. From (A.1), we get that any two Fourier transformed projection images P <sup>b</sup> i and P <sup>b</sup> j with different viewing directions (Rði <sup>3</sup> Þ 6¼ Rðj <sup>3</sup> Þ <sup>Þ</sup> are equal to two different planar slices from <sup>b</sup> ϕ. Since there exists a line that is common to both planar slices, the two Fourier transformed images share a common line. We refer to that line as the common line between Pi and Pj. We denote the angle that this p y line makes with the local x-axis of the (Fourier transformed) images P <sup>b</sup> i and P <sup>b</sup> j by αij and αji, respectively. Mathematically, the common line property is expressed as <sup>(16)</sup> - - - Pbi ξ cos αij,ξ sinαij = P <sup>b</sup> j ξ cos αji,ξ sin αji, ξ ∈ ℝ, implying that the samples of the Fourier transformed images along the common line are equal. - - ξ cos αij,ξ sinαij = P <sup>b</sup> j ξ cos αji,ξ sin αji Pbi ξ cos αij,ξ sinαij To find an expression for the angles αij and αji, we consider the unit vector qij = kR <sup>R</sup> ðiði <sup>33</sup> ÞÞ �� RRðjðj <sup>33</sup> ÞÞ <sup>k</sup>, where � is the cross product between vectors. Define the unit vectors cij = �cos αij, sin αij,0�T, cji = �cos αji, sin αji,0�T : It can be shown <sup>(16)</sup> that these vectors satisfy the equation Ricij = qij = Rjcji, which implies that cij and cji can be computed as cij = R <sup>T</sup> i <sup>T</sup> i <sup>q</sup> ij <sup>,</sup> <sup>cji = RT</sup> i cij = R <sup>T</sup> i <sup>q</sup> ij <sup>,</sup> <sup>cji = RT</sup> i <sup>q</sup> ij <sup>,</sup> from which αij and αji can be easily extracted. B. Appendix. Constructing the set S We generate the set of candidate rotations S by using the Euler angles representation for rotations. Let L be a positive integer, and let τ,θ,φ be Euler angles. We construct S by sampling the Euler angles in equally spaced increments as follows. First, we sample - τ ∈ 0, …, <sup><u>π</u></sup> 2 at ⌊ <sup><u>L</u></sup> 4 <sup>⌋</sup> <sup>points. Then, for each τ, we sample θ ∈</sup> f <sup>0,</sup> <sup>…,</sup> <sup>π</sup> g at ⌊ <sup><u>L</u></sup> 2 <sup>sinðτÞ⌋</sup> <sup>points. Finally, for each pair</sup> ð <sup>τ,θ</sup> Þ, we sample φ ∈ f0,…,2πg at ⌊ <sup><u>L</u></sup> 2 <sup>sinðτÞ</sup> <sup>sin</sup> ð <sup>θ</sup> Þ⌋ points. For each ðτ,θ,φÞ on this grid, we compute a corresponding rotation matrix R by - 0, …, <sup><u>π</u></sup> 2 at ⌊ <sup><u>L</u></sup> 4 <sup><u>L</u></sup> 4 <sup>⌋</sup> <sup>points. Then, for each τ, we sample θ ∈</sup> f <sup>0,</sup> <sup>…,</sup> <sup>π</sup> g at ⌊ <sup><u>L</u></sup> 2 <sup><u>L</u></sup> 2 <sup>sinðτÞ</sup> <sup>sin</sup> ð <sup>θ</sup> Þ⌋ points. For each ðτ,θ,φÞ on this grid, we compute a corresponding rotation matrix R by R = RzðτÞRyðθÞRxðφÞ, where 0 B B @ 0 B B @ 0 1 C CA <sup>,</sup> RzðτÞ = RyðθÞ = cos τ - sinτ 0 sin τ cos τ 0 0 0 1 cos θ 0 sin θ 0 1 0 - sinθ 0 cos θ 1 0 0 0 cos φ �sin φ 0 sinφ cos φ 1 C CA <sup>,</sup> 1 C CA <sup>:</sup> RxðφÞ = B B @ C. Appendix. Translation estimation For completeness, we review the well-known phase correlation procedure for translation estimation <sup>(9)</sup> . Consider two volumes ϕ1 and ϕ2 shifted relative to one another, that is, where t = �Δx,Δy, Δz�T ∈ ℝ3. Our goal is to estimateϕ2ðrÞ = t ϕ. 1ðr � tÞ, r = ðx, y,zÞ <sup>T</sup> ∈ ℝ <sup>3</sup>, (C.2) First, by the Fourier shift property, the Fourier transforms of ϕ1 and ϕ2 satisfy - - - bϕ2 ωx,ωy,ωz = <sup>b</sup> ϕ1 ωx,ωy,ωz e <sup>�i</sup> ð <sup>ωxΔxþωyΔy</sup> <sup>þωz</sup> <sup>Δz</sup> Þ: (C.3) From (C.3), we get <sup>(24)</sup> - - ωx,ωy,ωz = <sup>b</sup> ϕ1 ωx,ωy,ωz bϕ2 ωx,ωy,ωz ∗ <u>∗∣</u> <u>∗</u> 1 <sup>∣</sup> - bρ ωx,ωy,ωz = bϕ1bϕ2 ∣ <sup>b</sup> ϕ1 <sup>b</sup> ϕ2 = bϕ1bϕ ∗1 <sup><u>ei</u></sup> ð <sup>ωx</sup> <sup>Δx</sup> <sup>þωyΔyþωzΔz</sup> Þ ∣ <sup>b</sup> ϕ1 <sup>b</sup> ϕ1 (C.4) = e <sup>i</sup> ð <sup>ωxΔxþωyΔy</sup> <sup>þωz</sup> <sup>Δz</sup> Þ, since ∣e <sup>i</sup> ð <sup>ωxΔxþωy</sup> <sup>Δyþωz</sup> <sup>Δz</sup> Þ∣ = 1. Then, since the inverse Fourier transform of a complex exponential is a Dirac delta, we have g g g - ρðx,y, zÞ = δ x þ Δx, y þ Δy,z þ Δz : (C.5) Therefore, t = �Δx,Δy,Δz�T is given by �Δx,Δy,Δz�T is given by ρðx,y, zÞ = δ x þ Δx, y þ Δy,z þ Δz ðΔx, Δy,ΔzÞ = � argmax ðx, y, zÞ ρðx,y,zÞ: (C.6) While this appendix is formulated in the continuous domain, the same holds if we replace ϕ1 and ϕ2 by their discrete versions sampled on a regular grid and replace the Fourier transform by the discrete Fourier transform. Cite this article: Harpaz Yand Shkolnisky Y (2023). Three-dimensional alignment of density maps in cryo-electron microscopy.

섹션 본문 102문단 · 36,932자

(제목 없음)

1A common task in cryo-electron microscopy (cryo-EM) data processing is to compare three-dimensional density maps of macromolecules.In this paper, we propose an algorithm for aligning three-dimensional density maps that exploits common lines between projection images of the maps.The algorithm is fully automatic and handles rotations, reflections (handedness), and translations between the maps.In addition, the algorithm is applicable to any type of molecular symmetry without requiring any information regarding the symmetry of the maps.We evaluate our alignment algorithm on publicly available density maps, demonstrating its accuracy and efficiency.The algorithm is available at https://github.com/ShkolniskyLab/emalign.

Introduction

2Single particle cryo-electron microscopy (cryo-EM) is a method to determine the three-dimensional structure of biological macromolecules from their two-dimensional projection images acquired by an electron microscope [1].In this method, a sample of identical copies of the investigated molecule is quickly frozen in a thin layer of ice, where each copy is frozen at an unknown random orientation.The frozen sample is imaged by an electron microscope, resulting in two-dimensional images, where each image is a tomographic projection of one of the randomly oriented copies in the ice layer.The goal of single particle cryo-EM is to determine the three-dimensional structure of the molecule from the acquired two-dimensional images.A common task in cryo-EM data processing is to compare two density maps of the same molecule.This is required, for example, for estimating the resolution of the maps, evaluating their Fourier shell correlation curve [2], or to analyze their different conformations.All these tasks require to first align two density maps, that is, to orient them in the same way in a common coordinate system.Due to the nature of the cryo-EM imaging process, the two density maps may differ not only in their three-dimensional orientation (that is, their "rotation"), but may also have different handedness (namely, reflected relative to each other), and may be centered differently with respect to a common coordinate system.

3In this paper, we propose an algorithm for aligning two density maps, which is fully automatic and can handle rotations, translations, and reflections between the maps.The algorithm requires as an input only the two density maps.In particular, it does not assume knowledge of any other information such as the symmetry of the maps.

4Formally, let φ 1 : R 3 → R and φ 2 : R 3 → R be two volumes such that

5where r = (x, y, z) T ∈ R 3 , O ∈ O(3) and t = (∆x, ∆y, ∆z) T ∈ R 3 (O(3) is the group of all orthogonal transformations of the three-dimensional space, namely, rotations and reflections).The alignment problem is to estimate O and t given φ 1 and φ 2 .The matrix O is known as the orientation parameter, and the vector t as the translation parameter.In practice, we only get samples of φ 1 and φ 2 , arranged as three-dimensional arrays of size n × n × n, where n is the resolution of sampling.In cryo-EM, φ 1 and φ 2 represent two reconstructions of the same underlying molecule that we would like to compare (such as two half maps from a refinement process).In principle, it is possible to approximate the solution to the alignment problem using exhaustive search, by generating a set of candidate pairs (O i , t i ), where

Existing methods

6There exist several methods for three-dimensional alignment of molecular volumes.The Chimera software [3] offers a semi-automatic alignment method which requires the user to approximately align the volumes manually, and then refines this alignment using an optimization procedure.This means that a sufficiently accurate initial approximation for the alignment is required.Achieving this initial approximate alignment manually naturally takes time and effort, yet it is crucial for the success of Chimera's alignment algorithm.The alignment procedure implemented by Chimera maximizes the correlation or overlap function between the two volumes by using a steepest descent optimization.The iterations of this optimization stop after reaching convergence or after 2,000 steps.Another alignment method is the projection based volume alignment algorithm (PBVA) [4].This method aligns a target volume to a reference volume by aligning multiple projections of the reference volume to the target volume whose orientation is unknown.The PBVA algorithm is based on finding two identical projections, a projection P 1 from the reference volume and a projection P 2 from the target volume as follows.The reference volume is projected at some known Euler angles, resulting in a projection P 1 , and the matching projection P 2 is found by maximizing the cross-correlation function between P 1 and a set of projections representing the possible projections of the target volume.The cross-correlation function is of five parameters -three Euler angles and two translation parameters in the plane of the projection P 2 [5].Finally, the rotation between the volumes is estimated from the relation between the Euler angles corresponding to the projections P 1 and P 2 .After estimating the rotation between the volumes, the translation between them is found using projection images from the target volume.The translation between the volumes is estimated by least-squares regression using the two translation parameters of each projection from the target volume, where a minimum of two projections is required for calculating the three-dimensional translation vector.Using multiple projection images to estimate the translation between the volumes makes the alignment more robust.

7The Xmipp software package [6] also offers a three-dimensional alignment algorithm.It is based on expanding the two volumes using spherical harmonics followed by computing the cross-correlation function between the two spherical harmonics expansions representing the volumes [7].The process of expanding a volume into spherical harmonics is called the Spherical Fourier Transform (SFT) of the volume, where like the FFT algorithm, there exists an efficient algorithm for calculating the SFT [7].The process of calculating the cross-correlation function between the two spherical harmonics expansions of the volumes and estimating the rotation between the two volumes is implemented by a fast rotational matching (FRM) algorithm [8].After estimating the rotation between the two volumes, the translation between them is found by using the phase correlation algorithm [9].

8Finally, the EMAN2 software package [10] offers two three-dimensional alignment algorithms.In the first algorithm (implemented by the program e2align3d, now mostly obsolete), the rotation between the volumes is estimated using an exhaustive search for the three Euler angles of the rotation.First, the algorithm generates a set of candidate Euler angles with large angular increments.Then, the algorithm iteratively decreases the angular increments in the set of candidates in order to refine the resolution of the angular search [11].A much faster tree-based algorithm is implemented in the program e2proc3d.This method performs three-dimensional rotational and translational alignment using a hierarchical method with gradually decreasing downsampling in Fourier space.In Section 8, we compare our algorithm to this latter algorithm, as well as to the fast rotational matching algorithm implemented by Xmipp.In practice, it may be that R is not determined uniquely by P , as for example, a volume may have two very similar views even if it is not symmetric.Moreover, the volumes to align are discretized and sometimes noisy, which introduces inaccuracies into the estimation of O. Thus, to estimate O more robustly, instead of using a single image P , we generate from φ 2 multiple images P 1 , . . ., P N with orientations R 1 , . . ., R N , align each P i to φ 1 as above, resulting in estimates for O given by O i = Ri R T i , and then estimate O from all O i simultaneously by solving

9where • F is the Frobenius matrix norm.In Section 4, we give an explicit solution for the latter optimization problem.

10The key of the above procedure is estimating the orientation of a projection image P of φ 2 in the coordinate system of φ 1 .This is done by inspecting a large enough set of candidate rotations, and finding the rotation R for which the induced common lines between P (when assuming its orientation is R) and a set of projections generated from φ 1 best agree.As inspecting each candidate rotation involves only one-dimensional operations (even if the input volumes are centered differently), it is very fast and highly parallelizable.Thus, this somewhat brute-force approach is applicable to very large sets of candidate rotations (several thousands, for accurate alignment) and still results in a fast algorithm.We discuss below the complexity and advantages of this approach.We summarize the outline of our approach in Fig. 1, and describe it in detail in Sections 4 and 5.

11In the above approach, we assume that O is a rotation.However, φ 1 and φ 2 may have a different handedness, and so O may include a reflection.The above approach can obviously be used to resolve the handedness by aligning φ 2 to φ 1 and to a reflected copy of φ 1 , and determining whether a reflection is needed using some quality score of the alignment parameters (e.g., the correlation between the aligned volumes).However, as we show below, in our method, there is no need to actually align φ 2 to a reflected copy of φ 1 , saving roughly half of the computations (those required to actually align φ 2 to a reflected copy of φ 1 ), as explained in Section 4.

12We next explain in detail the various steps of our algorithm, including handling translations, reflections, and symmetry in the volumes.

Estimating the alignment parameters

13Consider two volumes φ 1 and φ 2 , where one volume is a rotated copy of the other (assuming for now no reflection nor translation between the volumes), namely (see (1))

14where O is an unknown rotation matrix.Our goal is to find an estimate for O.

15In case where φ 1 and φ 2 exhibit symmetry, the solution for O is not unique.To be concrete, we denote by SO(3) the group of all 3 × 3 rotation matrices.A group G ⊆ SO(3) is a symmetry group of a volume φ, if for all g ∈ G it holds that φ(r) = φ(gr), r = (x, y, z)

16In other words, a symmetry group of a volume is a group of rotations under which the volume is invariant (see [12] for more details).If we denote the symmetry group of φ 1 by G 1 ⊆ SO(3) and define r = Or, then, from ( 2) and (3), we get for any symmetry element g ∈ G 1

17Comparing the latter with (2), we conclude that the solution for O is not unique, and we thus replace the goal of finding O by finding any gO for some arbitrary element g ∈ G 1 of the symmetry group.Note that we assume that O is a rotation, namely that φ 1 and φ 2 are related by rotation without reflection.The case where O is a reflection will be considered below.Let P be a projection image generated from φ 2 using a rotation R, that is

18where R (1) , R (2) , R (3) are the columns of the matrix R and r = (x, y, z) T .From (2), we have that

19Thus, using (5), we have

20Equation ( 7) implies that if P has orientation R with respect to φ 2 , then it has orientation OR with respect to φ 1 .In Section 5, we describe how to estimate OR given P and φ 1 , namely, how to estimate a rotation R that satisfies R = OR.

21If the volume φ 1 is symmetric with symmetry group G 1 , then (as shown above) the rotation OR is equivalent to the rotation gOR for any g ∈ G 1 , and moreover, the two rotations cannot be distinguished.Thus, we conclude that R = gOR for some unknown g ∈ G 1 .Using the latter equation, we can estimate O as

22Note that in the latter equation R is known, R can estimated using the algorithm in Section 5 below, and g can be arbitrary.Thus, (8) provides a means for estimating O.However, to estimate O more robustly, we use multiple projections generated from φ 2 .Let R 1 , . . ., R N be random rotations, and let P 1 , . . ., P N be the corresponding projections generated from φ 2 according to (5).Using the procedure described above, we estimate for each P i a rotation Ri that satisfies Ri = g i OR i for some unknown g i ∈ G 1 .Thus, as in (8), we can estimate O using any i ∈ {1, . . ., N } by

23Contrary to (8), if we want the right hand side of (9) to result in the same O for all i = 1, . . ., N , then g i cannot be arbitrary.In order to estimate O, we therefore need to find g i , i = 1, . . ., N , and combine all estimates for O given in ( 9) into a single estimate.

24To that end, define

25and look at the matrix H of size 3N × 3N whose (i, j) block of size 3 × 3 is given by (see ( 9) and ( 10))

26By a direct calculation, we get that the matrix of size

27where W is an arbitrary 3 × 3 orthogonal matrix (i.e., W W T = W T W = I) satisfies

28Equation ( 11) also shows that the matrix H is of rank 3, which together with (13) implies that g can be calculated by arranging the three leading eigenvectors

29whose 3×3 blocks V 1 , . . ., V N are g 1 W, . . ., g N W , for some unknown arbitrary W (see [13] for a detailed derivation).

30In practice, at this point, we replace each g i W by its closest orthogonal transformation, as described in [14], to improve its accuracy in the presence of noise and discretization errors.Next, in order to extract an estimate for g 1 , . . ., g N from ( 14) (that is, to eliminate W from the estimates in g given by ( 12)), we multiply each g i W by (g 1 W )

31T , resulting in

32Thus, each g esti is a rotation, even if W is not.We define O i = g T esti Ri R T i , and using (9), we get for i = 1, . . ., N

33Thus, we have N estimates for g 1 O. Equation ( 4) states that φ 2 (r) = φ 1 (Or) = φ 1 (gOr) for any symmetry element g ∈ G 1 .Therefore, estimating g 1 O is equivalent to estimating O.In order to estimate g 1 O simultaneously from all O i , i = 1, . . ., N , we search for the rotation O

34est (the superscript will be explained shortly) that satisfies

35In other words, O

36est is the "closest" to all the estimated rotations O i in the least squares sense.To solve (17), let Õ be the 3 × 3 matrix

37In [15], it is proven that the solution to the optimization problem in (17) is

38Eq. ( 5) 3: Apply Algorithm 2 to each P i and φ 1 .Denote the resulting rotations by

39Eq. ( 14) 9: Compute

40Eq. ( 15) 10: for i = 1 to N do 11:

41Eq. ( 16)

Estimated rotation

42where Õ = Ũ Σ Ṽ T is the singular value decomposition (SVD) of Õ.The algorithm for estimating O (1) est given φ 1 and φ 2 , as described above, is presented in Algorithm 1.

43To handle the case where φ 1 and φ 2 have a different handedness (namely, related by reflection), we can of course apply Algorithm 1 to φ 2 and a reflected copy of φ 1 .However, this would roughly double the runtime of the estimation process, as the most time consuming step in Algorithm 1 is step 3, whose complexity is O(n 3 log n) operations for a volume of size n × n × n voxels (see Section 5).

44Alternatively, it is possible to augment the above algorithm to handle reflections without doubling its runtime.In the case where there is a reflection between φ 1 and φ 2 , we need to replace the relation in ( 2) by the relation

45Note that J in ( 20) is a reflection and that O is a rotation.Repeating the above derivation starting from (20) shows that to estimate O in this case, we can use the same R i used above and the same estimates Ri obtained above (steps 1 and 3 of Algorithm 1), but this time we get that O i = g T i Ri JR T i J (compare with ( 9)).Then, we set X i = JR i J RT i (compare with (10)) and proceed as above, resulting in an estimate O

46est (compare with ( 17)), which corresponds to the optimal alignment parameters if φ 1 and φ 2 have opposite handedness.Once we have the two estimates O est using phase correlation [9] (see Appendix C for details).This results in two sets of alignment parameters (rotation+translation).We then apply both sets of parameters to φ 2 to align it with φ 1 , and pick the parameters for which φ 2 after alignment has higher correlation with φ 1 .We denote the estimated parameters by (O est , t est ).

Projection alignment

47It remains to show how to implement step 3 of Algorithm 1, that is, how to find the orientation of a projection P of φ 2 with respect to the coordinate system of φ 1 .Mathematically, we would like to solve the equation

48for the unknown rotation R. A brute-force approach of testing many candidate rotations in search for the R that (best) satisfies ( 21) is prohibitively expensive, as it requires to compute a projection of φ 1 for each candidate rotation (this is essentially projection matching).We therefore take a different approach, whose cost for inspecting each candidate rotation is much lower (in fact requires O(n) operations to test each candidate rotation for a volume φ 1 discretized into an array of size n × n × n).

49The idea is to generate several projection images from φ 1 , and then, for each candidate rotation, to check the agreement of the common lines between P and the projections of φ 1 , assuming the orientation of P is given by the candidate rotation.We estimate the rotation corresponding to P as the candidate rotation that results in the best agreement.We next formalize this method, and then analyze its complexity.

50We start by considering the case where there is no translation between P and φ 1 , namely, P and φ 1 satisfy (21), and our goal is to estimate R given P and φ 1 .We generate N projection images from φ 1 (N is typically small, see Section 8), denoted P

51N chosen uniformly at random (note that we deliberately reuse the notation N used in Section 4, as explained below) .We generate a set of candidate rotations S, over which we will search for the solution R of (21).The set S consists of a large number of approximately equally spaced rotations.See Appendix B for a detailed description of the construction of S.

52We will assume for each candidate rotation Q ∈ S that P was generated using the rotation Q (that is, we assume that R in ( 21) is equal to Q), compute the mean correlation of the common lines between P and P i , given by the angles α i in P and β i in P (a) i , as explained in Appendix A. The common line property [16] i , respectively (see Appendix A for a review of common lines and their properties).We thus define

53and the cost function

54where fi denotes the complex conjugate of f i .In other words, ρ(Q) measures how well the common lines induced by Q between P and P (a)

551 , . . ., P

56N agree.We then set our estimate for R to be

57We explore the appropriate value for N in Section 8. We now extend the above scheme to the case where P is not centered with respect to φ 1 , namely, P is given by

58for an unknown rotation R and an unknown translation (∆x, ∆y).The idea for estimating R is the same as before, except that the calculation of the common lines should take into account the unknown translation, as we describe next.We denote the unshifted version of P by P , which is given by

59(this is exactly (21), but we repeat it to clearly set up the notation).Then, P (x, y) = P (x + ∆x, y + ∆y).

60Taking the Fourier transform of both sides of the latter equation, we get that [1] P (ω x , ω y ) = P (ω x , ω y )e ı(ωx∆x+ωy∆y) .

61Suppose that the common line between P and P (a) i is given by the angles α i in P and β i in P (a) i (see Appendix A).By definition of the common line, it holds that

62Using (25), we get that P (ξ cos α i , ξ sin α i )e −ıξ∆ξ = P (a) i (ξ cos β i , ξ sin β i ), where ∆ξ = ∆x cos α i + ∆y sin α i is the one-dimensional shift between the projections along their common line.We assume that this one-dimensional shift is bounded by some number d.

63Thus, we need to modify our cost function (22) to take into account also the unknown (one-dimensional) phase e −ıξ∆ξ .We therefore define (with a slight abuse of notation in reusing the previous notation for the cost function)

64and the cost function

65and set our estimate for the solution R of ( 23) to be

66The formula for the angles α i and β i of the common line between P and P (a) i induced by the rotations Q ∈ S and R i is given in Appendix A. Note that at this point we are only interested in R est and not in the translation (∆x, ∆y) in P , as the relative translation between φ 1 and φ 2 is efficiently determined using phase correlation (see [9] and Appendix C) once we have determined their relative rotation.The algorithm for solving equation (23) As mentioned above, we use the same N in Sections 4 and 5.While in principle, the number of projections generated from φ 2 in Section 4 can be different from the number of projections generated from φ 1 in Section 5, due to the symmetric role of φ 1 and φ 2 in the alignment problem, there is no reason to consider different values.

Implementation and complexity analysis

67Algorithms 1 and 2 are formulated in the continuous domain.Obviously, to implement them, we must explain how to apply them to volumes φ 1 and φ 2 given as three-dimensional arrays of size n × n × n.We now explain how to discretize each of the steps of Algorithms 1 and 2, and analyze their complexity.For simplicity, we use for the discrete quantities the same notation we have used for the continuous ones.

68The only step in Algorithm 1 that needs to be discretized is step 2. This step is accurately discretized based on the Fourier projection slice theorem (32) using a non-equally spaced fast Fourier transform [17,18], whose complexity is O(n 3 log n) (for a fixed prescribed accuracy).The result of this step is a discrete projection image P given as a two-dimensional array of size n × n pixels.The remaining steps of Algorithm 1 are already discrete, and since the value of N is small compared to n, their complexity is negligible.

69We next analyze Algorithm 2. The input to this algorithm is a projection image P of size n×n pixels, and a volume φ 1 of size n×n×n voxels.The algorithm also uses the parameter N , but since it is a small constant, we ignore it in our complexity analysis.Step 1 of Algorithm 2 requires a constant number of operations.Step 2 is accurately implemented using a non-equally spaced fast Fourier transform [17,18], whose complexity is O(n 3 log n) (for a fixed prescribed accuracy).Step 3 is independent of the input volume, and moreover, the set S can be precomputed and stored.To implement step 4, we first discretize the interval of one-dimensional shifts [−d, d] in fixed steps of ∆d pixels (say, 1 pixel).Specifically, we use the following shift candidates for the optimization in step 4

70Then, for each Q ∈ S, we compute the angles α i and β i (see Appendix A), and evaluate (26) for the pair (Q, ∆ξ) by replacing the integral with a sum.If we store the polar Fourier transforms of all involved projection images P and P (a) 1 , . . ., P (a) N (computed using the non-equally spaced fast Fourier transform [17,18]), each such evaluation amounts to accessing the rays in the polar Fourier transform corresponding to the angles α i and β i , namely O(n) operations.Thus, the total number of operations required to implement step 4 of Algorithm 2 is |S| × ( 2d/∆d + 1) × n (|S| is the number of elements in the set S).Of course, all |S|×( 2d/∆d +1) evaluations are independent, and can be computed in parallel.Thus, the total complexity of Algorithm 2 is O(n 3 log n) operations for step 2 and O(n) operations for testing each pair (Q, ∆ξ) in step 4. Therefore, since the optimization in step 4 is very fast, it is practical to test even a very large set of candidate rotations S.

71Finally, we note that in practice, to further speed up the algorithm, we first downsample the input volumes to size n ds , align the two downsampled volumes, and apply the estimated alignment parameters to the original volumes.We demonstrate in Section 8 that this approach still results in a highly accurate alignment.

72To understand the theoretical advantage of the above approach, we compare it to a brute force approach.In the brute force approach, we 1) scan over a large set of rotations and three-dimensional translations, 2) for each pair of a rotation and a translation, we transform one of the volumes according to this pair of parameters, and 3) choose the pair for which the correlation between the volumes after the transformation is maximal.Testing each pair of candidate parameters requires O(n 3 ) operations (for rotating and translating one of the volumes, and for computing correlation), which amounts to a total of O(n 3 × |S| × (2d/∆d) 3 ) operations.In other words, testing each candidate rotation and translation is way more expensive than in our proposed method.In our approach, the expensive operation of complexity O(n 3 log n) needs to be executed only once per each pair of inputs P and φ 1 .Moreover, in our approach, the search over shifts is one-dimensional as opposed to the three-dimensional search required in the brute-force approach.

Parameters' refinement

73In this section, we describe an optional refinement procedure for improving the accuracy of the estimated parameters O est and t est obtained using the algorithm of Section 4.

74We define the vector Θ = (ψ, ϑ, ϕ, ∆ x , ∆ y , ∆ z ) consisting of the 6 parameters required to describe the transformation between two volumes -3 Euler angles (ψ, ϑ, ϕ) describing their relative rotation, and 3 parameters (∆x, ∆y, ∆z) describing their relative translation.We define the operator T Θ (φ), which applies the transformation parameters Θ to the volume φ (that is, T Θ first rotates the volume and then translates it, according to the parameters in Θ).Next, for given volumes φ 1 and φ 2 , we denote their correlation by ρ(φ 1 , φ 2 ).We are reusing the notation ρ from Section 5, since all occurrences of ρ in this paper correspond to a correlation coefficient whose evaluation formula is clear from its arguments.Finally, we define the objective function

75which vanishes for the parameters Θ that align φ 1 with φ 2 .

76To refine O est and t est of Section 4, we simply apply the BFGS algorithm [19] to the objective function (28), with an initialization given by O est and t est .

Results

77The alignment algorithm (with and without the optional refinement described in Section 7) was implemented in Python and is available online1 , including the code that generates the figures of this section.A Matlab version of the algorithm is available as part of the ASPIRE software package [20].

78As the algorithm uses two parameters -the downsampling n ds (see Section 6) and the number of reference projections N (see Section 4) -we first examine how to appropriately set their values.Then, we examine the advantage of the refinement procedure proposed in Section 7. To show the benefits of our algorithm in practice, we then compare its performance to that of two other alignment algorithms -the alignment algorithm from the EMAN2 software package [10] (implemented in the program e2proc3d) and the fast rotational matching algorithm implemented in the Xmipp software package [6].Finally, we examine the performance of the three algorithms using noisy input volumes.

79We tested our algorithm on volumes from the electron microscopy data bank (EMDB) [21] with different types of symmetries, whose properties are described in Table 1.All tests were executed on a dual Intel Xeon E5-2683 CPU (32 cores in total), with 768GB of RAM running Linux.The memory required by the algorithm is of the order of the size of the input volumes.We used 15, 236 candidate rotations in Algorithm 2 (the size of the set S), generated as described in Appendix B. This set of candidates is roughly equally spaced in the set of rotations SO(3).While it is difficult to characterize the resolution of this set in terms of the resolution of each of the Euler angles, a rough calculation suggests that the resolution in each of the Euler angles is smaller than 5 degrees.We do not use rotations generated by a regular grid of Euler angles, as such a grid is less efficient than our grid, due to the nonuniform rotations generated by a regular grid of Euler angles.For example, discretizing each of the Euler angles to 5 degrees would result in 186,624 rotations, more than an order of magnitude larger than the number of rotations we use.

80For each test, we generate a pair of volumes φ 1 and φ 2 related by a rotation matrix O and a translation vector t ∈ R 3 .The translation is chosen at random with magnitude up to 10% of the size of the volume.We denote the alignment parameters estimated by our algorithm by O est and t est .We evaluate the accuracy of our algorithm by calculating the difference between the rotations O and O est .To that end, we first note that following (4), O est is an estimate of gO for some arbitrary g ∈ G 1 , where G 1 ⊆ SO(3) is the symmetry group of φ 1 .In order to calculate the difference between O and O est , we have to find the symmetry element g.In our tests, the symmetry group G 1 is known (see Table 1), and so we find g by solving

81followed by defining O est = g T O est .Next, the error in the estimated rotation O est is calculated using the axis-angle representation of rotations as follows.The axis of the rotation O is defined to be the unit vector v ∈ R 3 that satisfies Ov = v, that is, v is an eigenvector of O corresponding to eigenvalue 1.Similarly, we define the unit vector v ∈ R 3 to be the axis of the rotation O est .Then, we calculate the angle between the axes of the rotations as

82The angle of rotation of the matrix O around its axis v is given by θ 1 = cos −1 (u • Ou), where u ∈ R 3 is a unit vector perpendicular to v. Similarly, we define θ 2 to be the angle of rotation of the matrix O est around its axis v .The error in the rotation angle is then defined as

83We start by investigating the appropriate value for the downsampling parameter n ds (see Section 6).To that end, for each of the volumes in Table 1, we create its rotated and shifted copy, and apply our algorithm with the downsampling parameter equal to 16, 32, 64, and 128 (namely, we actually align downsampled copies of the volumes and then apply the estimated parameters to the original volumes).The results are shown in Fig. 2. For each value of downsampling, we show a bar plot that summarizes the results for all test volumes.Note that these results are without the refinement procedure of Section 7. To provide a more detailed information on the chosen downsampling value, we show in Fig. 3 only the results for downsampling to sizes 64 and 128.Based on these results, we use a downsampling value of 64 in all subsequent tests.In particular, this value of downsampling results in an accurate initialization of the refinement procedure of Section 7, as shown in Fig. 4. As of timing, we show in Fig. 5 the timing, without and with refinement, for downsampling to sizes 64 and 128.Next, we wish to determine the number of reference projections N to use in Algorithms 1 and 2. We set the downsampling parameter to 64, and measure the estimation error for different numbers of reference projections.The results are summarized in Fig. 6.We also show the timing for different numbers of reference projections, without and with refinement, in Fig. 7. Based on these results, we choose the number of reference projections to be 30, as a good compromise between accuracy and speed.

84Next, we compare the performance of our algorithm with that of EMAN2's and Xmipp's alignment algorithms.The accuracy and timing results are summarized in Tables 2 and 3, respectively.Finally, we demonstrate the performance of the different algorithms for noisy input volumes.To that end, we use as a reference volume EMD 2660 [22] from EMDB (of size 360 × 360 × 360 voxels), and create its rotated and translated copy.We add to the reference volume and its rotate/translated copy additive Gaussian noise with SNR ranging from 1 to 1/256.A central slice from the noisy reference volume at different levels of SNR is shown in Fig. 8.The accuracy results of all algorithms for the various SNRs are shown in Table 4.The timings of the different algorithms are shown in Table 5.

Discussion and conclusions

85In this paper, we proposed a fully automatic method for aligning three-dimensional volumes with respect to rotation, translation, and reflection.While the parameters of the algorithm can be tuned whenever needed, we showed that the default parameters work very well for a wide range of volumes of various symmetries.We also developed an auxiliary algorithm which finds the orientation of a volume giving rise to a given projection image (Section 5).This algorithm may serve as a fast and highly accurate substitute to projection matching.The core difference between our approach and other existing approaches is that our approach is based on commons line between projection images generated from the volumes.The advantage of this approach is that inspecting each candidate rotation is very fast, as it is based on one-dimensional operations on the common lines (O(n) operations for volumes of size n × n × n).We also note that our cost function (26) for identifying the optimal alignment is different than in other algorithms.While the typical cost function used by alignment algorithms is the correlation between the volumes, our cost function is the average correlation of the common lines between projection images of the volumes.These two cost functions are not equivalent, and while in our experiments we have not identified a scenario where one cost function is superior over the other, having tools that are based on different principles may prove beneficial in the future.

86From the comparison of our algorithm with the alignment algorithms in EMAN2 and Xmipp, we conclude that our algorithm can be used in one of two modes.If we are interested in fast alignment with good accuracy (average error of 1.9 degrees of the rotation axis, and average error of 1.86 degrees of the in-plane rotation angle, with standard deviations of 1.25 degrees and 1.3 degrees, respectively), we can use our algorithm without the refinement procedure of Section 7.This is appropriate, for example, for visualization, as such an initial alignment is sufficient as an input for high resolution optimization-based alignment algorithms, such as the one in Chimera [3].In such a case, our algorithm is more than 3 times faster than EMAN2's algorithm (even though our algorithm is implemented entirely in Python), and almost 40 times faster than Xmipp's algorithm.If we are interested in very low alignment errors, the refinement procedure of Section 7 brings the average errors down to 0.25 degrees for the rotation axis and 0.28 degrees for the in-plane rotation angle (with standard deviations of 0.66 degrees and 0.63 degrees, respectively).In such a case, our algorithm is 80% faster than EMAN2's and 15 times faster than Xmipp's.

Figure 1 :

87Figure 1: Outline of the algorithm

88est for the alignment parameters between φ 1 and φ 2 (without and with reflection), we estimate the translation corresponding to each of O (1) est and O (2)

89choose as an estimate for R the rotation Q for which the mean correlation is highest.Specifically, for each Q ∈ S and R (a) i , i = 1, . . ., N , we compute the direction of the common line between P and P (a)

Figure 2 :

90Figure 2: Downsampling parameter vs. accuracy of the algorithm.The left figure corresponds to the error e 1 in the rotation axis (see (30)).The right figure corresponds to the error e 2 in the rotation angle (see (31)).

Figure 3 :

91Figure 3: Downsampling parameter vs. accuracy of the algorithm, focused on 64 and 128.See Fig. 2 for more details.

Figure 4 :

92Figure 4: Error without (left figure) and with (right figure) refinement for downsampling to size 64 × 64 × 64.The error reported in the figure is either e 1 (30) or e 2 (31), as shown on the x-axis.

Figure 5 :

93Figure 5: Timing of the alignment algorithm with downsampling to sizes 64 and 128.NR stands for "without refinement"; R stands for "with refinement".

Figure 6 :

94Figure 6: Error vs. the number of reference projections N .The left and right figures show the error without and with the refinement procedure of Section 7, respectively.The error reported in this figure is the sum e 1 + e 2 given in (30) and (31).

Figure 7 :

95Figure 7: Time vs. the number of reference projections.

Figure 8 :

96Figure 8: Central slice of the noisy reference volume at different SNRs.

97is summarized in Algorithm 2.

Table 1 :

98Test volumes.Each volume is a three-dimensional array of size n × n × n, with n specified on the third column.The symmetry of each volume is given by the second column.

Table 2 :

99Accuracy comparison with EMAN2 and Xmipp.The errors reported in this table are the sum e 1 + e 2 given in (30) and (31).Errors are given in degrees.For EMalign, (NR) corresponds to "without refinement" and (R) to "with refinement".The two bottom rows show the mean and standard deviation of the error (in degrees) over all experiments.

Table 3 :

100Timing comparison with EMAN2 and Xmipp (in seconds).For EMalign, (NR) corresponds to "without refinement" and (R) to "with refinement".The column "size" is the side length of the input volumes.

Table 4 :

101Accuracy comparison for noisy input volumes at different SNRs.See Table2for more details.

Table 5 :

102Timing comparison for noisy input volumes at different SNRs.All timings are given in seconds.

참고문헌 20건

  1. Center of Mass Operators for Cryo-EM—Theory and Implementation Nanostructure science and technology · Springer Nature · 2012 10.1007/978-1-4614-2191-7_6
  2. The phase correlation image alignment method 1975
  3. Least-Squares Fitting of Two 3-D Point Sets IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1987 10.1109/tpami.1987.4767965
  4. Viewing Angle Classification of Cryo-Electron Microscopy Images Using Eigenvectors SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2011 10.1137/090778390
  5. Three-dimensional reconstruction from random projections: orientational alignment via Radon transforms Ultramicroscopy · Elsevier BV · 1994 10.1016/0304-3991(94)90003-5
  6. Projection-based volume alignment Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.01.011
  7. Viewing Direction Estimation in Cryo-EM Using Synchronization SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2012 10.1137/120863642
  8. Fast and accurate reference-free alignment of subtomograms Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.03.002
  9. Fourier shell correlation threshold criteria Journal of Structural Biology · Elsevier BV · 2005 10.1016/j.jsb.2005.05.009
  10. Xmipp 3.0: An improved software suite for image processing in electron microscopy Journal of Structural Biology · Elsevier BV · 2013 10.1016/j.jsb.2013.09.015
  11. Three-Dimensional Structure Determination from Common Lines in Cryo-EM by Eigenvectors and Semidefinite Programming SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2011 10.1137/090767777
  12. EMAN2: An extensible image processing suite for electron microscopy Journal of Structural Biology · Elsevier BV · 2006 10.1016/j.jsb.2006.05.009
  13. An FFT-based technique for translation, rotation, and scale-invariant image registration IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1996 10.1109/83.506761
  14. UCSF Chimera—A visualization system for exploratory research and analysis Journal of Computational Chemistry · Wiley · 2004 10.1002/jcc.20084
  15. 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
  16. Fast rotational matching Acta Crystallographica Section D Biological Crystallography · Wiley · 2002 10.1107/s0907444902009794
  17. EMDataBank unified data resource for 3DEM Nucleic Acids Research · Oxford University Press · 2015 10.1093/nar/gkv1126
  18. 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
  19. 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
  20. Eigenvector synchronization, graph rigidity and the molecule problem Information and Inference A Journal of the IMA · Oxford University Press · 2012 10.1093/imaiai/ias002