Solvated protein

A protein of 4246 atoms in water and sodium and chloride ions, in a periodic cell with the shape of a rhombic dodecahedron. The protein is fixed at the center of the cell, and the solvent fills the space around it. The protein is that of Martínez L., et al. J. Med. Chem. 49, 23–26, 2006, where it was solvated in a sphere of water (the classic example of Packmol).

The protein, sodium (orange) and chloride (green) ions, and, to show the shape of the rhombic dodecahedron without hiding the protein, the oxygen atoms of one in ten water molecules, those of the half of the cell behind the protein (light blue) (drag to rotate, scroll to zoom).

Files: protein.pdb, water.pdb, CLA.pdb, SOD.pdb and the input file solvprotein.inp.

The periodic cell and the numbers of molecules

A rhombic dodecahedron is the usual cell for a single solute that is roughly spherical: for the same distance between periodic images, it has 70.7% of the volume of a cube (see Rhombic dodecahedral box), and thus 30% fewer water molecules to simulate.

  • The cell. The atoms of the protein are at most 45.9 Å from its center. With at least 12 Å of water between the protein and the faces of the cell, the distance between opposite faces is d = 2 × (45.9 + 12) ≈ 116 Å, and the volume of the cell is d³/√2 = 1,103,700 ų.
  • Water. The protein (267 residues, about 29.4 kDa) occupies about 35,600 ų (0.73 mL/g). The remaining 1,068,100 ų hold 35,670 water molecules at 1 g/mL (0.0334 molecules per ų); 35,480 leave room for the ions.
  • Ions. 0.15 mol/L of NaCl in that volume are 96 ion pairs. The protein has a charge of −10 (30 arginines and lysines, 40 aspartates and glutamates), neutralized by 10 more sodium ions: 96 chloride and 106 sodium ions.

The protein in the periodic cell

The input file solvprotein.inp (click to expand)
#
# Protein solvated by water and ions, in a rhombic dodecahedron periodic cell
#

# All atoms from different molecules will be at least 2.0 Angstroms apart
# in the solution

tolerance 2.0

# The name of the output file

output solvprotein.pdb

# To write only the initial placement of the molecules to the output file,
# without packing them (to check the constraints), uncomment the line below.

# check_initial_placement

# The periodic cell: a rhombic dodecahedron centered at the origin, with a
# distance of 116 Angstroms between opposite faces (and between periodic
# images). The atoms of the protein are at most 45.9 Angstroms from its
# center, so that there are at least 12 Angstroms of water between the
# protein and the faces of the cell. The output is written in the shape of
# the dodecahedron.

pbc dodecahedral 0. 0. 0. 116.
periodic_boundary_style dodecahedral

# The protein will be fixed with its center of mass at the center of the
# cell, and no rotation (the first three zeros are the position of the
# center of mass and the last three are the rotation angles, in radians,
# relative to the orientation in the input file).

structure protein.pdb
  number 1
  fixed 0. 0. 0. 0. 0. 0.
  centerofmass
end structure

# The water and the ions fill the cell: no constraint is needed. The
# cell has 1,103,700 cubic Angstroms, and the protein about 35,600, which
# leaves room for 35,480 water molecules (1 g/mL). The protein has a
# charge of -10: 96 chloride and 106 sodium ions give a concentration of
# 0.15 mol/L of NaCl, and a neutral system.

structure water.pdb
  number 35480
end structure

structure CLA.pdb
  number 96
end structure

structure SOD.pdb
  number 106
end structure

pbc dodecahedral cx cy cz d sets the cell, centered at (cx, cy, cz), and periodic_boundary_style dodecahedral writes the output in its shape (without it, the molecules are written in the parallelepiped of the cell vectors, which is the same periodic system). The cell confines the water and the ions: no constraint is needed. No constraint keeps the solvent away from the protein either: the protein is fixed, and the packing itself keeps the other molecules at least tolerance away from its atoms.

Check the initial placement first

Uncomment the check_initial_placement line of the input file, and run it as below (see Checking the initial placement): the initial placement of the molecules is written to the output file (solvprotein.pdb):

The initial placement (as above, one in ten water molecules of the back half of the cell): the solvent fills the cell around the fixed protein, but molecules may overlap, also with the protein.

Then comment the line again, and run the packing.

Packing

Run it with:

packmol solvprotein.inp

The packed system (about 111 thousand atoms) is written to solvprotein.pdb; the packing takes about a second.

Julia script

using Packmolprotein = structure_type("protein.pdb";    number = 1,    fixed = ([0., 0., 0.], [0., 0., 0.]),    center = :mass,)water = structure_type("water.pdb"; number = 35480)chloride = structure_type("CLA.pdb"; number = 96)sodium = structure_type("SOD.pdb"; number = 106)system = PackmolSystem([protein, water, chloride, sodium];    output = "solvprotein.pdb",    tolerance = 2.0,    unitcell = dodecahedral_unitcell(Float64, 116.0), # centered at the origin    # check_initial_placement = true, # uncomment to only place the molecules)# Write the output in the shape of the rhombic dodecahedrontriclinic_to_dodecahedral(system)packmol(system)

As with the input file, check the initial placement first, with check_initial_placement = true (commented in the code above).

dodecahedral_unitcell(T, d) is the matrix of the cell vectors of pbc dodecahedral (the cell is centered at the origin, unless unitcell_center is given).

Tip

The SolutionBoxUWI recipe solvates a protein with water and ions from a target ionic concentration (neutralizing its charge), in a periodic cell of any of the shapes of Cell shapes (pbc = :dodecahedral here). See Recipes.