11. Single-Particle Analysis#
This chapter describes how the three-dimensional structure of a macromolecule is determined from many noisy two-dimensional images of individual copies, each in an unknown orientation. A two-dimensional model problem, in which the unknown orientation is a single in-plane rotation, introduces alignment, averaging, reference bias, maximum-likelihood estimation and classification. The workflow of a three-dimensional reconstruction is then described, and the chapter ends with the Fourier shell correlation, which measures the resolution of the result, and the sharpening of the map. It builds on the projection theorem (Section 9.5) and on the contrast transfer function (Section 10).
11.1. From projections to a structure#
Single-particle analysis (SPA) determines the three-dimensional structure of a macromolecule from images of many identical copies, which lie in random, unknown orientations in a thin layer of vitreous ice. Each image is a projection of the structure (Section 10.1), and according to the projection theorem, projections from sufficiently many directions determine the structure (Section 9.5). Because radiation damage limits the dose that a copy can receive (Section 7.1), each copy is imaged only once. Every image is therefore a noisy projection from an unknown direction, and the orientations of the particles and the structure have to be estimated from the images themselves.
Fig. 11.1 Workflow of single-particle analysis. The raw movies are preprocessed, and the picked particles are cleaned by 2D classification. An initial three-dimensional model is refined by iterating between the orientations of the particles and the map. Figure adapted from Jakobi (2020; DOI 10.1051/epn/2020502). Reproduced under the right to quote; no further use allowed.#
In the below video, we explain how a three-dimensional structure is recovered from many noisy projection images via back projection in real space, the equivalent route in Fourier space via the projection theorem, and the iterative single-particle workflow that leads from micrographs to a final Coulomb potential map.
11.2. SPA illustrated by a two-dimensional model problem#
Averaging increases the signal-to-noise ratio in proportion to the number of images (Section 7.2, eq. (7.1)), but this gain is only realised if the images are aligned because the signal of particles in different orientations does not add up coherently. The orientation of each particle must therefore be determined. This can be achieved by finding the orientation of each particle relative to a common reference. The reference is used to determine the orientations, the particles in their estimated orientations are used to determine a new reference, and the two steps are iterated. The principle can be demonstrated in simplified form in two dimensions, where the unknown structure is an image \(A\) and the only unknown of each particle is an in-plane rotation angle. In three dimensions, the orientation of a particle is described by three Euler angles, and there are in addition two shifts and the CTF of each image, which are not modelled here (Section 11.6.2).
11.2.1. The observation model#
We model each image \(X_i\) as a rotated copy of the unknown structure \(A\) with added noise,
where \(R^{\theta_i}\) denotes the rotation by the unknown angle \(\theta_i\), and \(G_i\) is Gaussian noise of unit variance, independent for every pixel and image, which is scaled by the standard deviation \(\sigma\). Neither \(A\) nor any of the angles \(\theta_i\) is known. If the angles were known, the structure could be recovered by rotating each image back and averaging,
in which the noise is averaged out as in eq. (7.1), whereas the signal adds up coherently. As the structure, we use the letter Q, because its asymmetry makes a correct alignment unambiguous and the result immediately recognisable (Fig. 11.2). In a real SPA experiment the structure is of course unknown.
Fig. 11.2 The observation model. Left: the structure \(A\). Right: five images \(X_i\) of the same structure, rotated by different angles \(\theta_i\) and with added noise.#
11.2.2. Alignment by cross-correlation#
The angles (or more generally, orientations) are estimated by comparing each image with a reference, an estimate of \(A\), which is rotated to all candidate angles \(\theta\). As a measure of the similarity we use the normalised cross-correlation (NCC) of the image \(X_i\) with the rotated reference \(R^{\theta} A_\mathrm{ref}\), summed over the pixels \(\mathbf{r}\), where the mean has been subtracted from both images,
The estimated angle is \(\hat\theta_i = \arg\max_\theta \mathrm{NCC}(\theta)\). Fig. 11.3 shows the NCC as a function of the candidate angle for one image at different noise levels. At low noise, there is a distinct maximum at the true angle. With increasing noise, the maximum becomes small compared to the fluctuations, and the estimated angle can be wrong.
Fig. 11.3 Normalised cross-correlation of one noisy image of Q, which is rotated by 130°, with the rotated reference as a function of the candidate angle, for three increasing noise levels. The dashed line marks the true angle, and the dot marks the maximum of the NCC.#
The following simulation demonstrate this procedure. At the start, 36 rotated copies of the reference are calculated with a step of 10°. At every change of a slider, it (1) generates \(N\) noisy images of Q with random rotations, (2) determines the NCC of every image with all 36 rotated references and the angle of the maximum, (3) rotates every image back by its estimated angle, and (4) averages the aligned images. Here, the reference is the true structure, which is not available in a real experiment. The next section shows the perils of perfoming this procedure on noisy images if the reference is wrong, and Section 11.6.2 shows how to obtain an initial reference from the particle images.
Interactive element
Click the rocket symbol at the top of the page and select Live Code or expand the Show code toggle and click ▶ to run the cell. The sliders set the number of images and the noise level \(\sigma\). The panels show, from left to right, the true structure (which here is also the reference), the first noisy image, its NCC as a function of the candidate angle with the estimated angle and the true angle, the image rotated back by the estimated angle, and the average of all aligned images. The title of the last panel gives the fraction of images for which the estimated angle is correct and the correlation of the average with the structure \(A\).
Things to try
Keep the defaults (32 images, \(\sigma = 1\)). The NCC has a clear maximum at the true angle, the first image is rotated back correctly, and the average shows the Q.
Increase \(\sigma\) to 3 and then to 4. The maximum of the NCC is no longer distinct, and the estimated angle is wrong for a growing fraction of the images.
Keep \(\sigma = 3\) and increase the number of images to 128. The correlation recovers although a significant fraction of the angles are still wrong. The correctly aligned images add up coherently, whereas the misaligned ones contribute only a diffuse background.
Conclusion. The qaulity of the alignment depends on the noise level of the experimental images and on the quality of the reference. Here, the reference is the true structure, which makes the problem easier than in practice.
11.3. Reference bias#
In a real experiment, the reference is typically an estimate of the true structure, such as a low-resolution map of a related structure, a map from a previous round of processing, or an initial model that has been calculated from the data. If the reference is wrong, it can nevertheless shape the result if no care is taken. The alignment selects for every image, among all candidate orientations, the one in which the noise-corrupted signal of the image resembles the reference most. For very noisy images the noise itself dominates this selection, and the average of the aligned images resembles the reference even when the images contain no signal at all. This is called reference bias, and in cryo-EM is sometimes referred to as “Einstein from noise”.
The following simulation uses images of the letter Q with an adjustable signal strength \(s\), so that \(X_i = s\,R^{\theta_i} A + G_i\) with noise of unit variance, and aligns them to a reference that is chosen by you. The lower panel shows the Fourier ring correlation (FRC) between the averages of two half-sets of the images, which have been aligned and averaged separately. The FRC is the two-dimensional version of the Fourier shell correlation, which is defined in Section 11.7.1. It is the correlation of the Fourier transforms of the two averages as a function of the spatial frequency. It is close to 1 if the averages agree, and about 0 if they are unrelated.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. The sliders set the number of images and the signal strength \(s\), and the menu allows selecting the reference. The upper panels show the true structure, the reference, one of the images and the average of all images after alignment to the reference. The lower panel shows the FRC between two half-sets that were aligned to the same reference and between two half-sets that were aligned to the same reference after it had been low-pass filtered.
Things to try
Keep the defaults. The images contain only noise, but the average shows a P. Its correlation with the reference is about 0.6, and that with the true structure is zero. The FRC curve from alignment agaist the same reference is close to 1 at low spatial frequencies and still aignificant at higher spatial frequencies, i.e. the two half-sets agree even though there is no signal in the images.
Compare with the blue curve. After low-pass filtering of the reference, the half-sets still agree at low frequencies, which they share with the reference, but the FRC falls to zero at higher spatial frequencies. A reference can imprint only the frequencies that it contains. This is the reason that the starting reference is filtered strongly, and that the new volume is judged beyond the frequencies of the filter.
Increase the signal strength to about 0.2–0.3. The average shows features of both letters, and at about 0.5 the true structure dominates, but the imprint of the reference remains visible. At \(s = 0.3\), the blue curve rises above zero beyond the filter, because the half-sets now reproduce real signal.
Increase the number of images at \(s = 0\). The P becomes clearer as bias is not removed by more data.
Select Q as the reference at \(s = 0\). The average now shows a Q, although the images contain no signal. A result that looks correct is thus no proof that the data contain the structure. The blue curve again falls to zero beyond the filter.
Compare the references P and Q at \(s = 0.3\). With the correct reference Q, the half-sets agree better at high frequencies than with the wrong reference P. The FRC is high where the half-sets reproduce the same real structure, and it is not inflated by the reference where the reference has been filtered.
It is important to realise that increasing the number of images does not remove reference bias and that the bias cannot be recognised in the average alone. Two precautions are therefore used in practice. The starting reference is low-pass filtered to a low resolution (for example 40–60 Å), so that it contains no detail that could be imprinted on the noise at higher resolutions expected. In addition, the particles are divided into two half sets, which are refined independently. Their agreement is a measure of the reproducibility of the result, which is the basis of the gold-standard resolution estimate (Section 11.7.1).
11.4. Maximum-likelihood alignment#
At the SNR of cryo-EM images, the maximum of the NCC is low and broad (Fig. 11.3), and many orientations have almost the same score. Choosing the single best orientation ignores this uncertainty, and the images are then aligned according to the noise rather than the signal, as in the previous section. Maximum-likelihood (ML) alignment treats the orientation as unknown and weights all orientations by their probability. This is a more robust procedure as it carries along the uncertainty in particle orientation throughout the refinement procedure.
For Gaussian noise with variance \(\sigma^2\), the probability of observing the image \(X_i\) for a given orientation \(\theta_j\) and structure \(A\) is, according to eq. (11.1),
The factors that do not depend on \(\theta_j\), namely \(\|X_i\|^2\) and \(\|R^{\theta_j} A\|^2 = \|A\|^2\), have been absorbed in the proportionality, so that only the unnormalised cross-correlation \(\mathrm{CC}_{ij}\) remains. For uniformly distributed orientations, the probability of each orientation, given the image, is
These weights are soft assignments. For small \(\sigma\), they concentrate on the orientation with the highest cross-correlation. For large \(\sigma\), they are spread over many orientations. The structure is then updated as a weighted average of the images that are rotated back by each candidate angle,
Calculating the weights is the E-step (expectation) and updating the structure is the M-step (maximisation) of the expectation–maximisation algorithm. Repeating both steps converges to a (local) maximum of the likelihood. In software programs such as RELION, the same principle is applied to the three orientation angles and the shifts, and the weights are also used to assign particles to classes (Section 11.5).
The following simulation shows the weights of eq. (11.5) for a single image of Q with known structure.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. The sliders set the noise level \(\sigma\), the true angle of the image and the realisation of the noise. The panels show the noisy image, the weights \(w_j\) for all 72 candidate angles (the true angle is marked), and the prediction of the model for the image: the reference rotated by the most probable angle (hard assignment), and the sum of the reference rotated by all candidate angles, weighted by \(w_j\) (soft assignment). The title of the weight panel states the probability that the true angle lies within 10° of the angle of the image, and the effective number of orientations \(1/\sum_j w_j^2\).
Things to try
Keep the default noise level \(\sigma = 2\). The weights form a narrow peak at the true angle (for most noise realisations), the probability within 10° of it is about 0.97, and the effective number of orientations is below 2. The hard and the soft prediction are almost the same sharp Q. Projection matching is the limit of ML at low noise.
Increase \(\sigma\) stepwise to 4 and 6. The peak broadens and neighbouring angles receive substantial weights: the effective number of orientations grows to about 3 and 6, and the probability within 10° of the true angle falls to 0.68 and 0.43. The hard prediction remains a sharp Q at a possibly wrong angle, whereas the soft prediction is a Q that is smeared over the range of likely angles, which expresses the uncertainty.
At \(\sigma = 14\). The weights are spread over about 30 orientations, and the soft prediction approaches a rotationally symmetric blob, because the image contains hardly any information on the orientation. In the update of eq. (11.6), such an image contributes with small weights to many orientations, instead of with the full weight to one, possibly wrong, orientation.
Change the noise realisation at \(\sigma = 8\). The most probable angle jumps between very different values, and the probability within 10° of the true angle stays low (0.3 or less): the true angle is neither excluded nor recognised. This is the situation for many images of a dataset at this noise level.
11.5. 2D classification#
Real datasets are not homogeneous. The particle images include ice contamination, damaged or aggregated particles, and often several views or conformations of the protein. 2D classification sorts the images into classes of similar appearance and averages the images in each class after alignment. It serves two purposes. It is a quality control, because junk particles form blurred classes that can be discarded. And it combines particles in similar orientations into class averages of a high SNR, in which secondary structure elements can be recognised.
The algorithm extends the alignment of the previous sections to \(K\) references. It starts from \(K\) initial class averages, which contain no information on the true classes, and iterates two steps. In the first step, every image is compared with all rotations of all \(K\) references, and assigned to the class and angle with the highest NCC. In the second step, every reference is replaced by the average of the images assigned to it, after rotating them back. In programs such as RELION, the hard assignment is replaced by the soft assignment of the previous section.
The following simulation mixes images of three different letters (Q, P and R) with random rotations and noise. The \(K\) initial class averages are averages of five randomly selected images. They have no information on the letters, and the algorithm sees none of the true labels. The labels are only used afterwards to evaluate the result, where class purity is defined as the fraction of its images that belong to the letter that is most frequent in the class.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. The sliders set the number of images per letter, the noise level \(\sigma\), the number of classes \(K\) and the random selection of the initial class averages. The iteration slider selects the iteration whose result is displayed. The upper row shows three of the images and the average of all images without alignment. The lower row shows the class averages, with the number of images in each class and the dominant letter with the purity of the class.
Things to try
Move the iteration slider from 1 to 12. The class averages sharpen in the first iterations, because the assignments and the references improve each other, and then no longer change. For the default values, the purity increases from 74% to 98%.
Set \(K = 1\). A single class is the average of all images, which is a blur: images of different letters cannot be averaged.
Set \(K = 3\) and step through the random starts 0 to 9. For seven of the ten starts, each letter has its own class. For the starts 1, 2 and 9, two letters share a class (purity of 64–68%): the algorithm has found a local optimum, which depends on the initial class averages.
Increase \(K\) to 5 or 6 and step through the starts again. Only start 2 still fails, so that the result is less sensitive to the start, but the images of a letter are now distributed over several classes, and at \(K = 8\) the classes become noisy. In practice, many more classes are requested than distinct views are expected, for this reason.
Increase \(\sigma\) to 2. With 100 images per letter, the classification fails (purity of about 55%) because the images are too noisy to be assigned reliably. Increasing the number of images per letter to 300 restores it for most starts (purity of 91–97%).
11.6. From images to a three-dimensional map#
The principles of the previous sections carry over to a real project, which adds the third dimension, the CTF and a large amount of data handling. The preparation of the specimen (Section 6.3.2) and the recording of the low-dose movies with a direct electron detector (Section 8.3.1, Section 7.1) have been described in earlier chapters, so that this section starts with the recorded movies.
11.6.1. Preprocessing#
The movies are recorded at a range of defocus values, typically between 0.5 and 3 μm underfocus (Section 10.4), and three steps precede the alignment. In the motion correction, the frames of each movie are aligned by cross-correlation and summed, with the frames weighted according to the accumulated dose, because the high-resolution information is damaged first. This corrects for the motion of the specimen during the exposure, which is caused by stage drift and beam-induced motion. In the CTF estimation, the defocus and the astigmatism of each micrograph are determined by fitting the CTF of eq. (10.10) to its power spectrum, in which the Thon rings are visible (Section 10.4). They are needed for the CTF correction in the reconstruction. In the particle picking, the positions of the particles are determined, either by comparison with templates or with neural networks that have been trained on a set of manually picked particles, and the particles are cut out in boxes that are about 1.5–2 times as large as the particle. The picking also selects contamination and noise, which are removed by 2D classification (Section 11.5).
11.6.2. Initial model and refinement#
The orientations are determined as in the two-dimensional problem, now by comparing every particle image with projections of a three-dimensional reference map in all candidate orientations. This is called projection matching. Five parameters are estimated for every particle: three Euler angles, which describe the viewing direction and the in-plane rotation, and two shifts. The new orientations yield a new map (Section 11.6.3), and the two steps are repeated until the result no longer changes, where the angular sampling is refined as the resolution improves. Current programs use the maximum-likelihood approach of Section 11.4, in which each image contributes to several orientations with a weight.
The projection theorem (Section 9.5) makes the comparison efficient. The Fourier transform of the projection of the reference map in an orientation \(\Omega\) is the central section \(\hat P_\Omega(\mathbf{k})\) of the three-dimensional Fourier transform of the map, perpendicular to the viewing direction. Programs therefore calculate the transform of the reference once and extract sections from it, instead of projecting the map in real space for every orientation. The comparison is the normalised cross-correlation of eq. (11.3), now evaluated in Fourier space, where the section is multiplied with the CTF of the particle image,
The orientation with the largest \(S\) is the best match. Except for the CTF and the limit \(k_\mathrm{max}\), this is the correlation of eq. (11.3), because the correlation of two images equals that of their Fourier transforms (Parseval’s theorem), and leaving out \(\mathbf{k} = 0\) corresponds to subtracting the mean. The Fourier space has three advantages: the CTF is a simple multiplication, the comparison can be restricted to spatial frequencies below a resolution limit \(k_\mathrm{max}\), and, as shown below, the calculations are much faster.
The limit has two purposes. Frequencies at which the reference contains no information cannot improve the orientation, but cost computing time, so that \(k_\mathrm{max}\) is chosen according to the resolution of the reference. The limit also determines how accurately an orientation can be defined. A rotation by \(\Delta\Omega\) moves a feature at a distance \(r\) from the centre of the particle by \(r\,\Delta\Omega\), which is visible only if it exceeds the resolution \(d = 1/k_\mathrm{max}\). The maximum of \(S\) therefore has a width of the order of \(d/r\), which is about 3.4° for a resolution of 3 Å and a particle radius of 50 Å. A refinement thus starts with a low limit and coarse angular steps, and both are refined as the map improves. The following simulation shows projection matching for a model particle.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. Can you tell from which direction a noisy image was taken? Match it against references from all directions.
Things to try
Look at the default view and click Draw new noise. The image shows hardly more than noise, but the maximum sits at the true orientation.
Increase the noise to 25. The maximum jumps across the map.
Lower the resolution limit to 0.03. The maximum dissolves into a plateau, and the best match is most likely wrong.
Set the noise to 0. The maximum is sharp, and a second, weaker maximum appears corresponding to a view that looks similar.
Working in Fourier space also makes projection matching much cheaper. The following box explains why and compares the time of the calculations in real space and in Fourier space.
Why programs work in Fourier space: the cost of projection matching
Two operations dominate the cost of projection matching, and both are much cheaper in Fourier space. The first is the calculation of the references. In real space, the projection of a map with \(N^3\) voxels in a given orientation requires rotating the map and summing along the viewing direction, which takes of the order of \(N^3\) operations per orientation. In Fourier space, the three-dimensional transform is calculated once, and the central section for each orientation then requires only the \(N^2\) points of the section. The second operation is the comparison of a particle image with a reference, in which the shifts are also searched. In real space, the correlation for one shift is a sum over \(N^2\) pixels, so that all \(N^2\) shifts require \(N^4\) operations. According to the cross-correlation theorem, the correlation for all shifts is the inverse Fourier transform of the product \(\hat X_i\,\hat P_\Omega^*\), which requires only of the order of \(N^2 \log N\) operations. Fig. 11.4 compares the times of both routes.
Fig. 11.4 Time of the two operations of projection matching in real space (blue) and in Fourier space (crimson), measured with NumPy and SciPy on one computer (median of three measurements). Left: one reference for one orientation, calculated by rotating and summing a voxel map (real space) or by extracting the central section from its three-dimensional transform (Fourier space). Middle: the total time for \(K\) references in a box of 64 pixels, where the Fourier route includes the calculation of the three-dimensional transform. Right: the correlation of an image with a reference for all shifts, calculated by summing for every shift or with Fourier transforms. The dotted lines show the scaling with the box size \(N\), and the numbers give the factor between the two routes at \(N = 64\).#
At \(N = 64\), the central section is 27 times faster than the projection, and the correlation with Fourier transforms is 197 times faster than the direct sum. The blue curves rise with the third and fourth power of \(N\) and the crimson curves with the second power, so that the factors increase with the box size, and the advantage is larger for the boxes of a few hundred pixels that are used in practice. The three-dimensional transform that the sections require costs as much as about 6 projections in real space, so that it pays off after only a few orientations. For \(K = 1860\) orientations, as in the simulation above, the real-space route takes 12 s and the Fourier route 0.5 s. The two routes give the same result: the central section and the transform of the real-space projection differ by about 2%, which is caused by the interpolation of the section, and the two correlations are identical to the numerical accuracy. The absolute times depend on the computer and on the numerical libraries, but the exponents do not.
Projection matching needs a reference. In the first iteration, this is an initial model, which is either a map of a related structure or a map that is calculated ab initio from the data. Ab initio models are nowadays calculated by stochastic gradient descent (SGD), which is implemented in several variants, for example in cryoSPARC (Punjani et al., 2017) and RELION (Kimanius et al., 2021). The map is started as a featureless, strongly low-pass filtered volume. In every iteration, a small random subset of the particle images, a minibatch of some hundred images, is compared with the projections of the current map in all orientations, and each image contributes to the orientations with the weights of the maximum-likelihood approach (Section 11.4). These weights define the gradient of the likelihood with respect to the map, which is the sum over the images and orientations of the back-projected differences between the images and the projections of the current map. A small step of the map in the direction of the gradient improves it, and the next minibatch is used for the next step. The resolution limit of the comparison is increased during the iterations. The orientations need not be known in advance, and only a part of the data is used in every step, which makes the method fast compared with a refinement. The following simulation shows the principle in a two-dimensional analogue.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or click ▶ to run the cell. From noisy images in unknown rotations to a rubber duck, starting from a featureless blob.
Since the map is derived from the data and not from a known structure, it does not suffer from the reference bias of a wrong starting model (Section 11.3), but the result has to be checked. The images of a structure and of its mirror image cannot be distinguished when the orientations are unknown, so that the hand of the ab initio map is arbitrary and is determined from the refined map, for example from the handedness of α-helices. The method also requires a reasonable distribution of the viewing directions, and the map is checked by comparing its projections with the class averages of Section 11.5.
Before ab initio methods became available, initial models were calculated from class averages by angular reconstitution, which makes use of the projection theorem (Section 9.5). The Fourier transforms of two projections are two planes through the origin of Fourier space, which intersect along a line, the common line, on which the two transforms are identical. The directions of this line in the two transforms determine the relative orientation of the two images, up to an ambiguity that a third image resolves. This approach has largely been replaced by the ab initio methods described above.
The initial model is the reference of the first refinement, where it is strongly low-pass filtered to avoid reference bias. The refinement iterates two steps. In the first step, every particle image is compared with the projections of the current map in all orientations (projection matching, eq. (11.7), with the weights of Section 11.4), and in the second step, a new map is calculated from all images with these orientations (Section 11.6.3). The resolution limit of the comparison and the angular sampling follow the resolution that has been reached. The resolution is measured with the gold-standard procedure (Section 11.7.1) in which the particles are divided into two halves, which are refined independently, and the resolution is determined from the Fourier shell correlation of the two half-maps. The limit of the next iteration is chosen slightly beyond this resolution, and the angular step is reduced with the limit, because the maximum of the correlation becomes narrower. The iterations are repeated until the resolution no longer improves, which is the case when the information in the data has been exhausted. The following simulation shows this for the two-dimensional analogue of the previous simulation, where the Fourier ring correlation (FRC) takes the place of the FSC.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. Sharpen a blurry initial model by iterating matching and reconstruction, and watch the resolution improve.
Macromolecules are often present in several conformations. 3D classification sorts the particles into discrete states by the same principle as the 2D classification and yields a separate map for each state. Continuous flexibility is described by methods such as 3D variability analysis or multi-body refinement.
11.6.3. Three-dimensional reconstruction and CTF correction#
For known orientations, the map is reconstructed by Fourier inversion. According to the projection slice theorem (Section 9.5), the two-dimensional Fourier transform of each particle image is a central section through the three-dimensional Fourier transform of the structure. The sections are inserted into a three-dimensional Fourier volume in the orientations of the particles, which is then transformed back (Section 9.5.1).
Every image is the product of the structure and its own CTF in Fourier space (eq. (10.6)). A Fourier coefficient \(\hat V(\mathbf{k})\) of the map is therefore estimated from all sections that pass through \(\mathbf{k}\), by a weighted sum that corresponds to the Wiener filter of eq. (10.11),
where \(\hat X_i\) is the Fourier transform of image \(i\) and \(\mathrm{CTF}_i\) its CTF. The term \(1/\mathrm{SNR}(\mathbf{k})\) prevents the division by zero near the CTF zeros and limits the amplification of noise. Since the zeros fall at different spatial frequencies for different defocus values, the information that is missing in one image is provided by others, which is the reason that images are recorded with a range of defocus values. In contrast to tomography, there is no systematic missing wedge, as the particles lie in random orientations. If the particles prefer certain orientations, however, regions of Fourier space are poorly sampled, which leads to an anisotropic resolution.
11.7. Resolution and the Fourier shell correlation#
The resolution of a map is the period \(d = 1/k\) of the highest spatial frequency at which the map reproduces the structure reliably (Section 9.2). In SPA, the true structure is unknown and cannot be used for a comparison. The resolution is therefore estimated from the agreement of two maps that have been determined independently.
11.7.1. The Fourier shell correlation#
In the gold-standard procedure, the particles are divided randomly into two halves before the refinement. Each half is refined separately, so that the two resulting half-maps contain the same signal but independent noise. A common starting model may be used, provided that it is filtered so strongly that it contains no information at the frequencies at which the resolution is assessed. The Fourier shell correlation (FSC) is the correlation of the Fourier transforms \(\hat F_1\) and \(\hat F_2\) of the two half-maps in a thin shell of spatial frequencies \(|\mathbf{k}'| \approx k\),
where the asterisk denotes the complex conjugate. For two-dimensional images, the shells are rings, and the quantity is called the Fourier ring correlation (FRC). At low spatial frequency, the signal dominates and the FSC is close to 1. At high spatial frequency, the signal is smaller than the noise, and the FSC falls to 0, because the noise in the two half-maps is independent.
Derivation: the FSC and the signal-to-noise ratio
Write the Fourier coefficients of the half-maps as the sum of the common signal \(\hat S\) and independent noise \(\hat N_j\), \(\hat F_j = \hat S + \hat N_j\) with \(j = 1, 2\). If the noise has zero mean and is independent of the signal and between the half-maps, the cross terms \(\hat S\hat N_2^*\), \(\hat N_1\hat S^*\) and \(\hat N_1\hat N_2^*\) average to zero in the shell. The numerator of eq. (11.9) is then \(\sum|\hat S|^2\), and each of the sums in the denominator is \(\sum|\hat S|^2 + \sum|\hat N|^2\). With the SNR of a half-map in the shell, \(\mathrm{SNR}(k) = \sum|\hat S|^2 / \sum|\hat N|^2\), this gives
The resolution of the map is defined as the spatial frequency at which the FSC falls below the threshold 0.143.
Key insight: the 0.143 criterion
According to eq. (11.10), an FSC of 0.143 corresponds to an SNR of \(0.143/0.857 \approx 1/6\) in each half-map. The final map is calculated from both halves and has twice this SNR, \(1/3\). Its correlation with the noise-free structure is \(\sqrt{\mathrm{SNR}/(1+\mathrm{SNR})} = 0.5\). The threshold thus corresponds to a correlation of 0.5 between the final map and the true structure. In general, the correlation of the full map with the true structure follows from the FSC of the half-maps as \(\sqrt{2\,\mathrm{FSC}/(1+\mathrm{FSC})}\) (Rosenthal and Henderson, 2003).
The following simulation determines the FRC of two half-maps in two dimensions. The object is the letter Q with a pixel size of 2 Å, which is blurred by a B-factor to represent the loss of high-resolution information in the images (Section 10.4). Every half-map is the average of \(N/2\) images with independent noise of standard deviation \(\sigma\), which is calculated directly as the object plus noise of standard deviation \(\sigma/\sqrt{N/2}\). The SNR of a single image is the variance of the object divided by \(\sigma^2\). The simulation compares the FRC of the two half-maps with the expected FRC of eq. (11.10), which is calculated from the SNR of the half-maps, and determines the resolution at the threshold 0.143. The last slider lets the two half-maps share a part of their noise, as would happen if they were not independent.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. The sliders set the number of particles \(N\), the noise \(\sigma\) of a single image, the B-factor and the fraction of noise that the two half-maps share. The left panels show the two half-maps, the map that is calculated from all particles, and the same map after low-pass filtering at the resolution that is determined from the FRC. The right panel shows the FRC, the FRC that is expected from the SNR (blue), the threshold 0.143 and the resulting resolution.
Things to try
Keep the defaults and compare the two curves. The FRC falls from 1 at low frequencies to 0 at high frequencies. The curve that is expected from \(\mathrm{SNR}/(1+\mathrm{SNR})\) follows it without the fluctuations. The vertical line marks the resolution at the threshold 0.143, which is 6.9 Å for the default values.
Increase \(N\) by a factor of 10. The SNR increases at every frequency by this factor, and the crossing moves from 6.9 Å to 4.7 Å. The gain in resolution is much smaller than the factor of 10, because the signal decreases steeply with the spatial frequency.
Compare \(B = 0\) and \(B = 300\) Ų at \(N = 10^5\). Without blurring, the resolution reaches the Nyquist limit of 4 Å. With \(B = 300\) Ų, it is only 6.2 Å, and every further factor of 10 in \(N\) then gains only about 1 Å, because the envelope attenuates the signal at high frequencies.
Increase the noise \(\sigma\). The effect is the same as reducing \(N\): only the ratio \(N/\sigma^2\) matters.
Let the half-maps share 10% and then 30% of their noise. The FRC no longer falls to 0 at high frequencies, but to a plateau at the shared fraction. With 10%, the apparent resolution improves from 6.9 Å to 5.8 Å, and with 30% the plateau is above the threshold 0.143, so that the resolution is given by the Nyquist limit. Shared noise thus leads to an overestimate of the resolution, which is the reason that the half-sets must be independent.
The FSC has to be interpreted with care and several things should be considered when doing so:
Half-set independence. The FSC measures the reproducibility of the map. It is only meaningful if the half-sets are independent, which is the reason for the “gold-standard procedure” (Section 11.3). The simulation shows that shared noise inflates the resolution.
Masks. The FSC is calculated for masked half-maps, so that the noise of the solvent does not dominate. A mask that is too tight introduces correlations between the half-maps, which is checked by repeating the calculation with half-maps in which the phases beyond a chosen frequency have been randomised.
Resolution limit. The resolution cannot be better than the Nyquist limit, which is twice the pixel size (Section 9.2). It does not need to be uniform over the map, for examples flexible regions have a lower local resolution than the core of the particle.
Validation of models. A model that has been built into the map is compared with the map by an FSC between the map and the model, for which the threshold is 0.5.
11.8. Map postprocessing#
The high-resolution components of a map from the refinement are attenuated, by the envelope of the CTF and by inaccuracies of the alignment (eq. (10.9)), so that fine details appear weak. The attenuation is described by a B-factor, which multiplies the Fourier transform of the map by \(e^{-B k^2/4}\). In the sharpening, the Fourier transform of the map is multiplied by the inverse factor \(e^{+B_\mathrm{sharp} k^2/4}\), which restores the amplitudes at high spatial frequencies. Programs report \(B_\mathrm{sharp}\) as a negative B-factor.
The B-factor is determined from a Guinier plot, which shows the logarithm of the amplitude of the map, averaged over a shell, as a function of \(k^2\). In the range of spatial frequencies in which the amplitudes of the structure itself are about constant, which is for proteins between about 10 Å and the resolution, the curve of the attenuated map is a straight line with the slope \(-B/4\). At higher frequencies, the map contains mainly noise, and the curve flattens to the level of the noise. Sharpening would amplify this noise, so that the sharpened map is low-pass filtered at the resolution that is determined from the FSC (Section 11.7.1). Before the resolution is determined, a mask is applied that excludes the solvent around the particle.
The following simulation applies the sharpening to the two-dimensional model. The structure is the letter Q with fine internal details, which have a spectrum that is approximately constant, like the atomic details of a protein. The map is blurred by a B-factor of 200 Ų and calculated from \(N\) particles with noise \(\sigma = 3\) of a single image, as in the simulation of the previous section. The resolution is determined from the FRC of two half-maps.
Interactive element
Click the rocket symbol at the top of the page and select Live Code, or expand the Show code toggle and click ▶ to run the cell. The sliders set the number of particles and the B-factor \(B_\mathrm{sharp}\) of the sharpening, and the box selects whether the sharpened map is low-pass filtered at the resolution.
Things to try
Keep the defaults (\(B_\mathrm{sharp} = 0\)). The map is a blurred Q with weak internal details. In the Guinier plot, the curve of the map without noise (dotted) falls linearly with \(k^2\) with the slope \(-B/4\), whereas the curve of the map (solid) follows it until it reaches the level of the noise, near the resolution.
Increase \(B_\mathrm{sharp}\) to 200 Ų, the B-factor of the map. The curve of the sharpened map becomes flat up to the resolution, at the level of the structure, and the fine details appear with more contrast. Beyond the resolution, the low-pass filter removes the noise.
Increase \(B_\mathrm{sharp}\) to 400 Ų. The map is over-sharpened: the curve rises towards the resolution, the high-frequency noise and artefacts dominate, and the image looks coarser.
Switch off the low-pass filter at \(B_\mathrm{sharp} = 200\) Ų. The curve rises above the structure beyond the resolution, because the noise is amplified, and the map is dominated by noise. The sharpening therefore requires the low-pass filter at the resolution.
Increase the number of particles to \(10^4\). The resolution improves from 5.1 Å to 4.2 Å, so that the sharpening can restore the details up to a higher resolution.
Practical
Alignment, averaging and classification of noisy particle images are explored in Python in the corresponding practical of the CryoEM doeboek: CryoEM doeboek: single-particle analysis