Where does the Coulomb sum settle?
In the workshop, grow the sum with the circle and with the half-boundary square.
The van der Waals attraction fades within a few molecular diameters; this is why a cut-off works for it. The interaction between two charges, however, falls only as 1/r. How is this sum computed when a periodic box holds infinitely many copies of the charges? Is a cut-off not enough? In this lab you will look at this first in salt water, then in a salt crystal, and finally in this project's protein box.
The salt you add when you make a buffer changes how far the charges in the solution feel each other. Around a charge, ions of the opposite sign gather slightly more densely and ions of the same sign slightly more sparsely. This ion cloud damps the effect of the charge at a distance. The scale of this damping is the Debye length. Below you will first see this cloud, then two experiments you know: the melting temperature of DNA rising with salt, and a protein dissolving with salt and precipitating with too much salt.
Change the ionic strength (the drawing is for 25 °C). The number of dots grows with salt on a logarithmic scale; it is not the real number of ions. The curve shows the potential of a single central charge in units of kT: the gray dashed line in unscreened water, the red line in salt water.
The backbone of each of the two DNA strands carries one negatively charged phosphate per nucleotide; the two strands repel each other. Na⁺ ions in the buffer gather around the backbone and screen this repulsion, so the double helix survives to a higher temperature in salt. The melting temperature Tm you measure in a UV melting experiment (the rise in absorbance at 260 nm) increases with salt. In the helix below every base pair opens and closes depending on temperature; the melting temperature is computed from an empirical relation.
Tm = 81.5 + 0.41 · (%GC) + 16.6 · log₁₀[Na⁺] (long DNA; with the salt term of Schildkraut and Lifson 1965, the form used by Primer3, the length term −600/N omitted). For short oligos and at high salt the relation between Tm and log[Na⁺] is not linear (Owczarzy et al. 2004). Opening is computed live so that neighboring base pairs prefer to open together (cooperatively); the width of the curve is representative. The curve is the equilibrium average of the same 28-base-pair chain shown in the drawing (computed exactly with a transfer matrix); the navy dot is the average of the last moments of the live simulation and fluctuates around the curve.
Some proteins (globulins, in the classical definition) dissolve poorly in pure water and well in dilute salt: this is salting in. A little salt screens the attraction between oppositely charged patches on the protein surface. A lot of salt, however, ties up the water around the ions and makes it easier for the oily surfaces of proteins to stick to each other: salting out. Ammonium sulfate precipitation in the lab is this second effect; sulfate precipitates much more effectively than chloride. In the box below, 36 protein molecules move in a periodic box and can stick to each other.
Schematic model: each of the two effects is written as a contact energy. The attraction of surface charges fades with salt as 3.4 kT · e−0.5 nm/λD; the sticking effect of the salt grows with ionic strength (0.25 kT/M for NaCl, 0.8 kT/M for ammonium sulfate). The coefficients are representative, not a measurement of a particular protein; only the direction of the two effects and the stronger precipitation by sulfate than by chloride agree with measurements. "Dissolved" means molecules in clusters of at most three; the fraction is computed live. The message below follows the measured fraction after the first few seconds of settling: above 80% dissolving, below 40% clustering or precipitating, borderline in between. The ionic strength of ammonium sulfate is three times its concentration.
In a salt crystal the situation is different. In solid NaCl there is no water between the ions to screen them, and every ion feels the whole crystal. The lattice energy measured with the Born-Haber cycle is about 786 kJ/mol. Counting only the six nearest neighbors does not reach this number; the contribution of all the distant ions is needed. The sum of these contributions is the Madelung constant times the nearest-neighbor interaction (1.7476 for NaCl). In the workshop you will do this sum yourself on a two-dimensional lattice.
The link to MD. Screening in an MD box also comes from the ions in the box themselves; the program cannot know it in advance. To compute the interaction of charges correctly, all distant charges, together with their copies, must be counted. In pure water there is no screening at all.
A two-dimensional salt crystal: red are positive, blue negative ions, nearest-neighbor distance 1. We sum the Coulomb interaction of the central positive ion with all other ions; the sum is given in units of the nearest-neighbor interaction (1.6155 for the infinite lattice; the two-dimensional Madelung constant). See what happens as you enlarge the summation region.
Summing distant charges is hard because 1/r fades slowly. Ewald's idea is to dress every charge in a sleeve of opposite sign and then remove the sleeves again. Follow it below in six steps with a row of ions taken from a salt crystal; press "Next" at each step, or see them all in order with "Play from the start". The β slider changes the width of the sleeves. If you choose a grid spacing at step 5, you see how the far part is built from grid points, as in PME.
The numbers on the right are computed on this page for the three-dimensional NaCl crystal (cubic unit cell, a real-space sum cut with erfc, a reciprocal-space sum over waves, a self term). The drawing on the left shows the same idea for a one-dimensional row of ions; drawing the clouds with waves is the exact Fourier series of that row.
In the workshop, grow the sum with the circle and with the half-boundary square.
At the bench, set β to at least three different values.
In the notebook below, measure the three methods at different cut-off distances.
Each measurement computes the interaction of one ion with the whole three-dimensional NaCl crystal using the method you choose and compares it with the exact value. For Coulomb the exact value is the Madelung constant (1.747565); for r⁻⁶ it is the sum over the infinite crystal. The table also gives the net charge of the cut-off sphere. In the Ewald measurement β is chosen so that the share of the near part left at the cut-off is 10⁻⁵ (like ewald-rtol in GROMACS). This share is not the relative error of the sum: the Ewald errors in the table are of the same order of magnitude but not equal to 10⁻⁵.
No measurement.
| Method | rc (r₀) | Computed | Relative error | Net charge of the sphere |
|---|
In GROMACS the fast form of Ewald is PME (particle-mesh Ewald): the far part is computed by spreading the soft clouds onto a grid and using fast Fourier transforms. This project's ubiquitin run was set up with three numbers: the real-space cut-off rcoulomb = 1.0 nm, the share left at the cut-off ewald-rtol = 10⁻⁵, and a grid spacing of at most fourierspacing = 0.12 nm. The box slice below shows these settings at real scale: in the middle the nitrogen of a lysine side chain (+1), around it the cloud width and the cut-off, behind it the PME grid.
The numbers in the graph are real. They are the averages of this project's 10 ps unrestrained trial run (5,001 steps, 51 frames): Coulomb (SR) is the near part, Coul. recip. the far part. This split follows the run's β; if β were different, the shares of the two terms would change, but not the total electrostatic energy. You saw this for the crystal at the bench.
Net charge. The Ewald sum is fully meaningful only when the total charge is zero; if there is a net charge, the method assumes a uniform compensating charge spread over the box. This is why counterions are added during preparation with gmx genion -neutral. The total charge of this project's ubiquitin topology is 0.000 e (pdb2gmx) and no ions were added in the main trial run (S0); the box is pure water.
Following genion's definition, the number of pairs is computed from the box volume (concentration × volume × Avogadro's number). In this project's scenario protocol, the S4 preparation asked for 0.15 M: genion added 17 Na⁺ and 17 Cl⁻ (calculated 17.47), and a 10 ps unrestrained trial run completed without problems. The effect of salt on ubiquitin cannot be measured with such a short run: this scenario was not computed.
| Setting (mdout.mdp and log) | Value | Meaning |
|---|---|---|
coulombtype | PME | far part on a grid, with fast Fourier transforms |
rcoulomb | 1.0 nm | real-space cut-off |
ewald-rtol | 1e-05 | relative share of the near part left at the cut-off |
fourierspacing | 0.12 nm | upper limit of the grid spacing |
pme-order | 4 | each charge is spread to 4 grid points along each dimension (4 × 4 × 4 in three dimensions; cubic interpolation) |
| log | 1/β = 0.320163 nm; 56 × 56 × 56 | Ewald cloud width and PME grid |
Model: the Debye length from Debye-Hückel theory, the dielectric constant of water from the relation of Malmberg and Maryott (1956); the dots in the ion cloud are representative. The workshop uses a two-dimensional square ion lattice, the bench and the notebook a three-dimensional NaCl (rock salt) lattice; the unit is the nearest-neighbor distance r₀ and charges of ±1. The Ewald sum is computed on the page (cubic unit cell, real-space erfc, reciprocal-space wave sum, self term). NaCl lattice energy: Born-Haber cycle, about 786 kJ/mol; lattice constant 0.5640 nm. The settings and energies in "Back to the protein" come from this project's ubiquitin trial run (gromacs_trial: mdout.mdp, free_smoke.log). Your notebook is kept only in this browser.
The definition of each term and the other modules where it appears are in the glossary.