GROMACS icon

GROMACS

(v2026.0)

Run classical molecular dynamics simulations to study protein dynamics and structural stability. Learn more

Input

Inputs

Configuration

Settings

0 credits

Output

Configure inputs to begin

Set options on the left, then click “Submit job”.

What is GROMACS?

GROMACS (GROningen MAchine for Chemical Simulations) is one of the most widely used molecular dynamics engines in computational biology. Originally developed at the University of Groningen in 1991, it has grown into a community-maintained open-source project known for exceptional performance on both CPUs and GPUs.

Molecular dynamics (MD) simulates how atoms move over time by integrating Newton's equations of motion. For proteins, this reveals conformational flexibility, loop motions, domain rearrangements, and stability under different conditions. GROMACS handles the full pipeline: system setup, solvation, energy minimization, equilibration, production dynamics, and trajectory analysis.

How does GROMACS work?

A GROMACS simulation progresses through several stages, each building on the previous one.

Energy minimization

The input structure often contains steric clashes or suboptimal bond geometries from crystallography or homology modeling. Steepest-descent minimization relaxes these high-energy contacts before dynamics begins. The algorithm iteratively adjusts atomic positions to reduce the total potential energy until convergence or a step limit is reached.

NVT equilibration

With clashes resolved, the system is heated to the target temperature. During NVT (constant Number, Volume, Temperature) equilibration, position restraints hold the protein backbone in place while the solvent and ions settle around it. The V-rescale thermostat couples the system to a heat bath, generating a canonical ensemble with correct kinetic energy fluctuations.

NPT equilibration

Once the temperature is stable, the system transitions to NPT (constant Number, Pressure, Temperature) equilibration. A C-rescale barostat adjusts the simulation box volume while sampling the target pressure ensemble. Position restraints remain active during this phase to prevent premature structural drift while the box dimensions adjust.

Production MD

Restraints are released and the system evolves freely. The Parrinello-Rahman barostat is used for production sampling. Coordinates are saved at regular intervals to form the trajectory.

Trajectory analysis

After production, GROMACS analysis commands compute backbone RMSD and RMSF, radius of gyration, secondary structure assignment, solvent-accessible surface area, hydrogen bonds, Ramachandran angles, and an averaged inter-residue distance map. Native outputs are returned alongside display-ready CSV tables.

How to use GROMACS online

ProteinIQ runs GROMACS on cloud infrastructure with automated system preparation, solvation, and multi-stage equilibration. No command-line setup or force field file management is needed.

Input

InputDescription
Protein StructurePDB file upload, mmCIF file, or RCSB PDB ID (e.g., 1UBQ). Maximum 50 MB.

The structure should contain standard amino acid residues. mmCIF uploads are converted to PDB coordinates before pdb2gmx because GROMACS topology generation does not read mmCIF directly. By default, HETATM records are rejected instead of silently removed, since ligands, cofactors, crystallographic waters, ions, and modified residues change the simulated system. Pre-process structures with PDBFixer if needed, or explicitly choose protein-only HETATM stripping in Advanced settings.

Simulation settings

SettingDescription
Simulation DurationProduction MD length in nanoseconds (1-200 ns, default 10). Longer runs capture slower motions but cost more.
Force FieldParameterization for interatomic interactions. See force field comparison below. Default: AMBER99SB-ILDN.
Water ModelExplicit solvent model. Available choices are validated against the selected force field. Default: TIP3P.

Environment settings

SettingDescription
TemperatureSimulation temperature (200-400 K, default 300 K). Physiological temperature is 310 K.
PressureTarget pressure (0.5-2.0 bar, default 1.0 bar).
Ionic StrengthNaCl concentration in molar (0-0.5 M, default 0.15 M). Ions neutralize the system charge plus add excess salt.

Advanced settings

SettingDescription
TimestepIntegration step size. 2 fs is standard with LINCS hydrogen-bond constraints. 4 fs enables GROMACS hydrogen mass repartitioning and requires bond constraints.
Minimization stepsSteepest-descent steps before dynamics (500-5000, default 1000).
EquilibrationCombined NVT + NPT equilibration time (0.1-2.0 ns, default 0.5 ns). Split equally between the two phases.
Bond constraintsH-bonds only (default, required for 2 fs timestep), All bonds, or None.
Save intervalTrajectory frame spacing. 10 ps (detailed), 50 ps (standard), or 100 ps (compact).
Remove water from outputStrip solvent from the output trajectory to reduce file size. Enabled by default.
Analysis levelFull returns all native analysis files and display CSVs, Standard returns core energy/RMSD/RMSF/Rg/DSSP outputs faster, and None skips post-run analysis while still returning raw GROMACS artifacts.
Compute backendAuto routes larger or longer jobs to GPU when useful, CPU forces CPU execution, and GPU requests the pinned CUDA runtime on an A10G. GPU failures are reported rather than retried on billed GPU hardware with CPU execution.
HETATM handlingReject HETATM records by default, or explicitly strip them for protein-only simulations. Rejected or stripped records are included in the artifacts ZIP.
Regenerate hydrogensOff by default, preserving pdb2gmx behavior. Enable it to ignore input hydrogens and regenerate them from the selected force field.
Chain separationPassed to pdb2gmx -chainsep for multi-chain structures.
Merge chainsPassed to pdb2gmx -merge; useful only when chains should be one chemical molecule.
Box typePassed to editconf -bt; default is rhombic dodecahedron.
Box paddingPassed to editconf -d; larger padding increases solvent count and runtime.
Positive ion / Negative ionPassed to genion -pname and -nname.
Allowed grompp warningsPassed to grompp -maxwarn only when set above zero. Default is 0, matching GROMACS safer behavior.
Energy termsControls which gmx energy terms are extracted to CSV. Raw md.edr is always downloadable.

Output

The simulation produces:

  • Final structure: PDB file of the last frame, centered and processed
  • Trajectory: XTC file containing all saved frames (protein-only if water removal is enabled)
  • Analysis CSVs: Structural and energy metrics computed across the trajectory (see interpreting results below)
  • Raw artifacts ZIP: All generated GROMACS topology and include files, MDP, TPR, log, checkpoint, trajectory, energy, analysis, and setup files for reproducibility

Force fields

Each force field represents a different parameterization philosophy. The choice affects secondary structure propensities, sidechain dynamics, and solvation behavior.

Force fieldTypeStrengths
AMBER99SB-ILDNAll-atomWell-validated for protein folding and dynamics. Improved sidechain torsions for Ile, Leu, Asp, Asn. Default choice for most applications.
CHARMM27All-atomReliable for proteins and nucleic acids. Tends to slightly favor helical conformations.
GROMOS96 54a7United-atomNon-polar hydrogens are implicit, reducing atom count and speeding up simulations. Parameterized against thermodynamic data (heats of vaporization, solvation free energies).
OPLS-AA/LAll-atomOptimized for liquid-state properties and small-molecule interactions. Useful when solvent thermodynamics matter.

For general protein dynamics, AMBER99SB-ILDN is the most common choice in recent literature. GROMOS96 54a7 offers faster simulations at the cost of losing explicit non-polar hydrogen detail.

Water models

All simulations use explicit solvation in a dodecahedral box with 1.0 nm padding around the solute.

ModelSitesNotes
TIP3P3Standard choice, compatible with many force fields. Diffusion coefficient is higher than experiment.
SPC/E3Better self-diffusion and dielectric constant than TIP3P. Includes a polarization correction.
SPC3Simpler parameterization. Fastest of the three, but less accurate for dynamical properties.
TIP4P / TIP4P-Ew4Available for force fields that support four-site water models.

ProteinIQ prevents unsupported force-field/water combinations. GROMOS96 54a7 is limited to SPC and SPC/E; CHARMM27 does not offer TIP4P-Ew in this runtime. Water model choice can influence conformational sampling and solvation dynamics.

Interpreting results

RMSD

Root mean square deviation of backbone atoms from the initial structure, measured in nanometers. A plateau in the RMSD trace indicates the protein has reached a stable conformation. Continuously rising RMSD suggests the simulation may need more time, or that the protein is undergoing a conformational transition.

RMSD (nm)Interpretation
< 0.15Very stable, minimal deviation from starting structure
0.15 - 0.3Typical for a well-folded, equilibrated protein
0.3 - 0.5Significant conformational change or flexible regions
> 0.5Major structural rearrangement or unfolding

RMSF

Root mean square fluctuation per residue captures local flexibility. High RMSF values correspond to mobile loops, termini, and disordered regions. Low RMSF indicates rigid core residues or those involved in stable secondary structure elements.

Radius of gyration

Measures overall compactness. A stable radius of gyration indicates the protein maintains its fold. A sharp increase suggests partial unfolding or domain separation.

Secondary structure (DSSP)

Per-residue secondary structure assignment across all frames. Tracks helix-to-coil transitions, beta-sheet stability, and transient structure formation. The summary reports percentage of helix, sheet, and coil content per frame.

Potential energy

Should decrease during minimization and stabilize during production. Large fluctuations during production may indicate simulation instability.

Additional analyses

  • Hydrogen bonds: Native GROMACS protein-protein hydrogen-bond indices and per-frame counts
  • Ramachandran angles: Native GROMACS ϕ\phiϕ/ψ\psiψ output
  • SASA: Total and per-residue solvent-accessible surface area from gmx sasa
  • Residue distance map: Mean minimum distance between residue pairs from gmx mdmat
  • B-factors: Backbone fluctuation values written into a PDB by gmx rmsf

Limitations

  • Only standard amino acid residues are supported. Non-standard residues, post-translational modifications, and ligands require manual parameterization that is not available through the web interface.
  • Simulations can run on CPU or A10G GPU offload depending on system size, duration, and backend selection. A failed GPU run is reported and is not silently retried on CPU.
  • The maximum simulation duration is 200 ns, which may be insufficient for slow conformational transitions, protein folding, or large-scale domain motions that occur on microsecond timescales.
  • Protein backbone is treated as fully flexible from the start of production MD. There is no option for partial restraints during production.
  • Ligands, cofactors, covalent modifications, and custom residues require valid GROMACS parameters. This tool does not generate ligand topologies or custom force-field files.

Table of contents

Related tools

OpenMM

OpenMM

Run GPU-accelerated molecular dynamics simulations using OpenMM. Prepare protein and protein-ligand systems or start from native AMBER topology and restart files.

protein-analysisphysics-based+4
MD Trajectory Analysis

MD Trajectory Analysis

Analyze molecular dynamics trajectories using a ProteinIQ tool pinned to MDAnalysis 2.9.0. Calculate RMSD, residue-aggregated RMSF, radius of gyration, distance tracking, and additional trajectory observables from standard topology and trajectory files.

structure-analysisphysicochemical-properties+2
MDGen

MDGen

MDGen is a generative AI model for molecular dynamics trajectory generation. Generate physically plausible conformational ensembles from a single protein structure, enabling rapid exploration of protein dynamics without expensive MD simulations.

protein-foldingstructure-prediction+2
OpenFE

OpenFE

Calculate absolute hydration free energies (AHFE) for neutral small molecules with OpenFE and GPU-accelerated OpenMM simulations.

protein-analysisphysics-based+3
ORB v3

ORB v3

ORB v3 predicts atomistic energies, forces, stress, and confidence, with optional BFGS geometry optimization or Langevin NVT molecular dynamics.

structure-analysisai-powered+3
AIMNet2

AIMNet2

Predict molecular energies, atomic forces, atomic and spin charges, dipole vectors, stress tensors, and Hessians from coordinate-bearing molecular structures with AIMNet2 neural network potentials.

structure-analysismachine-learning+4
gmx_MMPBSA

gmx_MMPBSA

Calculate binding free energies using MM/PBSA and MM/GBSA methods for protein-ligand, protein-protein, and protein-DNA complexes. Provides detailed energy decomposition and per-residue contributions.

structure-analysisphysics-based+3
AF2BIND

AF2BIND

AF2BIND predicts ligand-binding residues from a protein structure using AlphaFold2 pair representations and a 20-residue bait sequence.

protein-analysisai-powered+5
Aggrescan3D

Aggrescan3D

Static-mode Aggrescan3D analysis for per-residue aggregation propensity from a single protein structure.

protein-analysisproperty-prediction+3
Aliphatic Index

Aliphatic Index

Calculate the aliphatic index of protein sequences. A measure of the relative volume occupied by aliphatic side chains, indicating thermostability.

protein-analysisphysicochemical-properties+1