GMX(1)

πŸ’– GMX(1) β€” the GROMACS girlie manual πŸ’–

okay so. hi bestie. this is gmx, the main character of the GROMACS molecular dynamics simulation suite. she's on the GROMACS man page, section 1, and she is that girl.


✨ NAME ✨

gmx β€” molecular dynamics simulation suite 🧚


🌈 SYNOPSIS 🌈

gmx [-[no]h] [-[no]quiet] [-[no]version] [-[no]copyright] [-nice <int>]
    [-[no]backup]

πŸ’… DESCRIPTION πŸ’…

GROMACS is a full-featured suite of programs for running molecular dynamics simulations, aka simulating how systems of hundreds to millions of particles behave using Newtonian equations of motion. no cap, that's literally the whole vibe.

it's mainly used for research on proteins, lipids, and polymers, but honestly it can be applied to a huge variety of chemical and biological research questions. versatile queen. πŸ‘‘


🌸 OPTIONS 🌸

Other options, bestie:

  • -[no]h (no) β€” prints help and then dips out immediately
  • -[no]quiet (no) β€” stops her from printing the usual startup info or quotes
  • -[no]version (no) β€” prints the extended version info and quits
  • -[no]copyright (no) β€” prints the copyright info on startup
  • -nice <int> (19) β€” sets the nicelevel (the default actually depends on the command, fyi)
  • -[no]backup (yes) β€” writes backups whenever output files already exist

πŸ‘‘ GMX COMMANDS πŸ‘‘

here's the whole lineup of commands you can run. for the deets on any one of them, go read their own man pages, or hit gmx help <command>. 🫢

πŸ¦‹ Trajectory analysis πŸ¦‹

🌸 Generating topologies and coordinates 🌸

πŸ”₯ Running a simulation πŸ”₯

πŸŽ€ Viewing trajectories πŸŽ€

  • gmx-nmtraj(1) β€” generates a virtual oscillating trajectory from an eigenvector

πŸ’œ Processing energies πŸ’œ

  • gmx-enemat(1) β€” extracts an energy matrix from an energy file
  • gmx-energy(1) β€” writes energies to xvg files and displays averages
  • gmx-mdrun(1) β€” (re)calculates energies for trajectory frames with -rerun

⭐ Converting files ⭐

🧚 Tools 🧚

  • gmx-analyze(1) β€” analyzes data sets
  • gmx-awh(1) β€” extracts data from an accelerated weight histogram (AWH) run
  • gmx-filter(1) β€” frequency filters trajectories, which is lowkey useful for making smooth movies
  • gmx-lie(1) β€” estimates free energy from linear combinations
  • gmx-pme_error(1) β€” estimates the error of using PME with a given input file
  • gmx-sham(1) β€” computes free energies or other histograms from histograms
  • gmx-spatial(1) β€” calculates the spatial distribution function
  • gmx-traj(1) β€” plots x, v, f, box, temperature and rotational energy from trajectories
  • gmx-tune_pme(1) β€” times mdrun as a function of PME ranks so you can optimize your settings
  • gmx-wham(1) β€” performs weighted histogram analysis after umbrella sampling
  • gmx-check(1) β€” checks and compares files
  • gmx-dump(1) β€” makes binary files human readable
  • gmx-make_ndx(1) β€” makes index files
  • gmx-mk_angndx(1) β€” generates index files for 'gmx angle'
  • gmx-trjorder(1) β€” orders molecules according to their distance to a group
  • gmx-xpm2ps(1) β€” converts XPM (XPixelMap) matrices to postscript or XPM
  • gmx-report-methods(1) β€” writes a short summary about the simulation setup to a text file and/or to the standard output

πŸ“ Distances between structures πŸ“

🌈 Distances in structures over time 🌈

  • gmx-mindist(1) β€” calculates the minimum distance between two groups
  • gmx-mdmat(1) β€” calculates residue contact maps
  • gmx-polystat(1) β€” calculates static properties of polymers
  • gmx-rmsdist(1) β€” calculates atom pair distances averaged with power -2, -3 or -6

πŸŽ€ Mass distribution properties over time πŸŽ€

  • gmx-gyrate-legacy(1) β€” calculates the radius of gyration
  • gmx-polystat(1) β€” calculates static properties of polymers
  • gmx-rdf(1) β€” calculates radial distribution functions
  • gmx-rotacf(1) β€” calculates the rotational correlation function for molecules
  • gmx-rotmat(1) β€” plots the rotation matrix for fitting to a reference structure
  • gmx-sans-legacy(1) β€” computes small angle neutron scattering spectra
  • gmx-saxs-legacy(1) β€” computes small angle X-ray scattering spectra
  • gmx-traj(1) β€” plots x, v, f, box, temperature and rotational energy from trajectories
  • gmx-vanhove(1) β€” computes Van Hove displacement and correlation functions

πŸ’– Analyzing bonded interactions πŸ’–

  • gmx-angle(1) β€” calculates distributions and correlations for angles and dihedrals
  • gmx-mk_angndx(1) β€” generates index files for 'gmx angle'

πŸ’œ Structural properties πŸ’œ

πŸ”₯ Kinetic properties πŸ”₯

  • gmx-bar(1) β€” calculates free energy difference estimates through Bennett's acceptance ratio
  • gmx-current(1) β€” calculates dielectric constants and the current autocorrelation function
  • gmx-dos(1) β€” analyzes density of states and properties based on that
  • gmx-dyecoupl(1) β€” extracts dye dynamics from trajectories
  • gmx-principal(1) β€” calculates principal axes of inertia for a group of atoms
  • gmx-tcaf(1) β€” calculates viscosities of liquids
  • gmx-traj(1) β€” plots x, v, f, box, temperature and rotational energy from trajectories
  • gmx-vanhove(1) β€” computes Van Hove displacement and correlation functions
  • gmx-velacc(1) β€” calculates velocity autocorrelation functions

⚑ Electrostatic properties ⚑

  • gmx-current(1) β€” calculates dielectric constants and the current autocorrelation function
  • gmx-dielectric(1) β€” calculates frequency dependent dielectric constants
  • gmx-dipoles(1) β€” computes the total dipole plus fluctuations
  • gmx-potential(1) β€” calculates the electrostatic potential across the box
  • gmx-spol(1) β€” analyzes solvent dipole orientation and polarization around solutes
  • gmx-genion(1) β€” generates monoatomic ions on energetically favorable positions

🧬 Protein-specific analysis 🧬

  • gmx-chi(1) β€” calculates everything you want to know about chi and other dihedrals
  • gmx-helix(1) β€” calculates basic properties of alpha helices
  • gmx-helixorient(1) β€” calculates local pitch/bending/rotation/orientation inside helices
  • gmx-rama(1) β€” computes Ramachandran plots
  • gmx-wheel(1) β€” plots helical wheels

πŸ¦‹ Interfaces πŸ¦‹

✨ Covariance analysis ✨

🌟 Normal modes 🌟

  • gmx-anaeig(1) β€” analyzes the normal modes
  • gmx-nmeig(1) β€” diagonalizes the Hessian for normal mode analysis
  • gmx-nmtraj(1) β€” generates a virtual oscillating trajectory from an eigenvector
  • gmx-nmens(1) β€” generates an ensemble of structures from the normal modes
  • gmx-grompp(1) β€” makes a run input file
  • gmx-mdrun(1) β€” finds a potential energy minimum and calculates the Hessian

okay so the legal bit, and it's short and sweet bestie, don't stress 🫢

This whole page β€” every flag, every command, every little ✨ vibe ✨ β€” belongs to the GROMACS development team, copyright 2026. That's it. That's the whole copyright notice. They made it, they own it, we just read the manual and say thank you πŸ’…πŸ‘‘


and that's a wrap on GMX(1), bestie!! πŸŽ€ you made it all the way to the end, which is honestly iconic behaviour, lowkey main character energy fr fr πŸ’œπŸ¦‹

this page is from GROMACS 2026.4, dated Oct 02, 2026 ⭐

go run some simulations, hydrate, and remember: read the error message before you panic 😭🌸 bye pookie!! βœ¨πŸ‘‘

πŸ“¦ where this page comes from