As a molecular modeler, you often encounter the challenge of running simulations for multiple molecular systems or exploring various conformations of a single system. Manually preparing each project can become repetitive and time-consuming. This is where the GROMACS Wizard in SAMSON shines by enabling users to conduct batch simulations, automating the process for numerous starting conditions. Let’s dive into a step-by-step approach and see how it simplifies the workflow!
The Pain Point
Running simulations for many related systems often requires redundant setups. For instance, if you’re studying multiple conformations of a molecule or different protein systems, configuring each project individually can consume a substantial amount of time. The need for consistency and minimized errors across these setups further complicates this process. SAMSON’s GROMACS Wizard addresses this bottleneck by allowing you to configure simulations for entire batches in just one go.
The Solution: Batch Computations
The GROMACS Wizard in SAMSON supports batch computations, where you can apply the same workflow to multiple starting states or systems. This feature provides two primary modes:
- Single molecular system with multiple conformations: Useful for simulations like Umbrella Sampling or exploring different initial states of a molecule.
- Several different molecular systems: Ideal when you wish to run simulations with consistent parameters across multiple proteins or compounds.
Key Steps for Batch Preparation
Follow these steps to set up your batch computations efficiently:
- Load your trajectory or conformations: You can directly load existing trajectories (e.g., via Ctrl/Cmd + O) or create conformations within SAMSON using tools like Move editors or extensions such as Twister. Select the desired conformations as your starting points.
- Open the GROMACS Wizard: Access the Prepare tab and set the molecular system you’d like to simulate. For batch preparation, check the “[Optional] Batch preparation” box.
- Select initial conformations or a path: Either select individual conformations or use a path (trajectory), where each frame becomes a starting state. This flexibility allows you to tailor your batch simulation approach.
- Define the periodic box: Set consistent or conformation-dependent box sizes for the simulations. This can either be based on all conformations (for uniform box sizes) or dynamically vary per conformation (for a computationally efficient setup).
- Prepare: Finalize the batch setup by specifying the force field, solute-box distance (minimum 1 nm recommended), and other optional parameters such as custom index groups. Each subproject in the batch will be prepared automatically.
Here’s a visual breakdown of selecting the batch input for simulations:

Once the batch project is prepared, the workflow for energy minimization, equilibration, and production molecular dynamics simulation is identical to that for single projects. You can run these computations locally or in the cloud, further streamlining the overall process.
Why Use Batch Preparation?
Batch preparation is particularly beneficial when handling simulations for large datasets or exploring variations of molecular systems. The benefits include:
- Significant time savings compared to manual project setups.
- Reduced likelihood of errors due to automation and standardized parameters.
- Flexibility to launch computations locally or in the cloud for enhanced scalability.
Moreover, prepared batch projects are organized into numbered subfolders, each representing a standalone simulation. This structure helps you keep track of individual runs and facilitates focused analysis.
Learn More
Excited to dive into batch simulations and manage your molecular modeling workflows more effectively? Explore the full documentation for batch computations here.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON today at https://www.samson-connect.net.
