Preparing molecular systems for simulations can often feel daunting, especially when working with complex coarse-grained models. For scientists utilizing the MARTINI force field, ensuring proper system setup for simulations in GROMACS is critical yet intricate work. This blog post focuses on an essential workflow – preparing a coarse-grained system using GROMACS Wizard in SAMSON. If this has ever been a pain point for you, keep reading because the GROMACS Wizard greatly simplifies this process.
Why System Preparation is Key
Before any MD simulations, preparing your system involves multiple essential tasks to ensure accuracy, including defining a periodic box, solvating the system, incorporating ions for neutralization, and correctly applying force fields. Each of these steps, if not handled properly, can result in errors downstream or incorrect results. GROMACS Wizard in SAMSON offers a guided process to create clean inputs, saving time and avoiding common mistakes.
Step-by-Step: Preparing Coarse-Grained Systems
Let’s explore the primary steps needed to prepare a coarse-grained system (CG) using GROMACS Wizard. For this post, we assume you already have a CG model generated, for instance, using the Martinize2 SAMSON Extension.
- Set your system: Go to the Prepare tab in the GROMACS Wizard. Switch the system source to Folder and choose the folder containing your CG model files (e.g., .pdb and .top). Once selected, GROMACS Wizard will automatically detect the input files.
- Load the structure: Click Load next to the PDB file to compute a periodic box. The tool processes this automatically, ensuring consistent box properties (see image below).

- Verify the force field: If your system is based on MARTINI v.3.0.0 (as it would be with Martinize2), GROMACS Wizard automatically switches to the martini_v.3.0.0 force field. Ensure this step occurred correctly.

- Add solvent and ions: If solvation is necessary, enable the Add solvent option. Adjust the van der Waals distance for CG beads to approximately 0.21 nm to avoid clashes. If neutralization or additional ions are required, check the respective options. Be aware that ions are added by replacing solvent molecules.

- Finalize your box: If needed, adjust the solute-box distance or use a space-efficient unit cell type like a rhombic dodecahedron. Ensure the minimum distance between images is at least 1 nm.
- Click Prepare: After completing the above steps, click on Prepare to process the system. You’ll be able to either inspect the final prepared structure or proceed to simulation stages like minimization, equilibration, and production.
Throughout this workflow, GROMACS Wizard offers an intuitive and error-resistant way of handling CG system preparation, automating crucial steps like structure validation and force field application.
Tips for Success
Here are some key tips to ensure success while working with GROMACS Wizard:
- Ensure your input files (.pdb, .top) from tools like Martinize2 are collated in a single folder for an efficient setup process.
- Leverage the preset options where applicable to minimize mistakes, such as using MARTINI v.3.0.0 when working with Martinize2-generated CG models.
- Modify solvent van der Waals distances for CG models whenever solvating to avoid incorrect packing.
Learn More
The GROMACS Wizard is an indispensable tool for molecular modelers working with coarse-grained systems. Its step-by-step interface ensures accuracy while reducing setup time considerably. To dive deeper into this workflow, explore the full documentation page here.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON at https://www.samson-connect.net.
