Preparing a protein structure for simulation often involves removing water molecules—but “remove all water” is not always the right choice. Some crystal waters may be tightly bound or functionally important, especially near an active site. Removing them indiscriminately can discard part of the molecular environment you intended to model.
A more deliberate approach is to preserve waters near a region of interest and remove waters beyond a chosen distance. The GROMACS Wizard pre-processing workflow in SAMSON supports this kind of selective cleanup, so you can prepare a starting structure without treating every water molecule as unwanted.
Start by identifying what should stay
Before deleting anything, decide which part of the system matters for your simulation. This might be a ligand, a set of residues, atoms in an active site, or another structure in the model. Select that region in the Document view or the Viewport. The selection will serve as the reference for finding waters outside it.
This decision is specific to the system and the question you want to study. If active-site or tightly bound waters are relevant, preserve them rather than applying a blanket water-removal step. If you are unsure whether a water is important, verify the selection before erasing anything.
Select waters beyond the region
- Select the structures, residues, or atoms that define the region you want to preserve. For example, select a ligand or active-site residues.
- Right-click the current selection in the Document view or the Viewport, then choose Expand selection > Advanced.
- In the dialog, set the node type to Water and choose beyond a distance from the selected region. The distance is a choice you should make for your system; the tutorial’s example image shows a 5 Å setting, not a universal rule.
- Use auto-update if you want to inspect how the selection changes, then click OK.
- Review the selected waters. If the selection matches what you intend to remove, right-click it and choose Erase selection.

Why verify before erasing?
The selection is based on the region you chose and the distance you set. If you select the wrong atoms, residues, or structure as the reference, the resulting water selection may not match your intent. Likewise, a distance that is suitable for one model or simulation goal may not be suitable for another. Treat the auto-updated selection as a preview, not as a substitute for checking the molecules that will be deleted.
This method is useful when the system contains waters you want to preserve near a site while removing more distant crystal waters. It is different from selecting Remove water in Home > Prepare, which may not be appropriate when some existing waters need to remain. The broader pre-processing step can also remove alternate locations, unwanted ligands, and monatomic ions. Keep ligands or other molecules you plan to simulate; arbitrary molecules that you retain may need topology files before they can be used in a GROMACS simulation.
Continue with a clean, intentional starting structure
After cleanup, check that the molecules you meant to keep are still present. You can then continue to the GROMACS Wizard preparation step, where you define the simulation model, box, solvent, ions, and project files. For broader protein preparation and validation, consult the related tutorial linked from the documentation.
Read the GROMACS Wizard pre-processing tutorial for the full workflow and additional guidance.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
