GMX-BUNDLE(1)

πŸ’– GMX-BUNDLE πŸ’–

okay so bestie, you're looking at gmx-bundle β€” that's a GROMACS manual page, and I'm about to make it make sense. axes, helices, kinks, the whole vibe. let's go πŸ‘‘


✨ NAME ✨

gmx-bundle β€” analyze bundles of axes, e.g., helices

✨ SYNOPSIS ✨

gmx bundle [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
           [-ol [<.xvg>]] [-od [<.xvg>]] [-oz [<.xvg>]]
           [-ot [<.xvg>]] [-otr [<.xvg>]] [-otl [<.xvg>]]
           [-ok [<.xvg>]] [-okr [<.xvg>]] [-okl [<.xvg>]]
           [-oa [<.pdb>]] [-b <time>] [-e <time>] [-dt <time>]
           [-tu <enum>] [-xvg <enum>] [-na <int>] [-[no]z]

✨ DESCRIPTION ✨

okay so gmx bundle analyzes bundles of axes. and bestie, "axes" here can be literally whatever axes you want β€” helix axes are the classic example, but we're not gatekeeping πŸ”₯

here's the tea: the program reads two index groups and divides both of them into -na parts. the centers of mass of those parts are what define the tops and bottoms of the axes. like, that's the whole anatomy of an axis right there.

then several quantities get written to file β€” and here's the full list, no skips:

  • the axis length
  • the distance of the axis mid-points with respect to the average center of all axes
  • the z-shift of the axis mid-points with respect to the average center of all axes
  • the total tilt
  • the radial tilt
  • the lateral tilt

(the tilts are all measured with respect to the average axis, for the record πŸ’…)


with options -ok, -okr and -okl, you get the total, radial and lateral kinks of the axes plotted. iconic. but heads up bestie: this needs an extra index group of kink atoms, and that group also gets divided into -na parts. the kink angle is defined as the angle between the kink-top and the bottom-kink vectors. that's the definition, no notes.


and with option -oa? the top, mid (or kink when -ok is set 🌸) and bottom points of each axis get written to a .pdb file each frame. the residue numbers correspond to the axis numbers. cute, right?

πŸ’‘ pro tip from the manual, verbatim vibes: when viewing this file with Rasmol, use the command line option -nmrpdb, and type set axis true to display the reference axis. periodt.

✨ OPTIONS ✨

🌸 options to specify input files 🌸

  • -f [<.xtc/.trr/...>] (traj.xtc) β€” the trajectory: xtc trr cpt gro g96 pdb tng h5md
  • -s [<.tpr/.gro/...>] (topol.tpr) β€” structure+mass(db): tpr gro g96 pdb brk ent
  • -n [<.ndx>] (index.ndx) (Optional) β€” the index file

πŸŽ€ options to specify output files πŸŽ€

  • -ol [<.xvg>] (bun_len.xvg) β€” xvgr/xmgr file
  • -od [<.xvg>] (bun_dist.xvg) β€” xvgr/xmgr file
  • -oz [<.xvg>] (bun_z.xvg) β€” xvgr/xmgr file
  • -ot [<.xvg>] (bun_tilt.xvg) β€” xvgr/xmgr file
  • -otr [<.xvg>] (bun_tiltr.xvg) β€” xvgr/xmgr file
  • -otl [<.xvg>] (bun_tiltl.xvg) β€” xvgr/xmgr file
  • -ok [<.xvg>] (bun_kink.xvg) (Optional) β€” xvgr/xmgr file
  • -okr [<.xvg>] (bun_kinkr.xvg) (Optional) β€” xvgr/xmgr file
  • -okl [<.xvg>] (bun_kinkl.xvg) (Optional) β€” xvgr/xmgr file
  • -oa [<.pdb>] (axes.pdb) (Optional) β€” protein data bank file

πŸ‘‘ other options πŸ‘‘

  • -b <time> (0) β€” time of first frame to read from trajectory (default unit ps)
  • -e <time> (0) β€” time of last frame to read from trajectory (default unit ps)
  • -dt <time> (0) β€” only use frame when t MOD dt = first time (default unit ps)
  • -tu <enum> (ps) β€” unit for time values: fs, ps, ns, us, ms, s
  • -xvg <enum> (xmgrace) β€” xvg plot formatting: xmgrace, xmgr, none
  • -na <int> (0) β€” number of axes
  • -[no]z (no) β€” use the z-axis as reference instead of the average axis

✨ SEE ALSO ✨

gmx(1)

more info about GROMACS is available at http://www.gromacs.org/ πŸ¦‹

2026, GROMACS development team


and that's the whole page bestie, you ate it πŸ’…βœ¨ this was GROMACS 2026.4, dated Oct 02, 2026 β€” go forth and bundle those axes, ily πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from