Before You Pull a Molecule Apart, Check the Box

Setting up a center-of-mass (COM) pulling simulation is not just a matter of choosing a group and a pulling speed. The periodic box can determine whether the motion you intended is physically represented—or whether the pulled molecule encounters its periodic image too soon. This is a common setup challenge: the box must accommodate both the starting system and the planned displacement.

This example uses the 2BEG system in GROMACS Wizard. The goal is to pull chain A away from chain B by 5 nm along the z-axis. The same reasoning is useful whenever you plan a directed pulling simulation: define the motion first, then size and position the box around it.

Plan the box around the pulling distance

With periodic boundary conditions, the system is repeated in space. The minimum image convention means that a particle or group can interact with the nearest periodic copy of another group. For a pulling coordinate, the distance traveled must remain below half the box length in that direction. Otherwise, the periodic geometry can make the pulled group approach an image of the reference group rather than behaving as intended.

For a 5 nm pull along z, the example therefore uses a 12 nm z dimension. That is more than twice the planned displacement, with additional room at the ends in case parts of the pulled chain extend beyond the COM displacement. The other box dimensions are set to 6.5 nm and 4.5 nm. The key takeaway is not to copy these dimensions blindly: choose them for your own system and pull direction, and check the periodicity constraint before starting the simulation.

Orthorhombic box dimensions and center settings for the COM-pulling example
The example sets the box to 6.5 × 4.5 × 12 nm and adjusts the system center.

In the Prepare step, choose an orthorhombic unit cell and compute the fitted box first. Then select the option for setting box lengths and enter the dimensions. Because the system should not simply be centered in the full box for this example, deactivate Center in box and set the center to 0.5 × 0.5 × 0.2 of the box dimensions. This places the system toward one end of the z-axis, leaving more space in the direction of travel.

Visualization of the periodic box around the molecular system
Inspect the box in the viewport to confirm that the system has room in the intended pulling direction.

Make the groups and reference explicit

A second source of confusion is which molecular groups are actually being pulled. In this example, chain A is the moving group and chain B is the reference group. If those chains are not already available as GROMACS index groups, add custom groups named ChainA and ChainB using the selections in SAMSON. Check each group by selecting it in the index-group window and selecting its atoms in the document. This simple verification helps catch an incorrect selection before it becomes part of a long simulation.

During production MD, apply position restraints to chain B so it stays in place while chain A is pulled. In the COM pulling parameters, set the type to umbrella, geometry to distance, group 1 to chain A, and group 2 to chain B. Enable the starting coordinate, choose the z direction by setting the distance components to N N Y, and use an initial distance of 0 nm.

Check that the schedule matches the target

The example pulls 5 nm over 0.5 ns. Since 0.5 ns is 500 ps, the corresponding rate is 5 nm / 500 ps = 0.01 nm/ps. The tutorial uses a force constant of 1000 kJ mol^-1 nm^-2. Set the production run to 0.5 ns with a 2 fs timestep, then review the pull coordinate and force plots after the run. The coordinate plot helps show how the separation changed over time; the force plot shows how the pulling force responded as the system resisted the motion.

These checks do not replace evaluating whether the chosen model, restraints, and simulation duration are appropriate for a particular scientific question. They do help prevent avoidable setup errors: insufficient space along the pull axis, mismatched groups, or a rate that does not correspond to the intended distance and duration.

Once the pulling run is complete, its output can be used as a starting point for umbrella sampling. For the complete workflow and screenshots, see the GROMACS Wizard COM Pulling tutorial.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON at www.samson-connect.net.

Comments are closed.