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 π¦
gmx-gangle(1)β calculates anglesgmx-convert-trj(1)β converts between different trajectory typesgmx-distance(1)β calculates the distances between pairs of positionsgmx-dssp(1)β calculates protein secondary structure using the DSSP algorithmgmx-extract-cluster(1)β lets you pull out the frames that correspond to specific clusters from a trajectorygmx-freevolume(1)β calculates free volumegmx-hbond(1)β computes and analyzes hydrogen bondsgmx-msd(1)β computes mean squared displacementsgmx-pairdist(1)β calculates pairwise distances between groups of positionsgmx-rdf(1)β calculates radial distribution functionsgmx-sasa(1)β computes solvent accessible surface areagmx-scattering(1)β calculates small angle scattering profiles for SANS or SAXSgmx-select(1)β prints general info about selectionsgmx-trajectory(1)β prints coordinates, velocities, and/or forces for selectionsgmx-gyrate(1)β calculates the radius of gyration of a molecule
πΈ Generating topologies and coordinates πΈ
gmx-editconf(1)β edits the box and writes subgroupsgmx-x2top(1)β generates a primitive topology from coordinatesgmx-solvate(1)β solvates a systemgmx-insert-molecules(1)β inserts molecules into existing vacanciesgmx-genconf(1)β multiplies a conformation in 'random' orientationsgmx-genion(1)β generates monoatomic ions on energetically favorable positionsgmx-genrestr(1)β generates position restraints or distance restraints for index groupsgmx-pdb2gmx(1)β converts coordinate files into topology and FF-compliant coordinate files
π₯ Running a simulation π₯
gmx-grompp(1)β makes a run input filegmx-mdrun(1)β performs a simulation, does a normal mode analysis, or does an energy minimizationgmx-convert-tpr(1)β makes a modified run-input file
π 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 filegmx-energy(1)β writes energies to xvg files and displays averagesgmx-mdrun(1)β (re)calculates energies for trajectory frames with-rerun
β Converting files β
gmx-editconf(1)β converts and manipulates structure filesgmx-eneconv(1)β converts energy filesgmx-sigeps(1)β converts c6/12 or c6/cn combinations to and from sigma/epsilongmx-trjcat(1)β concatenates trajectory filesgmx-trjconv(1)β converts and manipulates trajectory filesgmx-xpm2ps(1)β converts XPM (XPixelMap) matrices to postscript or XPM
π§ Tools π§
gmx-analyze(1)β analyzes data setsgmx-awh(1)β extracts data from an accelerated weight histogram (AWH) rungmx-filter(1)β frequency filters trajectories, which is lowkey useful for making smooth moviesgmx-lie(1)β estimates free energy from linear combinationsgmx-pme_error(1)β estimates the error of using PME with a given input filegmx-sham(1)β computes free energies or other histograms from histogramsgmx-spatial(1)β calculates the spatial distribution functiongmx-traj(1)β plots x, v, f, box, temperature and rotational energy from trajectoriesgmx-tune_pme(1)β times mdrun as a function of PME ranks so you can optimize your settingsgmx-wham(1)β performs weighted histogram analysis after umbrella samplinggmx-check(1)β checks and compares filesgmx-dump(1)β makes binary files human readablegmx-make_ndx(1)β makes index filesgmx-mk_angndx(1)β generates index files for'gmx angle'gmx-trjorder(1)β orders molecules according to their distance to a groupgmx-xpm2ps(1)β converts XPM (XPixelMap) matrices to postscript or XPMgmx-report-methods(1)β writes a short summary about the simulation setup to a text file and/or to the standard output
π Distances between structures π
gmx-cluster(1)β clusters structuresgmx-confrms(1)β fits two structures and calculates the RMSDgmx-rms(1)β calculates RMSDs with a reference structure and RMSD matricesgmx-rmsf(1)β calculates atomic fluctuations
π Distances in structures over time π
gmx-mindist(1)β calculates the minimum distance between two groupsgmx-mdmat(1)β calculates residue contact mapsgmx-polystat(1)β calculates static properties of polymersgmx-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 gyrationgmx-polystat(1)β calculates static properties of polymersgmx-rdf(1)β calculates radial distribution functionsgmx-rotacf(1)β calculates the rotational correlation function for moleculesgmx-rotmat(1)β plots the rotation matrix for fitting to a reference structuregmx-sans-legacy(1)β computes small angle neutron scattering spectragmx-saxs-legacy(1)β computes small angle X-ray scattering spectragmx-traj(1)β plots x, v, f, box, temperature and rotational energy from trajectoriesgmx-vanhove(1)β computes Van Hove displacement and correlation functions
π Analyzing bonded interactions π
gmx-angle(1)β calculates distributions and correlations for angles and dihedralsgmx-mk_angndx(1)β generates index files for'gmx angle'
π Structural properties π
gmx-bundle(1)β analyzes bundles of axes, e.g., helicesgmx-clustsize(1)β calculates size distributions of atomic clustersgmx-disre(1)β analyzes distance restraintsgmx-hbond-legacy(1)β computes and analyzes hydrogen bondsgmx-order(1)β computes the order parameter per atom for carbon tailsgmx-principal(1)β calculates principal axes of inertia for a group of atomsgmx-rdf(1)β calculates radial distribution functionsgmx-saltbr(1)β computes salt bridgesgmx-sorient(1)β analyzes solvent orientation around solutesgmx-spol(1)β analyzes solvent dipole orientation and polarization around solutes
π₯ Kinetic properties π₯
gmx-bar(1)β calculates free energy difference estimates through Bennett's acceptance ratiogmx-current(1)β calculates dielectric constants and the current autocorrelation functiongmx-dos(1)β analyzes density of states and properties based on thatgmx-dyecoupl(1)β extracts dye dynamics from trajectoriesgmx-principal(1)β calculates principal axes of inertia for a group of atomsgmx-tcaf(1)β calculates viscosities of liquidsgmx-traj(1)β plots x, v, f, box, temperature and rotational energy from trajectoriesgmx-vanhove(1)β computes Van Hove displacement and correlation functionsgmx-velacc(1)β calculates velocity autocorrelation functions
β‘ Electrostatic properties β‘
gmx-current(1)β calculates dielectric constants and the current autocorrelation functiongmx-dielectric(1)β calculates frequency dependent dielectric constantsgmx-dipoles(1)β computes the total dipole plus fluctuationsgmx-potential(1)β calculates the electrostatic potential across the boxgmx-spol(1)β analyzes solvent dipole orientation and polarization around solutesgmx-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 dihedralsgmx-helix(1)β calculates basic properties of alpha helicesgmx-helixorient(1)β calculates local pitch/bending/rotation/orientation inside helicesgmx-rama(1)β computes Ramachandran plotsgmx-wheel(1)β plots helical wheels
π¦ Interfaces π¦
gmx-bundle(1)β analyzes bundles of axes, e.g., helicesgmx-density(1)β calculates the density of the systemgmx-densmap(1)β calculates 2D planar or axial-radial density mapsgmx-densorder(1)β calculates surface fluctuationsgmx-h2order(1)β computes the orientation of water moleculesgmx-hydorder(1)β computes tetrahedrality parameters around a given atomgmx-order(1)β computes the order parameter per atom for carbon tailsgmx-potential(1)β calculates the electrostatic potential across the box
β¨ Covariance analysis β¨
gmx-anaeig(1)β analyzes the eigenvectorsgmx-covar(1)β calculates and diagonalizes the covariance matrixgmx-make_edi(1)β generates input files for essential dynamics sampling
π Normal modes π
gmx-anaeig(1)β analyzes the normal modesgmx-nmeig(1)β diagonalizes the Hessian for normal mode analysisgmx-nmtraj(1)β generates a virtual oscillating trajectory from an eigenvectorgmx-nmens(1)β generates an ensemble of structures from the normal modesgmx-grompp(1)β makes a run input filegmx-mdrun(1)β finds a potential energy minimum and calculates the Hessian
π COPYRIGHT π
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
- ubuntu stonking: gromacs-data 2026.4-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms