CHAPTER IV – Protein X-ray crystallography

X-ray Diffraction and Protein X-ray Crystallography: Basic Principles

We provide an overview of the basic principles of X-ray diffraction, protein crystallography, and protein 3D structure determination, including X-ray data collection, electron density calculations, model building, and refinement. We also explain Bragg’s law, resolution, and crystal symmetry in X-ray crystallography.

Protein X-ray Diffraction Crystallography: Key Milestones

X-ray diffraction crystallography (XRD, or just X-ray crystallography) is the primary method for determining protein structures at the atomic level. The technique is based on measuring the diffraction of X-rays by a crystal, which relies on the electromagnetic wave nature of X-rays. Other diffraction techniques, such as electron diffraction and neutron diffraction, are also used to study protein structure. Although both methods have their unique features, we will focus here on protein X-ray crystallography, which relies on X-ray diffraction.

The history of XRD crystallography begins with Max von Laue’s discovery of X-ray diffraction by crystals. He was the first to show that X-rays are a form of electromagnetic radiation like visible light and radio waves. The only difference is the very short wavelength of X-rays, which in protein crystallography is approximately 1-1.5 Å (1 Ångström is 10-10 meters). For comparison, the wavelength of visible light ranges from 400 to 700 nm (1 nm = 10 Å). This discovery by Max von Laue earned him the Nobel Prize in physics in 1914. An excellent historical perspective on Max von Laue’s discovery can be found on the Nobel Foundation website.

Max von Laue’s discovery was followed by the work of William Henry Bragg and William Lawrence Bragg (father and son). They developed the Bragg model to interpret X-ray diffraction. The Nobel Prize in Physics in 1915, “for their services in the analysis of crystal structure using X-rays”, as presented by the Nobel Committee. Lawrence Bragg is the youngest scientist to have earned the Nobel Prize; he was only 25 in 1915. The curious story of this “family” prize can be found on the Nobel Foundation’s website. The Bragg family laid the foundation for X-ray diffraction crystallography. However, it took many more years of research and method development before the first protein structure was solved by J. C. Kendrew et al., in 1958, which was the structure of myoglobin. And in 1960, M. F. Perutz et al. published the structure of hemoglobin. In 1962, they were awarded the Nobel Prize in Chemistry. This marked the beginning of a long chain of Nobel Prizes awarded for work in structural biology. See my blog post on this subject, “100 years of protein crystallography and structural biology“.

It is worth noting that, despite the enormous success of computational methods like AlphaFold and the development of other protein structure determination methods, the role of XRD remains critical in many areas of structural biology, where more accurate structural details are essential. Examples include protein-ligand interactions and the effects of ligand binding on protein conformational dynamics, which are of high importance to structure-based drug design. Additionally, determining the structure of oligomeric forms and investigating structural dynamics in solution remain areas where experimental data is highly relevant.




Protein Crystallography Services by SARomics Biostructures

SARomics Biostructures company logo

Protein X-ray Diffraction Crystallography: A Short Outline of the Method

A protein X-ray crystallography project begins with crystallization. If the protein’s crystallization conditions are unknown, the project may be challenging. The difficulties associated with crystallization are probably the primary limitation in X-ray crystallographic protein structure determination. When crystals are available, they are placed in an X-ray beam, and XRD data are collected. Once the diffraction data have been obtained, the work continues with specialized software packages to determine the tertiary structure. The steps involved are calculating an electron density map, building a structural model, and refining it. The final step is validating model quality, after which it is submitted to the Protein Data Bank (PDB). The PDB performs its own validation of model quality. If it is satisfactory, the PDB coordinate file is released to the public.

When searching the PDB, we need to be aware that there are often many instances (entries) of the same protein. These could include structures at different resolutions, structures determined by different groups, protein variants with some amino acid replacements, ligand complexes, etc. These structures could also have a different quality. Therefore, for us, it is essential to know how to assess the quality of the structural model we plan to use in our applications.

Here, I will provide an introduction to the technique of protein XRD, explaining the background and practical steps, and then continue with a discussion of protein crystallization and structure quality validation.

The discussion on this page includes:
1- Bargg’s law, (which offers a physical model for the diffraction of X-rays)
2- X-ray data collection and the resolution
3- Resolution in X-ray crystallography
3- Calculation of the electron density map (into which the atomic protein model is built)
4- Refinement of the model and the R-factor for a protein structure
5- Crystal symmetry and the asymmetric unit

William Henry Bragg
William Lawrence Bragg

William Henry Bragg and William Lawrence Bragg were awarded the Nobel Prize in Physics in 2015.

Protein crystallography, Gene to protein structure services by SARomics Biostructures
SARomics Biostructures offers a wide range of structural biology services to academia and the biotech industry.

Crystal Diffraction & Bragg’s Law

When electromagnetic waves encounter an object along their path, they are scattered. It is much like a stone thrown into a lake – we see waves moving away in all directions from the site of impact. Visible light is also scattered by objects when it hits them. However, in this case, the scattered waves are refocused by the lenses in our eyes, thus recreating the shape of the object from which the light was scattered. But there is a limit to what we can see with visible light, which has a wavelength of approximately 400-700 nm. This is called the “diffraction limit“, which says that we cannot see objects that are much smaller than the wavelength of light illuminating them.

We measure the size of molecules and atoms in nanometers and Ångrströms. Some numbers will give a feel for the dimensions we usually work with: a nanometer is 10-9 m, while 1 Å = 0.1 nm, and the C-C bond length is 1,54 Å. These numbers are obviously much smaller than the length of visible light. To see atoms, we need wavelengths on the order of their size, which is in the Ångström range. This explains why we need X-rays in crystallography: the typical wavelength of X-rays at synchrotrons is around 1 Å.

If we continue with the analogy of a stone thrown into a lake. What will happen if we throw two stones into the water? By watching the waves from the two rocks, we will see that in some directions they reinforce each other, while in other directions they weaken each other. This is called interference, simply wave addition. Many interference simulators are available online; an excellent site where you can visually study the effect of wave addition and subtraction (constructive and destructive interference) can be found here. More options can be found on the PhET simulation site; they also have some YouTube videos demonstrating the simulations. For this reason, I don’t show any examples here.

The images below illustrate scattering from a single electron (left) and 2 electrons (right).

X-ray scattering by an electron
X-ray scattering by 2 electrons

The left image shows the sum of two waves with the same amplitude and a 180-degree phase difference: the waves cancel each other out. On the right, the image shows the sum of two waves with different amplitudes: the waves are in phase and reinforce each other.

Additions of 2 waves - 180 degrees phase shift
wave addition- in phase

In protein X-ray diffraction crystallography, X-rays are scattered by the electrons within the crystal lattice. Each electron, when struck by the X-ray beam, acts like a stone thrown into a lake – it scatters X-rays in all directions. The scattered waves from all the electrons in an atom combine, and as in the case of the stones, in certain directions the waves will cancel each other out, while in others, they will reinforce and increase in amplitude. A model for describing this process was suggested by the Braggs (see below). The process of X-ray scattering in a regular crystal lattice is called diffraction. The diffracted waves are detected by specialized X-ray detectors.

It should be mentioned here that there is an essential difference between the scattering of X-rays and visible light: while visible light can be focused by lenses to reconstruct the image of the scattering object, diffracted X-rays cannot be refocused this way (there are no X-ray lenses). In this case, the image of the scattering object (its electron density) is reconstructed using the mathematical operation called the Fourier summation, which is essentially a sum of diffracted waves (see below). A problem with this process is that X-ray detectors can only measure the intensity (amplitude) of the diffracted waves, whereas wave summation requires each wave’s amplitude and phase. This is the phase problem in X-ray diffraction crystallography. There are several methods for solving the phase problem in protein X-ray crystallography. However, here, I provide only an overview of the basic principles of the technique.

As discussed above, the Braggs were the first to propose a physical model for describing X-ray diffraction. In Bragg’s model of diffraction, the crystal lattice is viewed as a series of atomic layers that, like a mirror, reflect the X-rays incident on it. When the path difference between waves reflected from the layers is an integer multiple of the X-ray wavelength, the reflected waves are in phase and combine constructively, becoming stronger. If the path difference is not an integer multiple of the reflected X-ray’s wavelengths, they will be out of phase and cancel each other out. Mathematically, Bragg’s law looks like this: nλ = 2d sinθ, where n is an integer, d is the interplanar distance in the crystal, and θ is the incident angle of the X-rays.

Schematic description of Braggs law.
In the image, the waves are shown as arrows. The waves after reflection from a set of parallel planes are added to each other. The results of the addition depend on the difference in the path lengths traveled by each wave before its combination with another wave. If the path-length difference equals an even number of wavelengths, the beams will be in phase and reinforce each other. In other cases, they will cancel each other. Since the path length depends on the reflection angle, productive diffraction can occur only at certain θ values.

We can immediately see from this expression that changing the θ tangle brings different planes of the crystal into a position of constructive interference. The dependence of X-ray diffraction on the incident beam’s angle was first studied in detail in the paper published by the Braggs in 1913, which earned them the 1915 Physics Nobel Prize. You are welcome to download the paper “The Reflection of X-rays by Crystals”; it is very interesting reading!
In X-ray crystallography, the crystal is mounted on a goniometer, which is rotated in the X-ray beam to collect data from all possible lattice planes. See the video below on the protein X-ray crystallography beamline at the MAX IV synchrotron in Lund.

X-ray Diffraction Data Collection

As mentioned above, once protein crystals of sufficient quality are available, we take them to an X-ray beamline at a synchrotron. Although X-rays can be generated using laboratory X-ray sources, modern protein X-ray crystallography relies primarily on synchrotrons, which produce high-intensity, highly focused X-ray beams. The interested reader may take a look at my blog post on the impact of synchrotron radiation in structure-based drug design in the pharmaceutical industry.

Several synchrotrons worldwide have experimental stations designed to collect protein X-ray diffraction data. In Lund, we use the BioMax beamline at MAX IV synchrotron (image on the right). Depending on the protein crystal type (which may have different cell dimensions and symmetry groups, see below), different data-collection strategies may be used. In the early days, when powerful synchrotrons were not available, a standard setup rotated the crystal in the X-ray beam by 1° or less at a time and exposed it to X-rays for a minute or more until a complete data set was collected. The crystal exposure time depends on the intensity of the X-ray source, the size of the crystal, and how well it diffracts (to which resolution). With early laboratory sources, data collection took many hours. However, at modern 4th-generation synchrotrons, such as MAX IV in Lund, protein X-ray data collection can take less than a minute, as shown in the video presentation by Dr. Anna Gonzales below.

You may also note that, for data collection, the protein crystals are frozen to liquid nitrogen temperature, a technique called “cryo-crystallography“. This is done to protect the protein in the crystal from radiation damage in the high-intensity X-ray beam at the synchrotron. Radiation damage is often called “the nemesis of X-ray crystallography”. It affects both the resolution of the diffraction data (global damage) and the chemical properties of the protein sample (local damage) in a process called photoionization. This process can be significantly slowed by keeping the crystals at cryogenic temperatures during X-ray data collection. The crystals are usually delivered to the beamline frozen in liquid nitrogen. They are automatically moved into the beam by the beamline robotics, and X-ray data are collected at cryo-temperatures.

Thousands of diffraction intensities from all possible lattice planes are collected from a protein crystal to get a complete data set. Depending on the data resolution (see below, crystal quality), parameters such as the distance from the crystal to the detector, the degrees of crystal rotation, and the exposure time are set for each crystal. The resulting dataset will likely contain 100’s of diffraction images. The X-ray data from a protein crystal are subsequently processed using dedicated software (a process in crystallography called “data reduction”). Several software packages serve this purpose. Using the processed data, the crystal symmetry and space group are determined, and a data file containing a complete list of spot indices (h, k, l) with amplitude information is created. This file is subsequently used to calculate the molecule’s electron density map.

MAX IV synchrotron for protein crystallography data collection
The MAX IV Laboratory is a synchrotron radiation facility in Lund, Sweden. There are two experimental stations for protein crystallography at MAX IV - BioMax and MicroMax.


In this five-minute video, Dr. Anna Gonzales takes us inside the BioMax experimental hutch to demonstrate how modern protein X-ray crystallography works: robotic crystal mounting and positioning the crystal in the X-ray beam, 460 samples for data collection that can be stored in liquid nitrogen, and brought into the beam as required, and the X-ray detector that allows an entire dataset to be collected within 40 seconds: this and much more. Don't miss it!

X-ray Diffraction Data Quality & Resolution of a Protein Structure

When collecting X-ray diffraction data in crystallography, it is crucial to prioritize data quality. Even while overlooking the experimenter’s unavoidable errors and assuming that data collection is conducted at a high professional standard, data quality still depends on the quality of the protein crystals used. Some protein crystals may yield high-quality data, while others may diffract poorly. If we find that the diffraction quality is poor (diffraction spots appear blurry, evidence of so-called twinning, or ice rings in the diffraction images due to poor cryo-freezing), we can attempt to improve the crystal quality. In certain instances, this approach may work, but at times, improving the protein crystal quality can be challenging. Poor data quality leads to poor electron density, which, in turn, affects the quality of the final protein 3D structure model built from the data. In the section on validating the quality of the structure, we will discuss the quality criteria for X-ray structures. This knowledge is essential when we need to choose a protein structure for our work in the Protein Data Bank PDB.

Resolution is the primary experimental parameter that determines the final quality of the protein’s X-ray diffraction crystallography model. Generally, the resolution for a specific protein crystal (with particular lattice symmetry and cell dimensions) can be assessed directly by examining the diffraction images collected during data acquisition. Each spot in the image corresponds to a distinct Bragg plane (see above for Bragg’s law). The greater the number of Bragg planes with shorter interplanar distances contributing to the X-ray diffraction, the higher the resolution of the data will be. This gives us finer details in the calculated electron density map. The images on the right illustrate the idea. Assuming identical crystal-to-detector distances and crystal lattice parameters, the diffraction pattern in the lower image shows high-resolution diffraction, with spots extending closer to the edge of the image (i.e., the detector surface). In the upper image, the spots extend to lower resolution. If the protein crystal diffracts really well, to collect even higher-resolution X-ray data, we need to move the detector farther from the crystal.

What would we say is a good resolution for a protein structure?
Below are some approximate ranges of resolution to be able to put the numbers on some relative scale:
Low resolution – at 5 Å and below, the overall shape of the protein molecule is distinguishable; at around 5 Å, we can see helices as long rods, but no detailed building of the amino acids into the electron density map is possible.
At medium resolution (3.5-2.5 Å), we start to distinguish side chains in the electron density and can build the model. When the resolution is better than 2.8 Å, we can even distinguish some water density and can build some water molecules into the structure.
Atomic resolution (2.4 Å and better): The model-building process becomes a pleasure; many solvent molecules can be identified and built into the density map.

The two images below show a tryptophan side chain, built into its electron density at low and high resolution, respectively. Usually, with higher resolution, the quality of the electron density map and the final model improves. Even the number of waters built into the density increases with resolution.

Low-resolution electron density in protein crystallography
High-resolution electron density map of tryptophan
The right image shows a model of the tryptophan side chain within its high-resolution electron density (1.15 Å) from an enzyme alcohol dehydrogenase (PDB ID 1HET). The calculated electron density is shown as a mesh representation, a common way to visualize it in protein X-ray crystallography. For comparison, the left image shows the tryptophan side chain built into an electron density map at 3 Å resolution (Donkey hemoglobin, PDB ID 1SOH). Clearly, the positions of the atoms in the high-resolution structure of alcohol dehydrogenase are defined with considerably higher accuracy.
protein X-ray diffraction pattern at low resolution
Protein X-ray diffraction pattern at high resolution
The images show diffraction patterns from two different protein crystals: high-resolution (bottom) and low-resolution (top). Resolution is discussed in the text on the left.

Electron Density Calculation & Building a Protein Structure Model

The relative intensities of the spots extracted during data processing are used to derive the structure factors F(hkl) and calculate an electron density map (image above) representing a molecule within the crystal. The electron density will tell us where the atoms are located. Using the protein’s amino acid sequence, a model of the tertiary structure is built into the density.
To calculate the electron density, we need to re-integrate the diffracted “waves” using a mathematical operation called Fourier summation.

Electron density calculations in protein crystallography

In the equation, F(hkl) are the structure factors. h, k, l are referred to as the Miller indices of the diffracted beams. Each Bragg plane is assigned a Miller index, which describes the location of the diffracted spot in what is called a reciprocal space. Φ(hkl) denotes the phases of the diffracted wave, and V indicates the volume of the unit cell.

As we can see from the equation, for this operation to work, the phase Φ(hkl) of each diffracted beam is required. The phase is lost during data collection because the detector records only the intensity of the diffracted waves. The phases must be determined using alternative methods. One such method, heavy atom replacement, was quite popular in the early days of protein X-ray crystallography. Currently, the so-called anomalous diffraction method, which exploits the tunability of the X-ray beam wavelength at synchrotrons, is used to determine phases. Additionally, molecular replacement is frequently employed. Molecular replacement uses a known experimental structure of a homologous protein to calculate the initial set of phases. With the advent of AlphaFold protein structure prediction, sometimes calculated models can also be used for de novo phasing and protein X-ray crystallographic structure determination.

Refinement and the R-factor

In X-ray diffraction crystallography, after building a structural model, it is subjected to several cycles of refinement and model building, which involve adjusting the model to the electron density. As mentioned above, the quality of the electron density map depends on the resolution of the X-ray diffraction data and on the quality of the phases used in the electron density calculations. The better the map quality, the easier it will be to build and refine the model. During several refinement cycles, the initial tertiary structure model is adjusted to fit the electron density as accurately as possible. A parameter called the R-factor is calculated to assess the accuracy of the model fit to the experimental data. Below is the equation used to calculate the R-factor:

Equation for R-factor calculation in protein crystallography

In this equation, F_obs and F_calc represent the observed and calculated structure factors, respectively. The structure factor F_obs is derived from the measured diffraction intensities, while F_calc is calculated from the model structure using a mathematical operation called the Fourier transformation. Intuitively, we can see from the equation that the closer F_obs and F_calc are, the lower the R-factor will be. The R-factor is an essential parameter for assessing model quality. A lower R-factor indicates that the model provides a better fit to the experimental data. For protein crystal structures, the R-factor for refined structures typically ranges from 14% to 25%, whereas for small-molecule structures, it is usually around 4% to 5%.

Additional discussion of the refinement process, the R-factor, and the so-called R-free can be found in the section on protein model validation and quality assessment.


Crystal Symmetry and the Asymmetric Unit

Crystal symmetry plays a key role in protein XRD crystallography. Looking at the diffraction images above, we can see that the distribution of spots, also called Bragg peaks, across the detector surface is organized rather than chaotic. These spots form a specific pattern, with their positions encoded by the crystal symmetry and unit cell dimensions, as shown in the images on the right. In the early days of protein X-ray crystallography, crystallographers manually analyzed diffraction patterns and spot intensities to determine the crystal symmetry (symmetry group) and calculate the unit cell dimensions (unit cell axes a, b, c, and angles α, β, γ). Today, however, computer software packages handle the entire process—performing data reduction, calculating structure factors, determining unit cell dimensions, and identifying the crystal’s symmetry.
A crystal symmetry group operation is a mathematical transformation imposed on the coordinates of one molecule in the unit cell. The operation brings the molecules in the unit cell onto themselves, thus leaving the crystal structure unchanged. Adding translation to the symmetry operations will generate all molecules in a crystal. There are some general definitions, which state:

  • If an object can be rotated about a given axis so that it superimposes upon itself more than once during a 360° rotation, that axis is a rotation axis of symmetry. 
  • An x-fold rotation axis rotates an object 360°/x about that axis (x is the number of times it superimposes on itself when rotated by 360°). 
  • An isolated shape (a molecule, or complex of molecules) may have a rotation axis of any number. However, in crystallography, there can only be 2-, 3-, 4-, or 6-fold rotation axes.

The Great Russian mathematician and crystallographer Evgraf Fedorov was the first to publish a list of the symmetry groups in 1891. Later, independently, the German mathematician Arthur Moritz Schoenflies published his list. Both initial lists contained omissions, and eventually Fedorov and Schoenflies published a corrected list together. All crystallographic space groups are listed in the International Tables for Crystallography, a book series published by the International Union of Crystallography (IUCr). There is even a teaching edition of the tables.

A PDB coordinate file contains the so-called asymmetric unit of the crystal. Application of the crystal symmetry operations on this unit generates all other units in the unit cell. For this reason, calculations in crystallography are performed using only the asymmetric unit. All other molecules in the crystal are related to the asymmetric unit by crystal symmetry transformations. One of the consequences of this arrangement is that the functional biological unit that may have a quaternary structure (i.e., consist of several subunits) may be different from the asymmetric unit of the crystal. Thus, in solution, the functional unit may contain several subunits of the same protein, arranged as dimers, trimers, or higher-order oligomers, in which the subunits are related by a two- (dimer), three- (trimer), or other types of rotation. When crystallized, the oligomer’s symmetry axis may become a crystallographic symmetry axis. This means that a monomer within a dimer, a trimer, or a tetramer becomes an asymmetric unit of the crystal. When it is known that the functional unit differs from the asymmetric unit, the PDB server reconstructs the biological unit. If we need the biological unit, we may either download the reconstructed coordinate file or ask the graphics software to display it when appropriate. The image below illustrates the asymmetric unit.

The asymmetric unit in protein crystallography
The asymmetric unit of a crystal
In the left figure, the asymmetric unit of a protein crystal, which represents just "one subunit", is shown. All molecules in the lattice are related to one another by simple translation. In the middle example, two subunits in the unit cell are related by a two-fold rotation axis (180 degrees). This suggests that the protein in the solution (the biological unit) may be a dimer. The third example on the right illustrates that a 4-fold crystallographic symmetry relates the molecules in the unit cell. Again, this indicates that the biological unit in solution is a tetramer. In all these cases, the asymmetric unit is a monomer, but we may also encounter a dimer, trimer, etc., in the asymmetric unit. In this case, the rotation operations will be applied to the respective dimer or trimer, producing, e.g., a trimer of dimers, a tetramer of trimers, etc. Additional experiments, such as dynamic light scattering (DLS) or small-angle X-ray scattering (SAXS), may be needed to verify the protein's oligomeric state and the relative positions of the protein domains in solution.
schematics of  a crystal lattice
crystal lattice packed
The images show the unit cell and its repetition within the crystal.

The unit cell is repeated millions of times (depending on the crystal size), creating the crystal lattice. Unit cell dimensions (cell axes a, b, c and angles α, β, γ) and crystal symmetry are determined from the analysis of the positions and intensities of the diffraction spots. This repetition is responsible for the crystal periodicity, which is the basic condition for diffraction to occur. Sometimes protein crystals contain a large amount of solvent, leading to poor crystal packing and deteriorating diffraction quality.