## research papers

## determination of anomalous substructures

^{a}Department of Haematology, University of Cambridge, Hills Road, Cambridge CB2 0XY, England^{*}Correspondence e-mail: rjr27@cam.ac.uk

A fast Fourier transform (FFT) method is described for determining the

of anomalously scattering atoms in macromolecular crystals that allows successful by X-ray single-wavelength anomalous diffraction (SAD). This method is based on the SAD phasing function, which accounts for measurement errors and for correlations between the observed and calculated Bijvoet mates. Proof of principle is shown that this method can improve determination of the anomalously scattering in challenging cases where the from the is weak but the also constitutes a significant fraction of the real scattering. The method is deterministic and can be fast compared with existing multi-trial dual-space methods for SAD determination.### 1. Introduction

Single-wavelength anomalous diffraction (SAD) phasing has become the predominant method to solve novel structures when a molecular-replacement approach is not possible or not sufficient (Hendrickson, 2014). Contributing to the rise of SAD as the experimental phasing method of choice have been enhanced methods for optimizing the selection and scaling of data from multiple crystals (Liu *et al.*, 2012; Foadi *et al.*, 2013; Akey *et al.*, 2016; Terwilliger *et al.*, 2016*a*,*b*), and effective methods for correcting for radiation damage (Borek *et al.*, 2013).

Given data with enough anomalous signal, SAD phasing is bootstrapped from a hypothesis concerning the position of as little as a single atom in the structure, to which atoms are progressively added. The full ).

is usually considered to be all of the atoms with significant but the can also include atoms that have insignificant such as a partial protein or nucleic acid model located by When the is sufficiently complete, the phases derived from the become good enough that density modification, model building and can be used to add atoms to the structure without reference to the anomalous differences, at which point the structure is, by convention, no longer called a (McCoy & Read, 2010Locating the initial one or more atoms in the anomalous *SOLVE* program (Terwilliger & Berendzen, 1999) ranks grid locations of the first one or two atoms against the vector minimum function of the anomalous difference Patterson (Buerger, 1970; Terwilliger *et al.*, 1987); further sites are added from analysis of anomalous difference Fourier maps, with various metrics and automated decision making used to identify and pursue good substructures.

In the multi-trial direct-methods approach pioneered by *MULTAN* (Germain *et al.*, 1970) and *RANTAN* (Yao, 1983), subsets of reflections are assigned phases and these are used to initiate direct-methods phasing of the anomalous differences. However, reciprocal-space alone tend to lose discrimination, causing the problem of the false `U-atom' solution, especially for larger structures. This can be ameliorated by enforcing atomicity in real space, in dual-space algorithms. The first of these dual-space algorithms to be developed, *Shake-and-Bake* (Miller *et al.*, 1993), derives initial phases from randomly generated initial atomic coordinates, and these are then refined in cycles alternating between reciprocal-space (optimizing the minimal function) and real-space peak picking from Fourier maps with a minimum peak (atom) separation distance. *SHELXD*, which was developed subsequently (Schneider & Sheldrick, 2002), employs a similar dual-space approach but seeds the process with better-than-random phases. Peaks from a sharpened anomalous difference Patterson are taken as two-atom separation vectors, and the oriented atom pairs are placed in the with vector-scoring functions (Nordman, 1966). The is then expanded to the expected number of sites with more anomalous difference Patterson analysis, dual-space recycling (using the tangent formula to refine phases in reciprocal space) and random omit procedures. *HySS* (Grosse-Kunstleve & Adams, 2003) modifies the *SHELXD* algorithm so that the initial oriented two-atom substructures from Patterson analysis are placed in the with the fast translation function, achieving expansion to three sites by fixing the two-atom and using a second fast translation function to search for a single atom; phase using the tangent formula in is replaced by the related procedure of density squaring in real space. The multi-trial nature of the dual-space algorithms is computationally intensive for challenging cases, and it is not uncommon to obtain only a single solution in thousands of trials (Sheldrick, 2010). If the data have weak anomalous signal and/or there are many anomalously scattering sites, determination remains a bottleneck in SAD phasing, even when there is sufficient signal that phasing would succeed with a correct substructure.

An interesting alternative to conventional ) demonstrated that *Superflip* (Palatinus & Chapuis, 2007) could be effective even in solving large substructures.

If a sufficiently complete anomalous *et al.*, 2004; Pannu & Read, 2004). MLSAD is based on the joint probability distribution of a of diffraction observations, conditional on the corresponding pair of structure-factor contributions calculated from a model. Because MLSAD includes the contribution from the real scattering, the phase ambiguity that arises from considering only the anomalous component of the scattering is partly broken. A significant component of the success of MLSAD has been the use of log-likelihood-gradient maps (McCoy & Read, 2010; Read & McCoy, 2011), rather than anomalous difference Fouriers, to edit and complete the substructures, an approach introduced in *SHARP* (de La Fortelle & Bricogne, 1997). Recently, it was shown that determination could be significantly strengthened by giving a prominent role to MLSAD throughout the process, rather than just in adding weak sites to the bulk of the (Bunkóczi *et al.*, 2015); *HySS* was modified so that MLSAD log-likelihood-gradient completion took over after as few as two sites had been determined.

Despite the improvements in

building and SAD phasing with methods, SAD phasing is still reliant on random or Patterson-based methods to seed the placement of the first atoms in the phasing bootstrap. Missing from the repertoire of methods for initializing the atomic is a approach. Since determining the remains a bottleneck in by SAD, and since methods have an established record in improving methods in other aspects of macromolecular crystallography, we expected that approaches should be able to improve the speed and reliability of determination.We describe here an approximation of the MLSAD target, termed *Phassade* (for **Ph**aser**a**nomalous **s**ub**s**tructure **de**termination), that can be calculated by fast Fourier transform (FFT) to generate a set of trial positions starting from a null Effectively, this method simultaneously tests hypotheses for all potential positions for an anomalous scatterer on a grid covering the The trial positions can be refined with the exact MLSAD target and then used to seed structure completion by log-likelihood-gradient maps. The *Phassade* search target retains the strength of the MLSAD target in automatically combining information from both the real and imaginary scattering contributions, and hence improves on current methods when the anomalous signal is low but the real contribution to the scattering is high, for example when the anomalous scatterer is a metal ion and the wavelength is far from the absorption edge.

### 2. Initiating likelihood-based determination

The existing MLSAD log-likelihood-gradient completion functions require a starting point. For an empty

the (complex) derivatives of MLSAD are all zero because the effect of changes in the calculated structure factors will be identical for shifts in opposite directions. When the is not empty, the effect of changes in the calculated structure factors will be different for shifts in different directions in the complex plane because these will have different effects on the amplitudes.The success of *et al.*, 2017) inspired a new way to think of the problem of locating the first atom by SAD. Single-atom uses the likelihood-based fast translation function (McCoy *et al.*, 2005) to score possible positions for the atoms with a single FFT. This fast translation search is based on a linear approximation of the molecular-replacement likelihood target, expressed in terms of the calculated intensity as a function of translation. We reasoned that if the SAD likelihood function were expressed in terms of calculated intensities, the same approach could be applied to search for positions for anomalous scatterers even when there is no starting structure.

#### 2.1. Unphased SAD likelihood target

The exact version of the required target can be computed by an adaptation of the methods used to compute log-likelihood-gradient MLSAD maps. The MLSAD target is a function of the structure-factor amplitudes for the observed **H**^{+} and **H**^{−*} (the complex conjugate of the for the minus hand) and variance terms. If the is composed of a single type of anomalous scatterer with scattering factor *f* + *if*′′ (where *f* = *f*_{0} + *f*′), **H**^{+} and **H**^{−*} can be expressed in terms of a single **U**, computed from point atoms of unit weight. If we assume that all atoms have unit occupancy and a *B* factor estimated from the Wilson distribution, a simple equation for **U** applies,

where the sum is over all atoms in the *B* factors differing from the mean,

The pair of calculated structure factors is then obtained by taking account of the scattering factors for the two Friedel mates and the overall Wilson *B* factor,

Note that a shift in the phase of **U** causes identical shifts in the phases of **H**^{+} and **H**^{−*} but, since the evaluation of the MLSAD likelihood function involves integrating over all possible phases for the corresponding true structure factors, the value of the likelihood target is unchanged. (Visualized in terms of the Harker construction for phasing, the geometrical relationship between **H**^{+} and **H**^{−*} is unchanged, as is the degree of overlap of the circles, but the whole construction is rotated.) For this reason, the MLSAD likelihood function can be defined in terms of *U*^{2} = |**U**|^{2}. The phase assigned to **U** is therefore arbitrary, so for convenience it can be taken as purely real. Fig. 1 illustrates the variation of the log-likelihood MLSAD target as a function of *U*^{2}, along with the Harker constructions for purely real **U** that correspond to several points along the curve.

#### 2.2. Computing a fast approximation to the unphased SAD likelihood target

The molecular-replacement likelihood-enhanced fast translation function (McCoy *et al.*, 2005) is based on a linear approximation of the molecular-replacement likelihood target as a function of the calculated intensity, derived as a first-order Taylor series approximation centred on the expected value of the calculated intensity. Similarly, the *Phassade* fast SAD translation function can be derived from a Taylor series approximation to the MLSAD likelihood target centred on the expected value of *U*^{2}. If the logarithm of the MLSAD likelihood target is denoted *L*, then

As noted above, **U** can be treated as a purely real quantity *U*, which simplifies the expression for the derivative required for the linear approximation,

where

and

where

The derivative for the slope of the linear approximation is found using the chain rule, expressed in terms of partial derivatives that are already required for *et al.*, 2004) or for computing log-likelihood-gradient maps (McCoy & Read, 2010),

Equation (6) here is closely related to equation (6) from McCoy & Read (2010) when expressed in terms of a purely real *U*. Centring the linear approximation on the expected value of *U*^{2} ensures that it is most accurate for the values that will be encountered in a translation search. The expected value can include the contribution of an existing which will be set to zero when searching for the first atom in the The contribution to the expected value of the atom being placed by the translation search, plus its symmetry copies, is simply equal to the number of symmetry operators times the expected intensity factor (a statistical factor ∊ that is usually 1) for the reflection, weighted by the occupancy assumed for the atom being placed,

Fig. 2 illustrates the linear approximation for the same case as shown in Fig. 1, focusing on the values of *U*^{2} likely to be encountered for a with a single fully occupied unique atom and centred on the corresponding expected value of *U*^{2}, *i.e.* the number of symmetry operators.

The linear approximation to the MLSAD target can be computed, for all potential positions of a unique anomalous scatterer, with a single FFT by using the algorithm of Navaza & Vernoslova (1995). In this framework, the factor for each symmetry-related copy of the search atom is simply a real number corresponding to the search occupancy for the atom. Once a trial position for an atom has been selected from a peak in the FFT, the MLSAD target can be used to refine the resulting anomalous-scatterer model, including occupancies, *B* factors and variance terms.

#### 2.3. Variance terms used in the search

Computing the MLSAD target requires estimates for the variance terms relating to the fractions of the real and imaginary scattering accounted for by the model. Unlike the molecular-replacement case, in which one usually has reasonable confidence in a prior estimate of the total ordered scattering of the

of the crystal (and there are only discrete options corresponding to integer numbers of molecules), there is considerable uncertainty in the prior knowledge about the amount of scattering from This is particularly an issue for soaking experiments, but even for selenomethionine phasing there is a good chance that one or more methionine residues will be poorly ordered. The variance parameters can be refined, for a null model or after placing additional atoms in the but it is difficult to predict precisely which fraction of the variance will be accounted for when an atom in the is placed correctly.In molecular-replacement searches in *Phaser* (Storoni *et al.*, 2004; McCoy *et al.*, 2005), the variance terms are reduced by the fraction of scattering that is expected to be explained. However, in this work we have not yet attempted to adjust the refined variances for the effect of placing an additional atom in the substructure.

#### 2.4. Occupancy of the search atom

In *a priori* uncertainty about the occupancy of the anomalous scatterer being placed, especially for soaking experiments or bound halides. Visualized in terms of the Harker construction, varying the occupancy of an atom being placed, scales the relative shift of the circles corresponding to the two diffraction observations; a small shift in the direction that will maximize the likelihood target for an optimal choice of occupancy will nonetheless increase the likelihood score, whereas a shift that is too large may even result in a reduction of the likelihood score. Such considerations suggest that it may be preferable to carry out the search using smaller occupancies than those expected for atoms in the In the limit of an infinitesimal occupancy, such a search corresponds to a log-likelihood gradient calculation. One advantage of using low initial occupancies for the search atoms is that it becomes unnecessary to worry about the reduction in the variance terms that should occur when an atom is correctly placed. The search occupancy is an adjustable parameter in the current version of the *Phassade* algorithm.

### 3. Completing a partial substructure

Because the *Phassade* target is based on a linear approximation that can include the contribution of a fixed background it is possible to complete a partial by using *Phassade* to select one or more new atoms at a time. Alternatively, the log-likelihood-gradient completion algorithm (Read & McCoy, 2011) can be employed, starting from a containing as little as a single unique atom. The two approaches should yield similar results, but they differ in the sense that the *Phassade* target evaluates the effect of including an atom with a defined occupancy at a particular site, whereas the log-likelihood-gradient map evaluates the effect on the likelihood target as an anomalous-scatterer occupancy is increased infinitesimally at each site. As the assumed occupancy for *Phassade* approaches zero, the two approaches should converge. These considerations provided a second reason to explore different choices of assumed occupancy in the test calculations.

For non-enantiomorphic space groups, the search for the first atom will yield pairs of positions related by inversion, corresponding to the two possible hands for the

and specifying a choice of origin. Depending on the symmetry and whether or not this atom is on a special position, the may be centrosymmetric, in which case the search for the next atom will also yield pairs of positions related by inversion. To break the centrosymmetry and avoid mixing solutions corresponding to different choices of hand, it is necessary to add new atoms to the one by one until the centrosymmetry is broken. At this point, multiple atoms can be added simultaneously if there is more than one significant peak in the search.### 4. Test calculations

Several test cases were used during development to establish sensible defaults and to gauge the performance of the new algorithm, which was benchmarked against the current *HySS* algorithm that includes *Phaser* log-likelihood-gradient completion (Bunkóczi *et al.*, 2015). The cases were chosen to sample substructures with different levels of anomalous signal and to evaluate the effect of accounting for the real scattering contribution of the anomalous scatterers. These tests provide a proof of principle that the method works, but an exhaustive characterization against a large test set that was not used in training has yet to be carried out.

#### 4.1. Selenomethionine in tryparedoxin

The structure of tryparedoxin-I from *Crithidia fasciculata* (PDB entry 1qk8; Alphey *et al.*, 1999) was originally determined by multi-wavelength anomalous diffraction using a selenomethionine derivative, but it is possible to solve it using just the data from the peak wavelength (0.9790 Å; Bunkóczi *et al.*, 2015). There is only one Se site, corresponding to the single ordered methionine in the structure. The *Phassade* search for a fully occupied Se atom yields a single unique peak with a *Z*-score of 20.6; this site refines to a final log-likelihood gain (LLG) of 575. The entire calculation, including the final phasing, takes a total of 1.9 s on a Mac Pro with a 3.5 GHz Xeon processor. The can also readily be determined with a default run of *HySS*, taking a total of 13.6 s without the final phase calculation.

Achieving a clear signal does not require placing a Se atom at full occupancy. In fact, searches using occupancies ranging from 0.05 to 1.0 all give very similar results in terms of the signal to noise and run time.

#### 4.2. Hen egg-white lysozyme iodide soak

This test used data collected on a copper rotating-anode source from a tetragonal form crystal of hen egg-white lysozyme that had been soaked in 0.5 *M* potassium iodide; these data are distributed for *CCP*4 and *PHENIX* tutorials on experimental phasing in *Phaser* (https://www.phaser.cimr.cam.ac.uk/index.php/Tutorials). The refined iodide occupancies for the 14 atoms in the correct solution range from 0.11 to 0.73. When the search occupancy is set too high, the signal to noise of the search is reduced substantially, at least partly because of noise piling up on special positions. For instance, when the search occupancy is set to 1, the largest features in the map are holes, with the deepest hole (on a twofold axis) having a *Z*-score of 28.3. The peaks in this map suggest six potential solutions for the first atom. Of these, the second in the list (*Z*-score of 6.8) corresponds to the iodide site with highest occupancy in the final it refines to a final LLG of 127.5. The first peak (*Z*-score of 7.0) is also correct, although it is a weaker site that refines to an LLG of 76.3, but the remaining four are incorrect. In contrast, search occupancies of 0.6 or less yield a single dominant site, which corresponds to the atom with highest occupancy in the complete As the search occupancy is reduced, the deepest holes in the fast SAD translation search map become shallower and the signal to noise improves, with lower occupancies yielding a *Z*-score of 8.8.

Space group *P*4_{3}2_{1}2 is enantiomorphic, so there is no hand ambiguity in the search. Once the first site has been placed, the origin is defined and it is possible to add multiple new sites found as significant peaks in new searches. completion can be carried out with either the *Phassade* search or log-likelihood-gradient completion, both of which find the additional sites with very clear discrimination from noise. The log-likelihood-gradient completion algorithm has been highly optimized, so it yields a complete solution more quickly in the current implementation.

Finding the first site with the *Phassade* search takes 2.3 s, using a search occupancy of 0.05, and placing the remaining 13 sites with log-likelihood-gradient completion takes an additional 9.1 s, for an overall total of 11.4 s. By comparison, a default run of *HySS* takes 58.7 s to determine a with 14 sites, four of which are discarded during phasing and log-likelihood-gradient completion calculations in *Phaser*, to obtain the same found with the new approach.

#### 4.3. *Clostridium acidurici* ferredoxin

The structure of *Clostridium acidurici* was refined against data collected to 0.94 Å resolution (PDB entry 2fdn; Dauter *et al.*, 1997), starting from a structure previously determined at 1.84 Å resolution (PDB entry 1fdn; Duée *et al.*, 1994). Data were collected with a wavelength of 0.883 Å, with no attempt being made to optimize the anomalous signal from the Fe atoms in the two Fe_{4}S_{4} clusters in this protein. As a result, the anomalous signal is weak although detectable, and it is very difficult to determine the using conventional methods based on the use of the anomalous differences. Note that there is very little anomalous signal beyond about 2 Å resolution, whereas each Fe atom accounts for nearly 4% of the total real scattering at around 1 Å resolution, near the limit of the data.

*HySS* only succeeds in solving the when the new algorithms employing *Phaser* log-likelihood-gradient completion are employed, thus taking account of the real component of the scattering in the completion phase. A successful run takes 1105 s to find all eight Fe atoms and all 16 S atoms in the structure, as well as 19 low-occupancy sites corresponding to well ordered C, N and O atoms.

A preliminary test of single-atom molecular-replacement methods (McCoy *et al.*, 2017) showed that there is sufficient signal in just the real scattering contribution of the Fe atoms to atomic resolution to place them reliably. With the *Phassade* search, it is not necessary to choose whether to pay attention to just the real or imaginary components of scattering. Indeed, a search for the first Fe atom with the fast SAD translation search gives a dominant single solution with a *Z*-score of 17.5 and an LLG of 106.4 in 8.0 s. As for the lysozyme test case, placing a single atom in *P*4_{3}2_{1}2 defines both the hand and the origin.

The log-likelihood-gradient completion can search for additional Fe atoms or for a combination of atom types, and when a combination of atom types is used the likelihood score can be used to distinguish the correct hand. Two tests for completion were carried out. The first test searched for additional Fe or S atoms, testing both *P*4_{3}2_{1}2 and its *P*4_{1}2_{1}2, and was restricted to two cycles of completion. The search in *P*4_{3}2_{1}2 found a total of 27 sites, six of which were labelled as Fe and 21 as S, with a final LLG score of 6094. In contrast, the search in *P*4_{1}2_{1}2 found a total of 33 sites, 17 of which were labelled as Fe and 16 as S, but even with a larger number of sites the final LLG score was only 5299. This run, testing the and its took 172.3 s, for an overall total of 180.3 s, compared with 1105 s for the *HySS* calculation that found a similar number of sites but did not resolve the choice of hand. The second test searched for additional Fe, S or N atoms (with N atoms serving as proxies for C, N or O) and carried on until no further changes were made in the taking 1115.9 s to search in both space groups. The search in *P*4_{3}2_{1}2 found a total of 388 sites, eight of which were labelled as Fe, 40 as S and 340 as N, with a final LLG score of 32 304, whereas the search in *P*4_{1}2_{1}2 found a total of 395 sites, 15 of which were labelled as Fe, 367 as S and 13 as N, with a final LLG score of 25 516. In the deposited PDB file there is a total of 564 records for non-H atoms, including all solvent atoms and alternate conformers. Note that the weak anomalous signal was sufficient to distinguish clearly between the choices of hand and assisted in the correct identification of the element types. Nonetheless, the real scattering signal dominates in this case to the extent that essentially the correct atomic positions can be obtained in the wrong hand.

#### 4.4. Carbamoylphosphate synthase large subunit from *Exiguobacterium* species 255-15

Carbamoylphosphate synthase (PDB entry 2pn1) is an unpublished structure determined by the Joint Center for Structural Genomics using two-wavelength selenomethionine It is possible to solve this structure by SAD phasing using the data from either wavelength, but it is much more difficult with the high-energy remote data set (wavelength of 0.91837 Å) used in the tests reported here. A containing all seven Se sites can be determined with *HySS* in 1171 s when the *Phaser* log-likelihood-gradient completion algorithm is used, but not when *HySS* is confined to the earlier direct-methods approaches (Bunkóczi *et al.*, 2015).

Using the current default protocol, the *Phassade* search fails to solve this A default search for the first atom in the yields a single dominant solution for an atom about 1 Å from a crystallographic twofold. By reducing the thresholds to preserve a longer list of potential solutions, a list of five one-site solutions including a correct solution (No. 4 in the list) can be obtained in 10.1 s. In *C*2 single-atom substructures are always centrosymmetric, so it is necessary to add atoms one by one to avoid adding pairs that preserve the centre of symmetry, until this symmetry is broken. Starting from the correct single site found in the more exhaustive search for the first atom, a default search with *Phassade* finds three potential solutions in 216.5 s; the first of these, with an LLG score of 170.0, is correct, whereas the other two solutions (LLG values of 165.7 and 156.1) each have one incorrect position, failing to place the Se atom with the highest *B* factor in the refined structure. A fairer test is to start a branched search from all five potential solutions for the first atom, in which case the same three potential solutions are found in 2569 s.

### 5. Discussion

#### 5.1. Comparison with methods relying on the estimation of *F*_{A}

Current methods for *F*_{A}, the structure factors of the anomalously scattering atoms, through Pattersons calculated from the square of the coefficients and/or using the *F*_{A} estimates directly. The vast majority of anomalous determinations use the Rossmann approximation (Rossmann, 1961; Hendrickson, 2014),

This approximation is only valid if the *F*_{A} for structure factors for which *F*_{PH} and *F*_{A} are in phase, since (8) approximates an expression that includes the sine of the phase difference,

The sine term introduces noise, and peaks in the anomalous difference Patterson will be half weight (Rossmann, 1961). In addition, if only SAD data are available, this approximation does not reflect any contribution from the real scattering by anomalous scatterers.

If isomorphous differences are also known, such as from a MAD experiment, then the information that they give is complementary and they can be combined to give better estimates of *F*_{A}. *F*_{A} can be estimated by solving a set of simultaneous equations (Hendrickson, 1985). Despite the estimates of *F*_{A} being more robust when MAD data are available, in practice they can be affected by radiation damage, which tends to be severe when anomalously scattering atoms are present and absorbing energy, and by other systematic errors, such as those in scaling. Terwilliger (1994) showed that a Bayesian analysis of the MAD data, applying prior probabilities to the *F*_{A} estimates based on the expected scattering, improved estimates of the *F*_{A} in the presence of significant errors.

The *Phassade* search avoids any requirement to estimate *F*_{A}, as the SAD likelihood target is based directly on the joint probability distribution of the of structure factors. This target automatically takes account of the effects of both real and imaginary scattering in the atoms comprising the so it is not necessary to determine in advance which contribution to the signal will be important. As a result, it will succeed for substructures in which a substantial part of the signal comes from the real scattering contribution, such as the case discussed here, as well as those for which the contributions are very large.

#### 5.2. Comparison with direct methods

It is perhaps surprising that a method completely ignoring correlations among triplets of reflections, which have been thought to be essential to the most powerful substructure-determination methods, can be as successful as it is. This is despite the current algorithm being completely deterministic, being built on a systematic (albeit branched) search. The implication is that what has been given up in ignoring these correlations has been, at least in large part, recovered by accounting much more rigorously for statistical effects, in particular the propagation of measurement errors and errors from model incompleteness.

#### 5.3. Future directions

As it stands, the combination of the *Phassade* search and log-likelihood-gradient completion with the SAD likelihood target is already competitive with existing methods for data sets with reasonably clear signal and relatively modest numbers of sites. However, there is certainly room to take inspiration from some of the approaches that have enhanced the power of dual-space methods. It is not necessary to be restricted to searching for single atoms; in both *SHELXD* (Schneider & Sheldrick, 2002) and *HySS* (Grosse-Kunstleve & Adams, 2003) peaks selected from the anomalous are used to prime the search for pairs of atoms separated by the corresponding vectors.

For particularly difficult cases, adding a stochastic element to the search could be helpful, as has been found for the dual-space methods. For example, the random deletion of a subset of sites, followed by re-expansion, extends the power and accuracy of *SHELXD* (Schneider & Sheldrick, 2002).

Further automation will be achieved by combining the *Phassade* search for the first atoms (or pairs of atoms) with log-likelihood-gradient completion in a single task. For robustness, it would be essential to avoid adding multiple sites at once as long as the is centrosymmetric, but efficiency would be gained by allowing multiple sites to be added simultaneously after the centrosymmetry has been broken.

We expect that these and other developments of the *Phaser* software.

### Funding information

This research was supported by the Wellcome Trust (Principal Research Fellowship to RJR, grant 082961/Z/07/Z) and by an award to CCP4 from the Biotechnology and Biological Sciences Research Council (BBSRC grant BB/L006014/1). The research was facilitated by Wellcome Trust Strategic Award 100140 to the Cambridge Institute for Medical Research.

### References

Akey, D. L., Terwilliger, T. C. & Smith, J. L. (2016). *Acta Cryst.* D**72**, 296–302. Web of Science CrossRef IUCr Journals Google Scholar

Alphey, M. S., Leonard, G. A., Gourley, D. G., Tetaud, E., Fairlamb, A. H. & Hunter, W. N. (1999). *J. Biol. Chem.* **274**, 25613–25622. Web of Science CrossRef PubMed CAS Google Scholar

Borek, D., Dauter, Z. & Otwinowski, Z. (2013). *J. Synchrotron Rad.* **20**, 37–48. Web of Science CrossRef CAS IUCr Journals Google Scholar

Buerger, M. J. (1970). *Contemporary Crystallography*. New York: McGraw–Hill. Google Scholar

Bunkóczi, G., McCoy, A. J., Echols, N., Grosse-Kunstleve, R. W., Adams, P. D., Holton, J. M., Read, R. J. & Terwilliger, T. C. (2015). *Nature Methods*, **12**, 127–130. Web of Science PubMed Google Scholar

Dauter, Z., Wilson, K. S., Sieker, L. C., Meyer, J. & Moulis, J.-M. (1997). *Biochemistry*, **36**, 16065–16073. Web of Science CrossRef CAS PubMed Google Scholar

Duée, E. D., Fanchon, E., Vicat, J., Sieker, L. C., Meyer, J. & Moulis, J.-M. (1994). *J. Mol. Biol.* **243**, 683–695. PubMed Web of Science Google Scholar

Dumas, C. & van der Lee, A. (2008). *Acta Cryst.* D**64**, 864–873. Web of Science CrossRef CAS IUCr Journals Google Scholar

Foadi, J., Aller, P., Alguel, Y., Cameron, A., Axford, D., Owen, R. L., Armour, W., Waterman, D. G., Iwata, S. & Evans, G. (2013). *Acta Cryst.* D**69**, 1617–1632. Web of Science CrossRef CAS IUCr Journals Google Scholar

Germain, G., Main, P. & Woolfson, M. M. (1970). *Acta Cryst.* B**26**, 274–285. CrossRef CAS IUCr Journals Web of Science Google Scholar

Grosse-Kunstleve, R. W. & Adams, P. D. (2003). *Acta Cryst.* D**59**, 1966–1973. Web of Science CrossRef CAS IUCr Journals Google Scholar

Hendrickson, W. A. (1985). *Trans. Am. Crystallogr. Assoc.* **21**, 11–21. CAS Google Scholar

Hendrickson, W. A. (2014). *Q. Rev. Biophys.* **47**, 49–93. Web of Science CrossRef PubMed Google Scholar

La Fortelle, E. de & Bricogne, G. (1997). *Methods Enzymol.* **276**, 472–494. PubMed Web of Science Google Scholar

Liu, Q., Dahmane, T., Zhang, Z., Assur, Z., Brasch, J., Shapiro, L., Mancia, F. & Hendrickson, W. A. (2012). *Science*, **336**, 1033–1037. Web of Science CrossRef CAS PubMed Google Scholar

McCoy, A. J., Grosse-Kunstleve, R. W., Storoni, L. C. & Read, R. J. (2005). *Acta Cryst.* D**61**, 458–464. Web of Science CrossRef CAS IUCr Journals Google Scholar

McCoy, A. J., Oeffner, R. D., Wrobel, A. G., Ojala, J. R. M., Tryggvason, K., Lohkamp, B. & Read, R. J. (2017). *Proc. Natl Acad. Sci. USA*, **114**, 3637–3641. Web of Science CrossRef CAS PubMed Google Scholar

McCoy, A. J. & Read, R. J. (2010). *Acta Cryst.* D**66**, 458–469. Web of Science CrossRef CAS IUCr Journals Google Scholar

McCoy, A. J., Storoni, L. C. & Read, R. J. (2004). *Acta Cryst.* D**60**, 1220–1228. Web of Science CrossRef CAS IUCr Journals Google Scholar

Miller, R., DeTitta, G. T., Jones, R., Langs, D. A., Weeks, C. M. & Hauptman, H. A. (1993). *Science*, **259**, 1430–1433. CSD CrossRef CAS PubMed Web of Science Google Scholar

Navaza, J. & Vernoslova, E. (1995). *Acta Cryst.* A**51**, 445–449. CrossRef CAS Web of Science IUCr Journals Google Scholar

Nordman, C. E. (1966). *Trans. Am. Crystallogr. Assoc.* **2**, 29–38. CAS Google Scholar

Palatinus, L. & Chapuis, G. (2007). *J. Appl. Cryst.* **40**, 786–790. Web of Science CrossRef CAS IUCr Journals Google Scholar

Pannu, N. S. & Read, R. J. (2004). *Acta Cryst.* D**60**, 22–27. Web of Science CrossRef CAS IUCr Journals Google Scholar

Read, R. J. & McCoy, A. J. (2011). *Acta Cryst.* D**67**, 338–344. Web of Science CrossRef CAS IUCr Journals Google Scholar

Rossmann, M. G. (1961). *Acta Cryst.* **14**, 383–388. CrossRef CAS IUCr Journals Web of Science Google Scholar

Schneider, T. R. & Sheldrick, G. M. (2002). *Acta Cryst.* D**58**, 1772–1779. Web of Science CrossRef CAS IUCr Journals Google Scholar

Sheldrick, G. M. (2010). *Acta Cryst.* D**66**, 479–485. Web of Science CrossRef CAS IUCr Journals Google Scholar

Storoni, L. C., McCoy, A. J. & Read, R. J. (2004). *Acta Cryst.* D**60**, 432–438. Web of Science CrossRef CAS IUCr Journals Google Scholar

Terwilliger, T. C. (1994). *Acta Cryst.* D**50**, 11–16. CrossRef CAS Web of Science IUCr Journals Google Scholar

Terwilliger, T. C. & Berendzen, J. (1999). *Acta Cryst.* D**55**, 849–861. Web of Science CrossRef CAS IUCr Journals Google Scholar

Terwilliger, T. C., Bunkóczi, G., Hung, L.-W., Zwart, P. H., Smith, J. L., Akey, D. L. & Adams, P. D. (2016*a*). *Acta Cryst.* D**72**, 346–358. Web of Science CrossRef IUCr Journals Google Scholar

Terwilliger, T. C., Bunkóczi, G., Hung, L.-W., Zwart, P. H., Smith, J. L., Akey, D. L. & Adams, P. D. (2016*b*). *Acta Cryst.* D**72**, 359–374. Web of Science CrossRef IUCr Journals Google Scholar

Terwilliger, T. C., Kim, S.-H. & Eisenberg, D. (1987). *Acta Cryst.* A**43**, 1–5. CrossRef CAS Web of Science IUCr Journals Google Scholar

Yao, J.-X. (1983). *Acta Cryst.* A**39**, 35–37. CrossRef Web of Science IUCr Journals Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.