The Box Is Part of the Model: Avoiding Periodic-Boundary Surprises

A molecular system can look ready for simulation and still have a setup problem that is hard to spot in a structure viewer: a periodic box that is too small, or that does not fit every structure you intend to prepare. The box is not just empty space around a protein. With periodic boundary conditions, copies of the system repeat in every direction, so box dimensions affect how those copies relate to one another.

Here is a practical way to think through the box choices in GROMACS Wizard before preparing a solvated system.

Start with the minimum-image requirement

Periodic simulations use the minimum image convention. In practical terms, you want to avoid a protein or other solute interacting with its own periodic image across the box. SAMSON’s preparation guidance recommends at least 1.0 nm between the solute and the box boundary. That corresponds to at least 2.0 nm between periodic images of the solute.

This is a useful starting point, not a substitute for checking the needs of your system and force field. Molecules can change conformation during a simulation, and custom force fields may have specific requirements. A box that fits the structure’s current coordinates tightly may therefore not provide enough clearance.

Choose the box-sizing method for your workflow

GROMACS Wizard offers two ways to fit an initial box:

  • Solute-box distance: Specify the distance between the system and the box. The tutorial recommends at least 1 nm for the minimum-image requirement. This is a straightforward option for a single structure. For a batch project, each conformation or trajectory frame can receive a different box size.
  • Box lengths: Specify the box dimensions directly. The initial fit is tight, so increase the box as needed to leave sufficient space around the solute. For a batch project, the initial dimensions are based on all conformations or the whole trajectory path. This can be useful when you want the same box size throughout the batch.

For a batch, the key decision is whether consistent dimensions or a closer fit for each structure better suits your workflow. In either case, the box must include every structure selected for preparation.

A sensible preparation sequence

  1. Select the system deliberately. If the document contains multiple structural models, select the ones you intend to prepare. Leaving the selection empty may prompt GROMACS Wizard to ask whether to include all models.
  2. Choose a unit-cell shape. Supported options include cubic, orthorhombic, triclinic, rhombic dodecahedron, and truncated octahedron. For the tutorial example, choose an orthorhombic cell.
  3. Compute the fitted box. Select Compute fitted box, then choose the sizing method. The fitted box is based on the selected system’s dimensions.
  4. Review the clearance. Adjust the box parameters if needed. With box lengths, remember that the initial fit is tight; it is your responsibility to add space.
  5. Plan solvent and ions together. Ions replace water molecules, so adding solvent is required if you want to add ions. Choose a water model compatible with the selected force field, then decide whether to neutralize the system or add additional ions.

Choosing the unit-cell type in GROMACS Wizard

A fitted periodic box around the selected system

Before you click Prepare

  • Does the box include all selected structures or conformations?
  • Is there enough solute-to-box distance for the minimum-image convention?
  • If this is a batch, should every structure use the same box dimensions?
  • If you plan to add ions, have you enabled solvent?

Thinking through these questions before preparation can help catch box and setup choices early, when they are easier to review. For the complete walkthrough of system selection, force fields, solvent models, custom topology files, ion choices, and preparation results, see the GROMACS Wizard preparation tutorial.

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

Comments are closed.