Molecular modeling can be a complex task, especially when preparing systems for simulations in GROMACS. One frequent challenge faced by researchers is the presence of unnecessary or problematic data in molecular structures that can lead to downstream issues. To address this, careful pre-processing of the molecular system is critical, as it ensures a clean starting point for later simulations. In this article, we’ll walk through key steps to simplify and optimize this process using SAMSON’s GROMACS Wizard.
Why Pre-Processing Matters
Preparing a molecular system for simulation involves selecting and cleaning the system to remove unwanted elements such as alternate locations, unnecessary waters, undesired ligands, and monatomic ions. This not only simplifies the system but reduces the chances of errors in subsequent GROMACS workflows.
Step-by-Step System Pre-Processing
1. Loading the System
The first step is to load your molecular structure. For this walkthrough, we use the 1AKI protein structure:
- Navigate to Home > Fetch in SAMSON.
- Input
1AKIin the PDB or PDB (mmCIF) field. - Click Load. If prompted by a dialog for import parameters, you can leave them at default values.

If you already have a local file from the Protein Data Bank, you can load it via Home > Open (Ctrl/Cmd + O).
2. Cleaning the System
Once the structure is loaded, it’s time to remove unnecessary components. Using Home > Prepare, follow these steps:
- Remove alternate locations. This ensures that the structure uses only the desired conformations.
- Remove unnecessary small molecules. Check the Remove ligands option but ensure you retain ligands that are relevant for simulation. To erase unwanted molecules selectively, use Select > Biology > Ligands in the Document view.
- Remove water. You can delete all water molecules unless some are functionally essential (e.g., in the active site). Specific instructions for preserving active-site waters are provided later in this article.
- Remove monatomic ions.
Special Case: Retaining Functional Waters
If your system includes tightly bound or functional active-site waters that must be retained, here’s an approach to selectively remove only non-essential waters:
- Select residues, atoms, or structures in the active site.
- Right-click on the selection in the Document view or Viewport, then choose Expand selection > Advanced.
- In the pop-up dialog, set Water as the Node type and specify a distance “beyond” the active site. Use the auto-update option to verify your selection, then click OK.
- Right-click on the refined selection and choose Erase selection.

What’s Next?
Once your system is clean, you’re ready to proceed to the Preparation step in the SAMSON GROMACS Wizard. This involves defining the simulation model, box, solvent, ions, and project files.
For more detailed instructions, refer to the full documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON here.
