research papers
Solving protein structure from sparse serial microcrystal diffraction data at a storagering synchrotron source
^{a}Laboratory of Atomic and Solid State Physics, Cornell University, Ithaca, NY 14853, USA, ^{b}Cornell High Energy Synchrotron Source (CHESS), Cornell University, Ithaca, NY 14853, USA, ^{c}Macromolecular Diffraction Facility at CHESS (MacCHESS), Cornell University, Ithaca, NY 14853, USA, ^{d}School of Molecular Sciences and Biodesign Center for Applied Structural Discovery, Biodesign Institute, Arizona State University, Tempe, AZ 85287, USA, ^{e}Advanced Photon Source, Argonne National Laboratory, 9700 South Cass Avenue, Lemont, IL 60439, USA, and ^{f}Kavli Institute for Nanoscale Science, Cornell University, Ithaca, NY 14853, USA
^{*}Correspondence email: smg26@cornell.edu
In recent years, the success of serial femtosecond crystallography and the paucity of beamtime at Xray freeelectron lasers have motivated the development of serial microcrystallography experiments at storagering synchrotron sources. However, especially at storagering sources, if a crystal is too small it will have suffered significant radiation damage before diffracting a sufficient number of Xrays into Bragg peaks for peakindexing software to determine the crystal orientation. As a consequence, the data frames of small crystals often cannot be indexed and are discarded. Introduced here is a method based on the expand–maximize–compress (EMC) algorithm to solve protein structures, specifically from data frames for which indexing methods fail because too few Xrays are diffracted into Bragg peaks. The method is demonstrated on a real serial microcrystallography data set whose signals are too weak to be indexed by conventional methods. In spite of the daunting background scatter from the sampledelivery medium, it was still possible to solve the protein structure at 2.1 Å resolution. The ability of the EMC algorithm to analyze weak data frames will help to reduce sample consumption. It will also allow serial microcrystallography to be performed with crystals that are otherwise too small to be feasibly analyzed at storagering sources.
Keywords: Xray serial microcrystallography; sparse data; EMC algorithm; protein microcrystallography; storagering synchrotron sources.
1. Introduction
Xray freeelectron lasers (XFELs) have catalyzed several novel methods in biostructural science. Serial femtosecond crystallography (SFX), arguably the most successful of these methods so far, allows protein et al., 2011; Boutet et al., 2012). Although developments in detector technology, sample delivery and data analysis have made SFX a viable technique, its wide use is limited by the scarcity of XFEL beamtime.
from nanocrystals by using Xray pulses only femtoseconds long so as to outrun the damage process (ChapmanDespite the construction of XFELs worldwide, available beamtime in the near future will still be scarce compared with that provided by existing storagering synchrotron sources. This has inspired the development of serial microcrystallography experiments at current storagering sources (Gati et al., 2014; Stellato et al., 2014; Heymann et al., 2014; Gruner & Lattman, 2015; Botha et al., 2015; Nogly et al., 2015; Roedig et al., 2016; MartinGarcia et al., 2017). A serial microcrystallography experiment involves crystals sequentially delivered in random orientations into the Xray beam. To merge the diffraction patterns, each frame must be indexed to determine the crystal orientation, which usually requires at least 20 to 30 resolvable Bragg peaks per frame. Since the pulse width of storagering sources is of the order of picoseconds, radiation damage cannot be outrun in the same way as at XFELs. At storage rings the exposure time per crystal is limited by radiation damage. If the crystal is too small, too few Xrays to determine the crystal orientation will be diffracted prior to irreversible radiation damage. Therefore, serial crystallography at storagering sources has thus far relied on relatively large crystals. Frames with insufficient resolvable Bragg peaks for indexing, which we call `sparse frames', are simply discarded. Proteins not bound up in large crystals are wasted for the purpose of structure determination.
Using the expand–maximize–compress (EMC) algorithm (Loh & Elser, 2009), we have developed an alternative analysis approach that makes use of the sparse frames. Unlike indexing algorithms that determine a definite orientation on a per frame basis, the EMC algorithm models the orientation of each frame probabilistically and reconstructs a consistent threedimensional intensity model using all the data frames simultaneously. The information from a sparse frame still contributes to the reconstruction even though the frame alone cannot be indexed. This approach can reduce the usable crystal size in serial microcrystallography experiments at storagering sources and extract information from the sparse frames that would otherwise have been discarded.
This work is the latest contribution from a methodical programme to handle sparse frames. Philipp et al. (2012) and Ayyer et al. (2014) first showed that the probabilistic modeling of the EMC algorithm continues to hold even with just a few photons per frame in two and threedimensional shadowgraphy. Ayyer et al. (2015) subsequently applied the EMC algorithm to sparse frames collected from a smallmolecule crystal rotated about a single axis, and Wierman et al. (2016) further extended the study to sparse frames taken from a large protein crystal rotated about a single axis. In order to sample a greater portion of the rotation space, Lan et al. (2017) analyzed sparse frames taken from a large protein crystal rotated about two orthogonal axes and developed computing schemes to speed up the reconstruction at high resolution.
Here, we describe a stepbystep analysis using the EMC algorithm on a real serial microcrystallography data set. Specifically, we threw away the strong crystal diffraction patterns and focused our analysis on the data frames that cannot be indexed by conventional means. In contrast with the Monte Carlo integration approach (Kirian et al., 2010), our method uses the reconstructed crystal volumes, for all the data frames, when building the threedimensional intensity model.
This paper is organized as follows: Section 2 describes the data set, the process of data reduction, and the modified version of the EMC algorithm used to address the individual crystal sizes and the large diffuse background scattering arising from the lipidic cubic phase (LCP) gel used to convey the crystals into the Xray beam. Section 3 presents the results of the EMC reconstruction and the protein structure solution. In Section 4, we compare the experimentally measured background profile with the simulated scattering from water and discuss possibilities for background reduction. Additional technical details are presented in Appendices A and B.
2. Materials and methods
We tested our analysis method on a serial microcrystallography data set collected by MartinGarcia et al. (2017) on the GM/CA 23IDD beamline at the Advanced Photon Source (APS). The raw data consist of 304 643 frames measured from hen egg white lysozyme microcrystals, ranging in size from 5 to 10 µm, at room temperature. We note that this data set is a representative subset of the data collected by MartinGarcia et al. (2017) (364 724 frames in total), without any preselection. The crystals were sequentially delivered to the Xray beam in random orientations by an LCP gel injector with a glass nozzle of 50 µm inner diameter (Weierstall et al., 2014). The data were collected by a PILATUS3 6M detector with resolution of up to 1.75 Å in the detector corners. The detector has 2527 × 2463 square pixels, 172 × 172 µm each. In order to demonstrate the ability of our method to handle weak crystal diffraction data, we excluded data frames with more than 20 resolvable Bragg peaks, the empirical lower bound for normal indexing methods to succeed. In other words, we only considered the weak crystal diffraction patterns that were rejected from the by MartinGarcia et al. (2017), which gives the 120 574 sparse frames used in our reconstruction.
2.1. Data reduction
Our analysis started with identifying the frames containing crystal diffraction because the crystals were randomly distributed in the LCP gel. This process, also known as `hit finding', first locates possible Bragg peaks from the diffuse background scatter. Our method is based on outlier detection. In the absence of crystal diffraction, the probability that a pixel measures a photon count, K, follows the P_{b}(K) = exp(−b)b^{K}/K!, where b is an estimate (described below) of the photon number at that pixel due to the diffuse background scatter. Given b, we can identify an outlier pixel by its photon count being too large to be consistent with Poisson statistics. This consistency is defined via a photon count threshold, , defined by the cumulative probability
where ∊ is a small number that lets us set a falsepositive rate (see below). If the photon count measured in the pixel exceeds the threshold , we assume that crystal diffraction contributed to the signal.
Since we had no prior knowledge of the background photon numbers b, we estimated them using the following selfconsistent iterative scheme. Observing that the background scatter is generally azimuthally symmetric about the incident Xray beam, we assumed that b only depends on the frame index k and the spatial frequency magnitude q. The initial values of b_{qk} were obtained by averaging all photon counts in annular regions, after the pixelwise correction of the polarization factor and solid angle. Because the number of pixels in these annular regions ranged from 10^{3} to 10^{4}, the value of ∊ in equation (1) was set to 10^{−5} to reduce false positives arising from statistical fluctuations. In each iteration we used the current estimates of b_{qk} to calculate the pixelwise background estimates, b_{ik}, by the relation
where p_{i} is the product of the (positive) polarization factor and the solid angle of pixel i. From the values of b_{ik}, we identified the outlier pixels and excluded them from the annular average for b_{qk} in the next round. This procedure was repeated until the values of b_{qk} converged, giving us a good estimate of the background scatter and a list of outlier pixels for each data frame.
The photon count thresholds , defined by equation (1) with ∊ = 10^{−5}, are plotted in Fig. 1(a) over a range of background estimates b. Also shown is the signaltonoise ratio (SNR), which is defined as the ratio of to b. We can see that the SNR takes on a wide range of values over b, especially when the values of b are close to zero. Since the background estimates in the data frames used in this study range from a fraction to 20 photons, the threshold values defined by the cumulative Poisson probability detects outliers in a more consistent way than those determined by a fixed SNR. Fig. 1(b) further illustrates this point by plotting the cumulative probabilities P_{b}(K b × SNR) for different thresholds defined by fixed values of the SNR. Under this definition, photon counts greater than the threshold, b × SNR, are identified as outliers, which may result in many false positives at small values of b. In practice, the SNR is usually used along with other criteria that characterize a peak in the hitfinding process.
We defined a possible Bragg peak as a cluster with at least two but no more than ten contiguous outlier pixels, because most of the clusters have sizes smaller than five pixels. A cluster with more than ten contiguous outlier pixels was considered as originating from something other than a Bragg spot and was masked out for the rest of the analysis. As mentioned earlier, we discarded strong crystal diffraction patterns with more than 20 possible Bragg peaks. The possible Braggpeak locations in the remaining data frames enabled us to estimate the
parameters by constructing a onedimensional pseudopowder pattern as follows: after mapping the possible peaks to we recorded the distances between the centroids of the peaks in each data frame. By dividing the spatial frequency magnitudes into bins of the same size, the onedimensional pseudopowder pattern was given by a histogram recording the frequencies of the interpeak distances in each bin. The interpeak distances are a more reliable source of information about the geometry than the distance from the center of the detector because of the beamstop. By assuming a primitive tetragonal to simplify the analysis in this study, the parameters were estimated by fitting the peaks in the onedimensional pseudopowder pattern.In principle, we should be able to determine the
parameters from the onedimensional pseudopowder pattern even with no knowledge of the unitcell type. This can be done by an exhaustive search over combinations of parameters from unit cells with high symmetry to those with low symmetry. In challenging cases of crystals with low symmetry and large unitcell dimensions, it may be necessary to take a separate diffraction measurement, that better resolves the interpeak distances, with the detector further from the interaction point. The onedimensional pseudopowder pattern in this case would be the sum of resolvable peak values over spatial frequency magnitudes. Sample consumption should not be a concern here, since the number of peaks needed to populate the onedimensional pseudopowder pattern is of a similar order to the number of parameters to be fitted (at most six). These lowresolution crystal diffraction patterns can also be incorporated into the EMC reconstruction to improve the statistics of Bragg intensities at low resolution.Finally, we completed the hitfinding process by an exhaustive search in threedimensional rotation space. The centroids of the possible peaks within a lowresolution cutoff in each frame were rotated over all rotation samples. We considered a frame to be a `crystal hit' when at least three possible peaks matched the predicted Bragg positions within a predefined radius, r_{p}, at some orientation, and all such orientations were recorded as the possible crystal orientations of this frame. This criterion reduced the number of frames by 60% for the later analysis and narrowed down the number of possible orientations for each frame. However, the possible orientations for each frame are still far from unique to orient the frames (see Section 3 for more details).
2.2. Model reconstruction
2.2.1. Signal model
The diffraction pattern of each crystal hit can be modeled as the Poisson sample from the incoherent sum of the crystal diffraction and the background estimates, i.e. the average photon number due to the diffuse background scatter. Consider data frame k that records the diffraction of a crystal at orientation j. The average photon number measured by pixel i is given by
where φ_{k} is a scale factor proportional to the crystal volume, the Xray beam fluence and the travel time of the crystal across the beam, and W_{ij} denotes the value sampled by pixel i from the threedimensional crystal intensity model W at crystal orientation j. In this study, all crystal volumes refer to the portion of crystals illuminated by the Xray beam over the exposure time of a data frame. The Poisson sample from gives the photon count K_{ik} with the crystal orientation unmeasured. Our main task in this study is to reconstruct W and φ_{k} given the data K_{ik} and background estimates b_{ik}.
2.2.2. EMC algorithm
We reconstructed the models W and φ using the EMC algorithm (Loh & Elser, 2009), which iteratively updates the current models by maximizing the data likelihood. Each iteration of the EMC algorithm consists of three steps: expand (E), maximize (M) and compress (C). The E step calculates the tomograms W_{ij} from the current threedimensional intensity model W(p) by linear interpolation
where f(·) is the interpolation weight, p denotes the threedimensional grid points in R_{j} is the rotation matrix that brings the laboratory frame to the crystal reference frame when the crystal has orientation j, and q_{i} is the spatial frequency of pixel i in the laboratory frame. We adopt the convention q = 2sin(θ/2)/λ, where θ is the scattering angle and λ represents the Xray wavelength.
The M step updates the models by maximizing an expected loglikelihood function
Here, P_{jk}(W, φ_{k}) denotes the conditional probability that data frame k records the diffraction of a crystal at orientation j given the current models:
where w_{j} is the fraction of the continuous rotation group assigned to rotation sample j. However, simultaneous updates for W′ and φ′ are nontrivial because they appear as products in Q. As suggested by Loh et al. (2010), the models are instead updated by maximizing Q with one or other of these parameters, W′ or φ′, held fixed in each EMC iteration. This alternating update rule converts the original problem into two sets of minimizations
Since the functions to be minimized in equations (7) and (8) are convex, the minima can be readily found by a line search, i.e. a simple numerical algorithm to locate minima in one dimension (Press et al., 2007). We imposed the nonnegativity constraint on when solving equation (8) to prohibit negative crystal volume. On the other hand, negative values of are allowed when solving equation (7), as a result of noise.
The C step enforces consistency between different tomograms by merging them to form a new threedimensional intensity model, W′. If the updated model is φ′ in an iteration, the C step is skipped and the current model, φ, is replaced by φ′ to start the next iteration. The tomograms are mapped to the updated threedimensional intensity model, W′(p), by
The tomograms are weighted by to reflect the frequency of orientation j populated by the data frames with a weight corresponding to the signal strength of the frame. The construction of W′ completes the C step and the iterations continue until the models converge: W ≃ W′ and φ ≃ φ′.
3. Results
3.1. Background estimate and hit finding
Using the method described in Section 2.1, we estimated the pixelwise background estimates b_{ik} and identified the outlier pixels. Braggpeak candidates were identified by two to ten contiguous outlier pixels and clusters larger than this size were masked out. Data frames with more than 20 candidate peaks were discarded to show that the EMC algorithm is able to reconstruct the threedimensional crystal intensity from the sparse data frames, where normal indexing methods, including the one used by MartinGarcia et al. (2017), would fail. Using the remaining data frames, we calculated the interpeak distances in to generate the onedimensional pseudopowder pattern (Fig. 2). The parameters were estimated as a = 79.1 and c = 38.4 Å assuming a primitive tetragonal lattice.
We later rotated the candidate peaks within 4 Å resolution in each frame over all rotation samples to find the possible crystal orientations, where at least three peaks match the Bragg positions predicted by the n = 70 (Loh & Elser, 2009), which corresponds to an angular resolution of 0.944/n ≃ 13.5 mrad. This procedure reduced the data to 120 574 crystalhit frames, with the statistics shown in Fig. 3. We note that, in general, a given crystal can be in any orientation. Practically speaking, discretization of all possible orientations results in hundreds to thousands of possibilities as a consequence of two factors: (i) the large angular size of lowresolution peaks, given that highresolution peaks may not be resolvable due to their weak signals, and (ii) the inclusion of peak candidates arising from multiple crystals or any source of scatter other than protein crystals. The EMC algorithm addresses these two issues by making use of all the available photon count values.
parameters. Data frames with no such orientations were discarded. Rotations were sampled by the 600cell subdivision method at order3.2. EMC reconstruction
3.2.1. Lowresolution reconstruction
We began with a lowresolution reconstruction because the computation time of the EMC algorithm is proportional to the number of pixels and the number of rotation samples. Pixels with a resolution higher than 4 Å were masked out in the 120 574 selected frames, and the rotation samples for each frame were limited to the possible crystal orientations recorded in the hitfinding process. All photon counts within the resolution cutoff were input to the EMC algorithm to reconstruct both the strong and weak intensities. We seeded the threedimensional intensity model W with threedimensional Gaussians of random height at each Bragg position, and only allowed the voxels within the predefined radius r_{p} about the Bragg positions to be nonzero throughout the reconstruction. The scale factors φ_{k} were initialized by the average value of the identified peaks in each frame. To achieve the highest resolution, we imposed tetragonal and Friedel symmetries on the values of W after each update to increase the SNR of the Bragg peaks. We note that EMC reconstructions normally succeed even without imposing symmetry (Wierman et al., 2016; Lan et al., 2017).
To rapidly obtain a rough estimate of W, we fixed the values of φ_{k} and only updated W in the first few iterations. Subsequently, we alternated the updates between W and φ until the models converged. Depending on the crystal concentration in the sampledelivery medium, a data frame may record diffraction signals from multiple crystals. Since our algorithm assumes that each crystalhit frame only contains a single crystal, we had to reject multicrystal frames to avoid compromising the reconstruction. This task was completed using the converged probability distribution P_{jk}. When a data frame has nonnegligible probabilities at two independent orientations j_{1} and j_{2}, which cannot be related by the crystal pointgroup symmetry, it is likely that the diffraction signals were scattered from two different crystals. With probabilities greater than 0.05 considered nonnegligible, a data frame has 1.02 independent orientations on average. We identified 528 multicrystal frames and excluded them, together with the 2142 frames with φ_{k} = 0, from the later analysis. Using the remaining 117 904 singlecrystal frames, we updated W for a few more iterations by fixing the values of φ_{k} until the new convergence was reached.
Fig. 4(a) shows the central slice of the reconstructed threedimensional intensity model, W, perpendicular to the l axis of the crystal. Each spot represents the integrated value of a Bragg peak in arbitrary units. After dividing the reconstructed values of φ_{k} by the beam fluence and the crystal exposure time, we obtained crystalvolume estimates for the singlecrystal frames. In order to put these on an absolute scale, we further rescaled their values so that the largest crystal has a size of 10 µm, the value reported by MartinGarcia et al. (2017). The resulting crystalvolume distribution has 73% of the frames with a crystal volume below 100 µm^{3} (Fig. 4b). Since our analysis excluded frames with more than 20 peaks, which generally have larger crystal sizes, this distribution represents the upper limit of the crystal volume illuminated by the Xray beam.
3.2.2. Highresolution reconstruction
Based on the lowresolution models, we extended our reconstruction to high resolution using data up to 2 Å. We initialized the threedimensional intensity model W by threedimensional Gaussians of random height at each Bragg position, and replaced the voxel values within 4 Å resolution with the lowresolution threedimensional intensity model. To reduce the computation time for the highresolution reconstruction, we implemented the local update scheme of the EMC algorithm. This scheme limits the rotation samples searched for each data frame to those neighboring the orientations that were given a nonnegligible probability in the lowresolution reconstruction (Lan et al., 2017). Here the orientation sampling was set at order n = 140, which corresponds to an angular resolution of 6.7 mrad. The update was limited to the threedimensional intensity model W, because we believe the values of φ_{k} are reliably determined by the lowresolution peaks. Tetragonal and Friedel symmetries were imposed after each update of W to increase the SNR of the Bragg peaks. Fig. 5 shows the central slice of W perpendicular to the l axis of the crystal, on the same scale as Fig. 4(a). The uncertainties of the integrated intensities were estimated following the procedure described in Appendix A.
We evaluated the reproducibility of the reconstruction using CC_{1/2}, the between two sets of Bragg intensities reconstructed independently from two halves of the data frames. The values of CC_{1/2} were calculated as follows. The 117 904 singlecrystal frames were separated into two halves, from which we carried out two independent reconstructions. The was then divided into shells with equal spacing, and the correlation coefficients CC_{1/2} were computed between the unique reflections from the two reconstructions in each shell. As shown in Fig. 6, the positive values of CC_{1/2} throughout the spatial frequency magnitudes validate the reproducibility of our approach. The values of CC_{1/2} can be further used to estimate another CC*, through the relation
where CC* measures the correlation between the reconstructed intensities and the underlying true signals (Karplus & Diederichs, 2012). The resolution of the reconstruction is conventionally determined at the value where CC* drops to 0.5, which corresponds to 2.1 Å in our case.
A more direct validation of our reconstruction comes from the comparison of our reconstructed intensities with those calculated from the indexed peaks using the Monte Carlo integration approach by MartinGarcia et al. (2017). Dividing the into shells of equal spacing, we calculated the between the unique peaks from the two sets of Bragg intensities in each shell. Also shown in Fig. 6, the stays well above zero until the resolution cutoff of 2.1 Å, which demonstrates the consistency between the Bragg intensities solved from the two different approaches. When the indexed peaks sufficiently sample crystals of various shapes, sizes and orientations, the Bragg intensities computed by the Monte Carlo method would in principle correspond to the true signals. In that case, the curve of the calculated here should move towards the curve of CC* in Fig. 6.
3.3. Model building, and structure solution
Modelbuilding and et al. (2017), with the intent of validating the EMC approach by a direct comparison with the structure solved from the indexed frames, PDB entry 5uvj. The French–Wilson correction (French & Wilson, 1978) was executed to estimate the structurefactor magnitudes from the reconstructed weak or negative Bragg intensities. The phases of the structure factors were built from the same template as used by MartinGarcia et al. (2017), PDB entry 4zix (Fromme et al., 2015), using molecular replacement with MOLREP (Vagin & Teplyakov, 2010).
steps were carried out in a manner similar to those performed by MartinGarciaThe structure solution was then iteratively refined and inspected using REFMAC5 (Kovalevskiy et al., 2018) in the CCP4 suite (Potterton et al., 2018) and Coot (Emsley & Cowtan, 2004), respectively. The structure was refined to 2.1 Å resolution, with R_{work}/R_{free} of 22.2%/28.2%, an average B value of 39.8 Å^{2}, and rootmeansquare deviations (r.m.s.d.s) for bonds and angles of 0.013 Å and 1.21°, respectively. Most of the sidechain conformations were determined exactly, though some solventexposed side chains show multiple conformations. A sodium atom was added, as judged by the electron density within the known octahedral coordination of the four residues of the sodium ion (see also Fig. 9). The for the EMCreconstructed structure solution and the structure solved by MartinGarcia et al. (2017) are summarized in Table 1 for comparison.

3.4. Structural comparison with PDB entry 5uvj
In this section, we compare our structure solution with the structure solved from the indexed frames by MartinGarcia et al. (2017; PDB entry 5uvj). The electrondensity maps of the structures were analyzed and rendered using PyMOL (Schrödinger LLC, 2015). Fig. 7 shows ribbon representations of the backbone chains of our molecular model (blue) and the structure of 5uvj (red). The C_{α} atoms between the two structures have an r.m.s.d. of 0.131 Å, which is visible as an occasional change between the red and blue colors along the backbone chain. Deviations greater than this value occur mostly in the solventexposed regions, with a maximum deviation of 0.337 Å. The r.m.s.d. value for the entire protein molecule between the two structures is 0.138 Å, with a maximum deviation of 0.338 Å. More specifically, Fig. 8 displays the disulfide bonds (yellow) within two superimposed structures, the EMCreconstructed one (light red) and that of PDB entry 5uvj (light blue), showing insignificant deviations between the structures within the more radiationdamageprone bonds. The average deviation for the atoms of the thiol groups is 0.12 Å. Fig. 9 shows the 2F_{o} − F_{c} electrondensity map in blue where F_{o} represents the observed structurefactor magnitudes, and both F_{c} and the phases were calculated from the initial model for phasing, PDB entry 4zix. Also shown is the superposition of our structure solution (yellow) and that of PDB entry 5uvj (red) around the sodiumion binding pocket. The largest discrepancy in atomic displacements (with a deviation up to 0.33 Å) comes from the solventexposed side chains.
4. Discussion
The major source of error that limits the quality of our reconstruction is the high background scatter from the LCP gel. Here the error refers to the statistical error arising from background intensity fluctuations, which becomes substantial and severe for weak reflections. From the estimated Xray beam size (different beam sizes of 5, 10 or 20 µm were used at different times during the data collection), the diameter of the LCP gel column (50 µm) and the reconstructed crystal volumes (Fig. 4b), we can estimate the total number of photons scattered by LCP to be tens to thousands of times more than that scattered by the crystal in each data frame. In Fig. 10, we compare the scattering profiles of LCP and water. The scattering profile of LCP was estimated by the average of the azimuthally symmetric background obtained in Section 2.1. Since the Xray beam size and detector exposure time were varied in different periods of beamtime, the background signals in each frame were rescaled before the average to have a nominal beam size of 10 µm and a detector exposure time of 0.1 s. Under the same experimental conditions, we simulated the scattering profile from a water column of 50 µm diameter using the experimentally measured pairdistribution function (Narten & Levy, 1971; Skinner et al., 2013). In contrast with water, LCP scatters a large number of photons within 3 Å resolution.
The high background scattering from LCP has motivated a search for sampledelivery media that scatter fewer background photons. For example, Conrad et al. (2015) used agarose to reduce background scattering, although the agarose stream tends to be unstable under ambient pressure. On the other hand, the sodium carboxymethyl cellulose (NaCMC) and poly(ethylene oxide) (PEO) reported by Kovácsová et al. (2017) and MartinGarcia et al. (2017), respectively, produce stable streams and lower background scattering than LCP, and therefore may be good substitutes for LCP. Another option for background reduction is to use the fixedtarget approach. As demonstrated recently by Roedig et al. (2016) and Owen et al. (2017), rapid data collection can be achieved by fast scanning through micropatterned silicon chips mounted with protein microcrystals. Nevertheless, the challenge of the chip methods is to avoid preferential crystal orientations. Other possible methods include microcrystal droplets deposited on lowbackground tape carriers (Fuller et al., 2017).
The structure solved by the EMC approach using sparse frames compares very well with the structure solved by MartinGarcia et al. (2017) using indexed frames. Small discrepancies in atomic positions between the two structures reside mainly on the solventexposed side chains, and can be attributed to multiple conformers. The higher average B value of our structure suggests that the data frames we used may have come from less ordered and possibly more weakly diffracting crystals, which are exactly the features we expect from sparse frames.
The ability to analyze sparse crystal diffraction data allows the use of very small or weakly diffracting protein crystals at storagering synchrotron sources. In order to keep these crystals within the safe radiation dose, the resulting diffraction patterns usually contain insufficient photons for the normal indexing methods to succeed. From our previous proofofconcept studies, reconstruction is feasible for crystal sizes as small as 1–2 µm within a tolerable radiation dose, given sufficient reduction of background scattering (Wierman et al., 2016; Lan et al., 2017). The successful application of the EMC algorithm to data collected from such small crystals will be a great advance in protein at storagering sources, and at the same time will ease the high demands for XFEL beamtime. An extension to include polychromatic data, where only 1% of the frames are needed due to the 100fold increase in Xray energy bandwidth, could dramatically reduce the amount of sample needed as well as the computation time. Continued development of lowerbackground microcrystal carrier methods would facilitate the application of our method.
Extracting weak signals from diffuse background scattering is not a task just limited to serial microcrystallography. When crystals are disordered, continuous diffraction of the protein molecules arises between the Bragg peaks (Ayyer et al., 2016; Meisburger et al., 2017). Separating this continuous diffraction from background scattering becomes nontrivial when the signals are Poissonlimited. The analysis scheme recently developed by Chapman et al. (2017) subtracts the azimuthally symmetric background from the diffraction signal using the `noisy Wilson distribution'. It would be interesting to adapt the EMC algorithm to this noisy Wilson distribution to analyze unindexable diffraction patterns collected from disordered crystals. Another application lies in singleparticle imaging (SPI), where each measurement is composed of the continuous diffraction of a randomly oriented bioparticle superimposed on background noise. If the statistical model for the intensity distribution in SPI is known, this information can be incorporated into the EMC algorithm to reconstruct simultaneously the threedimensional intensity of the bioparticle and the initially unknown background.
5. Conclusion
In this study, we have developed an approach to analyze a serial microcrystallography data set whose signals are too noisy to be considered by the prior state of the art. In particular, weak crystal diffraction signals can be extracted from diffuse background scattering to form a threedimensional intensity volume. This approach reduces sample consumption by making use of all the available data frames. We have demonstrated that a protein structure can be solved from the data frames that are discarded by the current analysis workflow. The partial reflections are assembled by rescaling the crystal diffraction signals in each data frame with the reconstructed crystal volumes. The reconstruction of the crystalvolume distribution may also be useful for the development of sampleinjection technology.
The source code for the EMC analysis approach is available at https://github.com/tl578/EMCforSMX under the terms of version 3 of the GNU General Public License (GPLv3). A tutorial on the implementation details of the code can be found at https://github.com/tl578/EMCforSMX/wiki.
APPENDIX A
Uncertainty estimation
We estimate the uncertainties of the integrated intensities from the measurement K_{ik} by error propagation. Let vector y be a set of functions of vector x. Their covariance matrices, Λ_{y} and Λ_{x}, can be related by the formula of error propagation,
where J denotes the Jacobian matrix of y. When x and y are related by an implicit function, f(x, y) = 0, the Jacobian matrix is given by
From equation (7), the implicit function that relates and K_{ik} is
the derivative of the function to be minimized with respect to . Since is a scalar in equation (13), the Jacobian matrix of becomes a row vector with length N_{data}, the number of data frames, and its kth element is given by
The covariance matrix of the measurement, , is a diagonal matrix of size N_{data} × N_{data}, with the diagonal terms being the photon counts K_{ik} as a result of Poisson statistics. Substituting these matrices into equation (11), we obtain the variance of , denoted .
The values of interest are the uncertainties of the integrated intensities, I_{hkl} = , where {p_{hkl}} represents the threedimensional grid points within the predefined radius r_{p} for the Bragg peak labeled by indices hkl. From equation (9), the variance of is given by
Here, we assume that the tomogram values contributing to the same Bragg peak are independent variables. This assumption is based on the observation that each data frame only has nonnegligible probabilities at a few orientations on convergence, so the values of with different indices are mostly sampled by different data frames. For the same reason, we also assume that the values W(p) for p, even sampling the same Bragg peak, are independent variables. The variance of I_{hkl} is hence given by
APPENDIX B
Computational details
The reconstruction was performed on an Amazon Elastic Compute Cloud (EC2) instance r4.16xlarge, which has 64 virtual CPUs and 488 GB memory. The lowresolution reconstruction used 120 574 data frames with a resolution cutoff of 4 Å, which give a data size of 570 GB. The highresolution reconstruction used 117 904 selected singlecrystal frames with a resolution of up to 2 Å, which give a data size of 2.3 TB. The lowresolution reconstruction, highresolution reconstruction and calculation of CC* took 41, 25 and 68 h, respectively.
Acknowledgements
We thank the authors of MartinGarcia et al. (2017), who acquired the data analyzed herein. Their gracious access to these data made this paper possible.
Funding information
Veit Elser and TiYen Lan received support from the US Department of Energy (DOE) (grant No. DESC0005827). TiYen Lan was also supported by the Taiwan Government through a Scholarship to Study Abroad. CHESS is supported by the National Science Foundation (award No. DMR1332208) and the MacCHESS resource is supported by the National Institute of General Medical Sciences (award No. GM103485). Sol M. Gruner, Hugh T. Philipp and Mark W. Tate received support from the DOE (grant No. DESC0017631). Petra Fromme and Jose M. MartinGarcia received support from the Center for Applied Structural Discovery (CASD) at the Biodesign Institute at Arizona State University, the Flinn Foundation Seed Grant (No. 1991), and the STC Program of the National Science Foundation through BioXFEL (No. 1231306). Lan Zhu and Wei Liu received support from the NIH (grant Nos. R21 DA042298 and R01 GM124152), the NSF STC (award No. 1231306) and the Flinn Foundation Seed Grant. This research used resources of the Advanced Photon Source, a US DOE Office of Science User Facility operated for the DOE Office of Science by Argonne National Laboratory under Contract No. DEAC0206CH11357.
References
Ayyer, K., Philipp, H. T., Tate, M. W., Elser, V. & Gruner, S. M. (2014). Opt. Express, 22, 2403–2413. Web of Science CrossRef PubMed Google Scholar
Ayyer, K., Philipp, H. T., Tate, M. W., Wierman, J. L., Elser, V. & Gruner, S. M. (2015). IUCrJ, 2, 29–34. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Ayyer, K. et al. (2016). Nature, 530, 202–206. Web of Science CrossRef CAS PubMed Google Scholar
Botha, S., Nass, K., Barends, T. R. M., Kabsch, W., Latz, B., Dworkowski, F., Foucar, L., Panepucci, E., Wang, M., Shoeman, R. L., Schlichting, I. & Doak, R. B. (2015). Acta Cryst. D71, 387–397. Web of Science CrossRef IUCr Journals Google Scholar
Boutet, S. et al. (2012). Science, 337, 362–364. Web of Science CrossRef CAS PubMed Google Scholar
Chapman, H. N. et al. (2011). Nature, 470, 73–77. Web of Science CrossRef CAS PubMed Google Scholar
Chapman, H. N., Yefanov, O. M., Ayyer, K., White, T. A., Barty, A., Morgan, A., Mariani, V., Oberthuer, D. & Pande, K. (2017). J. Appl. Cryst. 50, 1084–1103. Web of Science CrossRef CAS IUCr Journals Google Scholar
Conrad, C. E. et al. (2015). IUCrJ, 2, 421–430. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Emsley, P. & Cowtan, K. (2004). Acta Cryst. D60, 2126–2132. Web of Science CrossRef CAS IUCr Journals Google Scholar
French, S. & Wilson, K. (1978). Acta Cryst. A34, 517–525. CrossRef CAS IUCr Journals Web of Science Google Scholar
Fromme, R., Ishchenko, A., Metz, M., Chowdhury, S. R., Basu, S., Boutet, S., Fromme, P., White, T. A., Barty, A., Spence, J. C. H., Weierstall, U., Liu, W. & Cherezov, V. (2015). IUCrJ, 2, 545–551. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Fuller, F. D. et al. (2017). Nat. Methods, 14, 443–449. Web of Science CrossRef CAS PubMed Google Scholar
Gati, C., Bourenkov, G., Klinge, M., Rehders, D., Stellato, F., Oberthür, D., Yefanov, O., Sommer, B. P., Mogk, S., Duszenko, M., Betzel, C., Schneider, T. R., Chapman, H. N. & Redecke, L. (2014). IUCrJ, 1, 87–94. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Gruner, S. M. & Lattman, E. E. (2015). Annu. Rev. Biophys. 44, 33–51. Web of Science CrossRef CAS PubMed Google Scholar
Heymann, M., Opthalage, A., Wierman, J. L., Akella, S., Szebenyi, D. M. E., Gruner, S. M. & Fraden, S. (2014). IUCrJ, 1, 349–360. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Karplus, P. A. & Diederichs, K. (2012). Science, 336, 1030–1033. Web of Science CrossRef CAS PubMed Google Scholar
Kirian, R. A., Wang, X., Weierstall, U., Schmidt, K. E., Spence, J. C. H., Hunter, M., Fromme, P., White, T., Chapman, H. N. & Holton, J. (2010). Opt. Express, 18, 5713–5723. Web of Science CrossRef PubMed Google Scholar
Kovácsová, G., Grünbein, M. L., Kloos, M., Barends, T. R. M., Schlesinger, R., Heberle, J., Kabsch, W., Shoeman, R. L., Doak, R. B. & Schlichting, I. (2017). IUCrJ, 4, 400–410. Web of Science CrossRef IUCr Journals Google Scholar
Kovalevskiy, O., Nicholls, R. A., Long, F., Carlon, A. & Murshudov, G. N. (2018). Acta Cryst. D74, 215–227. Web of Science CrossRef IUCr Journals Google Scholar
Lan, T.Y., Wierman, J. L., Tate, M. W., Philipp, H. T., Elser, V. & Gruner, S. M. (2017). J. Appl. Cryst. 50, 985–993. Web of Science CrossRef CAS IUCr Journals Google Scholar
Loh, N. D. et al. (2010). Phys. Rev. Lett. 104, 225501. Web of Science CrossRef PubMed Google Scholar
Loh, N. D. & Elser, V. (2009). Phys. Rev. E, 80, 026705. Web of Science CrossRef Google Scholar
MartinGarcia, J. M. et al. (2017). IUCrJ, 4, 439–454. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Meisburger, S. P., Thomas, W. C., Watkins, M. B. & Ando, N. (2017). Chem. Rev. 117, 7615–7672. Web of Science CrossRef CAS PubMed Google Scholar
Narten, A. H. & Levy, H. A. (1971). J. Chem. Phys. 55, 2263–2269. CrossRef Web of Science Google Scholar
Nogly, P. et al. (2015). IUCrJ, 2, 168–176. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Owen, R. L., Axford, D., Sherrell, D. A., Kuo, A., Ernst, O. P., Schulz, E. C., Miller, R. J. D. & MuellerWerkmeister, H. M. (2017). Acta Cryst. D73, 373–378. Web of Science CrossRef IUCr Journals Google Scholar
Philipp, H. T., Ayyer, K., Tate, M. W., Elser, V. & Gruner, S. M. (2012). Opt. Express, 20, 13129–13137. Web of Science CrossRef CAS PubMed Google Scholar
Potterton, L., Agirre, J., Ballard, C., Cowtan, K., Dodson, E., Evans, P. R., Jenkins, H. T., Keegan, R., Krissinel, E., Stevenson, K., Lebedev, A., McNicholas, S. J., Nicholls, R. A., Noble, M., Pannu, N. S., Roth, C., Sheldrick, G., Skubak, P., Turkenburg, J., Uski, V., von Delft, F., Waterman, D., Wilson, K., Winn, M. & Wojdyr, M. (2018). Acta Cryst. D74, 68–84. Web of Science CrossRef IUCr Journals Google Scholar
Press, W. H., Teukolsky, S. A., Vetterling, W. T. & Flannery, B. P. (2007). Numerical Recipes: The Art of Scientific Computing, 3rd ed., ch. 10. Cambridge University Press. Google Scholar
Roedig, P., Duman, R., SanchezWeatherby, J., Vartiainen, I., Burkhardt, A., Warmer, M., David, C., Wagner, A. & Meents, A. (2016). J. Appl. Cryst. 49, 968–975. Web of Science CrossRef CAS IUCr Journals Google Scholar
Schrödinger LLC (2015). The pyMOL Molecular Graphics System. Version 1.8. https://www.schrodinger.com/pymol. Google Scholar
Skinner, L. B., Huang, C., Schlesinger, D., Pettersson, L. G. M., Nilsson, A. & Benmore, C. J. (2013). J. Chem. Phys. 138, 074506. Web of Science CrossRef Google Scholar
Stellato, F. et al. (2014). IUCrJ, 1, 204–212. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
Vagin, A. & Teplyakov, A. (2010). Acta Cryst. D66, 22–25. Web of Science CrossRef CAS IUCr Journals Google Scholar
Weierstall, U. et al. (2014). Nat. Commun. 5, 3309. Web of Science CrossRef PubMed Google Scholar
Wierman, J. L., Lan, T.Y., Tate, M. W., Philipp, H. T., Elser, V. & Gruner, S. M. (2016). IUCrJ, 3, 43–50. Web of Science CrossRef CAS PubMed IUCr Journals Google Scholar
This is an openaccess article distributed under the terms of the Creative Commons Attribution (CCBY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.