GMX-CONFRMS(1)

πŸ‘‘ gmx-confrms β€” the GROMACS bestie that squishes two structures together

okay so, first things first: this is page GMX-CONFRMS(1) from the GROMACS manual, and it's literally all about fitting two structures onto each other and then being like "so how different are you actually?" β€” it computes the RMSD. adorable. let's get into it πŸ’…


✨ NAME ✨

gmx-confrms β€” Fit two structures and calculates the RMSD


πŸ¦‹ SYNOPSIS πŸ¦‹

gmx confrms [-f1 [<.tpr/.gro/...>]] [-f2 [<.gro/.g96/...>]]
            [-n1 [<.ndx>]] [-n2 [<.ndx>]] [-o [<.gro/.g96/...>]]
            [-no [<.ndx>]] [-[no]w] [-[no]one] [-[no]mw] [-[no]pbc]
            [-[no]fit] [-[no]name] [-[no]label] [-[no]bfac]

πŸ’– DESCRIPTION πŸ’–

so gmx confrms computes the root mean square deviation (RMSD) of two structures β€” and it does it after least-squares fitting the second structure onto the first one. like, we align them first, then we judge. fair.

here's the tea though: the two structures do NOT need to have the same number of atoms. the only thing that has to match is the two index groups you pick for the fit. that's it. that's the requirement.

with -name, only matching atom names from the selected groups get used for the fit and the RMSD calculation. super handy when you're comparing mutants of a protein and you don't want the mismatched bits throwing off your whole vibe.

the superimposed structures get written out to a file, obviously. and if you're writing a .pdb file, the two structures land in there as separate models β€” so you'd run rasmol -nmrpdb to look at them. also, if it's a .pdb, you can get B-factors computed from the atomic MSD values written out with -bfac. cute, right? πŸ’–


🌸 OPTIONS 🌸

🌈 Options to specify input files:

  • -f1 [<.tpr/.gro/...>] (conf1.gro) β€” Structure+mass(db): tpr gro g96 pdb brk ent
  • -f2 [<.gro/.g96/...>] (conf2.gro) β€” Structure file: gro g96 pdb brk ent esp tpr
  • -n1 [<.ndx>] (fit1.ndx) (Optional) β€” Index file
  • -n2 [<.ndx>] (fit2.ndx) (Optional) β€” Index file

πŸŽ€ Options to specify output files:

  • -o [<.gro/.g96/...>] (fit.pdb) β€” Structure file: gro g96 pdb brk ent esp
  • -no [<.ndx>] (match.ndx) (Optional) β€” Index file

⭐ Other options:

  • -[no]w (no) β€” View output .xvg, .xpm, .eps and .pdb files
  • -[no]one (no) β€” Only write the fitted structure to file
  • -[no]mw (yes) β€” Mass-weighted fitting and RMSD
  • -[no]pbc (no) β€” Try to make molecules whole again
  • -[no]fit (yes) β€” Do least squares superposition of the target structure to the reference
  • -[no]name (no) β€” Only compare matching atom names
  • -[no]label (no) β€” Added chain labels A for first and B for second structure
  • -[no]bfac (no) β€” Output B-factors from atomic MSD values

πŸ”₯ SEE ALSO πŸ”₯

more info about GROMACS lives at <http://www.gromacs.org/>. go click around, bestie 🫢


2026, GROMACS development team


okay and that's the whole page. GROMACS 2026.4, dated Oct 02, 2026 β€” thanks for reading, love u, bye πŸ’…βœ¨

πŸ“¦ where this page comes from