A molecular structure can look ready for simulation and still contain details that complicate preparation: alternate atom locations, crystal waters, small molecules you do not intend to model, or ions that are not needed. Cleaning up thoughtfully can make the next steps clearer—but removing the wrong molecule can also discard something important to the system.
This guide focuses on a practical question: what should you remove before preparing a system for GROMACS, and what should you preserve? The examples use the 1AKI structure, but the same decisions apply to similar protein systems.
Start with the structure you actually plan to simulate
Load 1AKI through Home > Fetch by entering 1AKI under PDB or PDB (mmCIF), then choosing the matching Load button. Import settings can generally be left at their defaults for this walkthrough. If you already have a structure file, open it with Home > Open.
Before deleting anything, decide which components belong in your intended model. A ligand or cofactor may be essential to the question you are studying. If you want to simulate it, do not remove it just because it is a small molecule.

A cleanup checklist—and the judgment behind it
In SAMSON, open Home > Prepare and review the available cleanup options. These are not all automatic “yes” decisions; each depends on what you want to preserve.
- Remove alternate locations. Structures may contain alternative positions for atoms. Removing alternate locations helps avoid carrying multiple alternatives into the preparation workflow.
- Remove unwanted small molecules. The Remove ligands option can be useful when those molecules are not part of the planned simulation. Keep any ligand or cofactor you intend to study.
- Remove water only when appropriate. Removing water is a common cleanup choice, but it is not universally suitable. Some waters may be tightly bound or functional, particularly near an active site.
- Remove monatomic ions when they are not needed in the model.
- Add hydrogens is optional at this stage because GROMACS can add hydrogens as well.
Don’t let a broad selection erase something useful
If the system contains a cofactor or another arbitrary molecule that you do not need, but the standard ligand-removal option does not handle it as you expect, you can select it in the Document view and erase it. Another route is Select > Biology > Ligands. When nothing is selected, this can select small molecules in the document. In either case, inspect the selection before erasing: the goal is to remove only molecules you have decided not to simulate.
Water deserves extra care. If active-site or tightly bound waters may matter, avoid removing every water indiscriminately. Instead, select structures, residues, or atoms in the active site. Right-click the selection in the Document view or Viewport, then choose Expand selection > Advanced. Set the node type to Water and choose waters beyond a chosen distance from the selected region. The tutorial illustrates a 5 Å example. Auto-update can help preview the selection; check it before confirming, then erase the selected waters.

Keeping a molecule means preparing its topology
If you keep an arbitrary molecule for the simulation, cleanup is only part of the task. It needs a topology file, such as an .itp file. External tools such as the ATB Server or CGenFF can be used to generate these files, which can then be provided during the GROMACS Wizard Preparation step. Keeping a molecule without planning for its parametrization can leave you with an incomplete preparation workflow.
Make the cleanup decision explicit
A useful final check is to compare the structure on screen with the model you mean to simulate: Are the intended ligands and cofactors still present? Did you preserve waters that may be functional? Did you remove only unwanted small molecules and ions? Once the starting structure reflects those choices, continue to Step 1: Prepare to define the simulation model, box, solvent, ions, and project files.
For the full walkthrough, see the GROMACS Wizard pre-processing tutorial.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
