Before You Pull a Molecule, Make Room for It

A center-of-mass pulling simulation can be configured correctly and still produce confusing results if the system is too close to its periodic images. The practical challenge is to plan the pulling direction, box dimensions, and restrained reference group together—before launching a simulation that may take minutes or longer.

This example uses the 2BEG system to pull chain A away from chain B along the z-axis. The target displacement is 5 nm over 0.5 ns. The same planning principles apply whenever you need to separate molecular groups while accounting for periodic boundary conditions.

Start with the periodic box

In a periodic simulation, the box repeats in every periodic direction. The minimum-image convention means the pull distance must remain less than half the box length along the pulling direction. If the box is too short, the pulled group may interact with a periodic copy of the system rather than behaving as though it is moving into open space.

For the example, a 5 nm pull requires a z-dimension greater than 10 nm. The tutorial uses a 12 nm z-length, leaving an additional 1 nm beyond the minimum half-box requirement. The complete orthorhombic box is set to 6.5 nm × 4.5 nm × 12 nm. Its center is adjusted to 0.5 × 0.5 × 0.2 of the box dimensions rather than automatically centering the system.

Box dimensions and center settings for the COM pulling setup

A useful planning habit is to check the box specifically along the direction of motion. A fitted box based only on the starting structure may not leave enough room for the entire pull. Also check that the pull direction is aligned with the intended box axis; if it is not, orient the system before choosing the box dimensions.

Define the two groups clearly

A pull coordinate describes the relationship between two groups, so make sure the groups correspond to the molecular parts you intend to move and reference. In this setup, chain A is the pulled group and chain B is the reference group. If those chains are not available as default GROMACS index groups, create custom groups named ChainA and ChainB from the corresponding selections in SAMSON.

There are two related but distinct settings to keep straight: the COM pulling groups define the coordinate, while a position restraint helps keep the reference chain in place. For the production simulation in this example, chain B is position-restrained so that chain A is pulled away from a stable reference. Check the group selections before starting; a mistaken group can make a technically valid run answer the wrong structural question.

Custom index groups for chains A and B

Check the pulling schedule

The example uses umbrella-style COM pulling with distance geometry. The pull direction is specified as N N Y, meaning the z component is active. The initial value is 0 nm, the rate is 0.01 nm/ps, and the force constant is 1000 kJ mol-1 nm-2.

The rate is a quick consistency check: 0.5 ns is 500 ps, and 0.01 nm/ps × 500 ps = 5 nm. Matching the rate, duration, direction, and box length helps catch setup mistakes before the run. In GROMACS Wizard, the production run is set to 0.5 ns with a 2 fs timestep, and the temperature and pressure coupling are kept consistent with the NPT equilibration settings.

COM pulling parameters for the production simulation

Use the output to check what happened

After the simulation, inspect the trajectory to see whether the intended group moved in the intended direction. The generated pull-coordinate and pull-force plots offer another useful check: the coordinate shows displacement over time, while the force shows how the pulling response changes as the groups separate. These outputs help you assess the pulling run and can provide input for a subsequent umbrella-sampling workflow.

The main takeaway is simple: plan the periodic box around the full intended displacement, verify the two groups, and make the rate agree with the desired distance and simulation duration. For the complete workflow and parameter screenshots, see the GROMACS Wizard COM Pulling tutorial.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.