X-ray crystallography turns a lattice of diffraction spots into an atomic model of a molecule. This guide covers the physics, the mathematics and the practical decisions at each step, with live models you can adjust.
Each stage has its own physics, numbers and failure modes. Select a stage to see what happens, the governing relation, typical values and the software most labs use.
A single molecule scatters X-rays far too weakly to measure. A crystal repeats it about 1013–1015 times in a lattice, so scattered waves add up in phase only in discrete directions. Bragg described these directions as reflections from families of lattice planes with spacing \(d_{hkl}\). Laue and Ewald described the same condition in reciprocal space.
Increase N and the peaks sharpen as \(\sin^2(N\pi x)/N^2\sin^2(\pi x)\) with \(x = 2d\sin\theta/\lambda\). Real crystals have thousands of planes, so intensity is essentially zero away from the Bragg condition. Mosaicity and beam divergence give each spot its finite width.
A reciprocal-lattice point \(\mathbf s = h\mathbf a^* + l\mathbf c^*\) diffracts when it lies on the sphere, which is Bragg’s law in vector form: \(\mathbf k' - \mathbf k = \mathbf s\) with \(|\mathbf k| = |\mathbf k'| = 1/\lambda\). Rotating the crystal sweeps points through the sphere. This is the rotation method, and the “recorded” points fill in like a dataset. Shorter λ gives a larger sphere and reaches finer detail, up to the limiting sphere of radius 2/λ.
Toy two-dimensional h0l section with a = 6 Å, c = 8 Å, chosen so individual lattice points are visible.
Each reflection is a Fourier coefficient of the electron density. The detector records intensity \(I \propto |F|^2\), so the amplitude survives but the phase \(\varphi\) is lost. The density needs both. The lab below builds a one-dimensional unit cell (30 Å long) from a few atoms, computes its structure factors and sums them back into a map.
Try the swap modes. Amplitudes from structure A combined with phases from structure B give a map that looks like B. Phases carry most of the structural information, which is why model bias is a real danger in molecular replacement.
In 1D the synthesis is \(\rho(x) = F(0) + 2\sum_{h>0}|F_h|\cos(\varphi_h - 2\pi h x)\), using Friedel’s law \(F(-h) = F^*(h)\). The Patterson option replaces \(F\) by \(|F|^2\) with zero phase. It needs no phases, and its peaks sit at interatomic vectors \(x_i - x_j\), not at atoms.
In practice, most new macromolecular structures are phased by molecular replacement, now often with predicted models. Experimental phasing is still needed for novel folds, for validation and wherever model bias must be avoided.
Place a known or predicted search model in the unknown cell. The six-dimensional search is split into a rotation search (3 angles) and a translation search (3 coordinates). Modern programs score each placement with a likelihood that accounts for model error.
Software: Phaser, MOLREP, MrBUMP, MoRDa, Slice’N’Dice
Near an absorption edge, electrons in heavy atoms scatter with a phase shift. Friedel’s law then breaks: \(|F(\mathbf h)| \ne |F(-\mathbf h)|\). The Bijvoet differences locate the anomalous substructure, which then provides reference phases for the whole protein.
Software: SHELXC/D/E, Phaser-EP, AutoSol, CRANK2, autoSHARP
Soak crystals in heavy-atom compounds (Hg, Pt, Au, U, lanthanides) without changing the cell. Each derivative adds a small vector \(\mathbf F_H\). Its magnitude and direction come from a difference Patterson, which constrains the protein phase geometrically. The Harker diagram on the right shows how.
Software: SHARP/autoSHARP, SOLVE/RESOLVE, SHELX, Phaser-EP
At atomic resolution the density is positive and made of separate atoms. These constraints imply probabilistic relations between phases. They solve small molecules routinely, and proteins when data extend to about 1.2 Å.
Software: SHELXS/SHELXD, SHELXT, SIR2014, ARCIMBOLDO, Parrot, RESOLVE
The native amplitude |FP| fixes a circle about the origin. Each derivative gives a circle of radius |FPH| centred at −FH. Where the circles cross, the phase is consistent with both measurements. One derivative gives two crossings; a second picks one.
Every crystallography paper reports the same statistics. Each one answers a different question: how precise the merged intensities are, how far the data really extend, and how well the model explains data it was not refined against.
Rmerge rises with multiplicity even as the data improve. Report Rmeas (multiplicity-independent) and Rpim (precision of the merged mean, with \(\sqrt{1/(n-1)}\)).
CC1/2 correlates intensities from two random halves of the data. CC* estimates the correlation of the full dataset with the true signal and can be compared directly with CCwork and CCfree of the model (Karplus & Diederichs, 2012). Outer shells with CC1/2 around 0.3 still help refinement. The old cut at ⟨I/σ(I)⟩ = 2 discards useful data.
Rwork uses the reflections the model is refined against. Rfree uses a 5% test set that is never refined against (Brünger, 1992). A gap above about 0.05, or Rfree rising while Rwork falls, points to overfitting. Keep the same free set through every round, including after molecular replacement from a related entry.
Thermal motion and static disorder smear each atom, multiplying its scattering by \(e^{-Bs^2/4}\) (intensity by \(e^{-Bs^2/2}\)), with \(s = 2\sin\theta/\lambda = 1/d\) and \(B = 8\pi^2\langle u^2\rangle\). The Wilson plot of \(\ln\langle I\rangle/\sum f^2\) against \(s^2\) has slope \(-B/2\) and sets the overall scale and B of a dataset.
Example values for a 1.85 Å SeMet dataset, not from a real entry. Outer shell in parentheses.
| Wavelength (Å) | 0.9795 |
| Space group | P212121 |
| a, b, c (Å) | 52.3, 68.9, 91.4 |
| Resolution (Å) | 45.7–1.85 (1.89–1.85) |
| Unique reflections | 27,120 (1,655) |
| Multiplicity | 6.8 (6.1) |
| Completeness (%) | 99.6 (97.9) |
| ⟨I/σ(I)⟩ | 14.2 (1.3) |
| Rmeas / Rpim | 0.077 / 0.029 (1.55 / 0.61) |
| CC1/2 | 0.998 (0.52) |
| Wilson B (Ų) | 24.1 |
| Rwork / Rfree | 0.176 / 0.209 |
| rmsd bonds (Å) / angles (°) | 0.008 / 0.95 |
| Ramachandran favoured / outliers (%) | 98.1 / 0.0 |
An outer-shell Rmeas above 1 is normal when CC1/2 is still significant. The unique count agrees with \(N \approx \tfrac{2\pi}{3}V_{\text{ASU}}/d^3\) for this cell.
Estimate how many copies fit in the asymmetric unit before molecular replacement. Loaded with hen egg-white lysozyme.
Most protein crystals have VM between 1.7 and 3.5 ų/Da (solvent about 28–65%), centred near 2.5 (about 50%). Try several copy numbers and compare with self-rotation peaks and the MR result.
The map below is an honest Fourier synthesis. Structure factors are computed from a phenylalanine-like fragment and a water in a 12 × 12 Å two-dimensional cell, then truncated at dmin. The ripples near atoms at low resolution are the series-termination effect. The mesh is drawn at the mean plus 1.2σ.
Example: a 30 kDa protein (about 2,100 non-hydrogen atoms) with VM = 2.4 ų/Da, so VASU ≈ 72,000 ų.
\(N_{\text{unique}}\approx\tfrac{2\pi}{3}V_{\text{ASU}}/d_{\min}^3\): the count grows with the cube of resolution. Below an observation-to-parameter ratio of about 1, the model survives only through geometric restraints: bond lengths, angles, planarity and B-factor similarity.
Filter by keyword. “Copy LaTeX” puts the source on your clipboard for your thesis or slides.
Each advance in the method removed a bottleneck. Heavy atoms and anomalous scattering solved phasing, cryo-cooling reduced radiation damage, synchrotrons and pixel detectors brought brighter beams and faster readout, and structure prediction made molecular replacement routine.
Röntgen discovers X-rays.
Von Laue, Friedrich and Knipping observe diffraction from a copper sulfate crystal, showing that X-rays are waves and crystals are lattices.
W. H. and W. L. Bragg formulate nλ = 2d sin θ and solve the first crystal structures, including NaCl.
Bernal and Crowfoot (Hodgkin) record sharp diffraction from hydrated pepsin crystals. Proteins are ordered.
Fibre diffraction by Franklin and Gosling underpins the Watson–Crick DNA double helix.
Perutz shows that heavy-atom derivatives can phase protein data (isomorphous replacement).
Kendrew’s myoglobin at 6 Å, the first protein structure (2 Å by 1960).
Phillips and colleagues solve lysozyme, the first enzyme structure.
The Protein Data Bank is founded with seven entries.
Nobel Prize to Hauptman and Karle for direct methods.
Hendrickson establishes MAD phasing with selenomethionine proteins.
Ribosomal subunit structures from the Steitz, Ramakrishnan and Yonath labs (Nobel Prize 2009).
First serial femtosecond crystallography at an X-ray free-electron laser: diffraction before destruction.
ESRF-EBS opens as the first fourth-generation high-energy synchrotron, with far brighter microbeams.
AlphaFold2 models become widely available and molecular replacement with predicted models becomes routine.
Nobel Prize in Chemistry to Baker, Hassabis and Jumper for protein design and structure prediction.
Online: RCSB PDB · wwPDB · CCP4 · Phenix · DIALS · MolProbity