GMX-HELIXORIENT(1)

โœจ GMX-HELIXORIENT(1) โœจ โ€” the GROMACS one ๐ŸŒ€๐Ÿ’–

okay bestie, welcome to gmx-helixorient, a lil tool from the GROMACS fam that literally reads the vibes of your alpha helices ๐Ÿ’…

๐ŸŽ€ NAME ๐ŸŽ€

gmx-helixorient โ€” calculate local pitch/bending/rotation/orientation inside helices ๐ŸŒ€โœจ

๐Ÿ“œ SYNOPSIS ๐Ÿ“œ

gmx helixorient [-s [<.tpr>]] [-f [<.xtc/.trr/...>]] [-n [<.ndx>]]
             [-oaxis [<.dat>]] [-ocenter [<.dat>]] [-orise [<.xvg>]]
             [-oradius [<.xvg>]] [-otwist [<.xvg>]]
             [-obending [<.xvg>]] [-otilt [<.xvg>]] [-orot [<.xvg>]]
             [-b <time>] [-e <time>] [-dt <time>] [-xvg <enum>]
             [-[no]sidechain] [-[no]incremental]

๐Ÿ’ซ DESCRIPTION ๐Ÿ’ซ

so gmx helixorient goes in and calculates the coordinates and direction of the average axis inside an alpha helix, plus the direction/vectors of BOTH the Calpha and (if you want, queen) a sidechain atom relative to that axis. it's giving geometry, it's giving structure analysis, it's giving main character energy ๐Ÿซถ

for input, you gotta hand it an index group with Calpha atoms that correspond to an alpha-helix of continuous residues. no random gaps bestie, we said continuous. ๐ŸŒธ

and for the sidechain directions? you need a second index group โ€” same size as the first โ€” containing the heavy atom in each residue that should represent the sidechain. same size. SAME SIZE. โœจ

โš ๏ธ heads up: this program does not do any fitting of structures. no fitting. none. zero. not a thing it does. ๐Ÿ’€

also we need four Calpha coordinates to define the local direction of the helix axis. four. that's the whole requirement. iconic. ๐Ÿ“

okay now the cute part, the math โœจ the tilt/rotation is calculated from Euler rotations, where we define:

  • the helix axis as the local x-axis
  • the residues/Calpha vector as y
  • and the z-axis from their cross product ๐Ÿงš

we use the Euler Y-Z-X rotation, which means we first tilt the helix axis:

  1. around the residues vector, and
  2. orthogonal to the residues vector,

...and finally apply the (3) rotation around it. and because we're thorough like that, for debugging or other purposes we ALSO write out the actual Euler rotation angles as theta[1-3].xvg ๐Ÿ’… slay.


๐ŸŒˆ OPTIONS ๐ŸŒˆ

๐Ÿ“ฅ Options to specify input files

  • -s [<.tpr>] (topol.tpr) โ€” portable xdr run input file ๐Ÿงฌ
  • -f [<.xtc/.trr/...>] (traj.xtc) โ€” the trajectory, bestie: xtc trr cpt gro g96 pdb tng h5md ๐ŸŽž๏ธ
  • -n [<.ndx>] (index.ndx) โ€” index file โœจ (optional, no pressure)

๐Ÿ“ค Options to specify output files

  • -oaxis [<.dat>] (helixaxis.dat) โ€” generic data file ๐ŸŒ€
  • -ocenter [<.dat>] (center.dat) โ€” generic data file ๐Ÿ“
  • -orise [<.xvg>] (rise.xvg) โ€” xvgr/xmgr file ๐Ÿ“ˆ
  • -oradius [<.xvg>] (radius.xvg) โ€” xvgr/xmgr file โญ•
  • -otwist [<.xvg>] (twist.xvg) โ€” xvgr/xmgr file ๐Ÿฅ
  • -obending [<.xvg>] (bending.xvg) โ€” xvgr/xmgr file ใ€ฐ๏ธ
  • -otilt [<.xvg>] (tilt.xvg) โ€” xvgr/xmgr file ๐Ÿ“
  • -orot [<.xvg>] (rotation.xvg) โ€” xvgr/xmgr 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) โฑ๏ธ
  • -xvg <enum> (xmgrace) โ€” xvg plot formatting: xmgrace, xmgr, none ๐ŸŽจ
  • -[no]sidechain (no) โ€” calculate sidechain directions relative to helix axis too ๐ŸŒฟ
  • -[no]incremental (no) โ€” calculate incremental rather than total rotation/tilt ๐Ÿ“Š

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

more info about GROMACS is available at <http://www.gromacs.org/> โ€” go look, bestie, it's right there ๐ŸŒ

2026, GROMACS development team ๐Ÿ’œ


and that's the whole page, angel ๐ŸŽ€ version 2026.4, dated Oct 02, 2026 โ€” go analyze those helices, they're gonna eat ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from