GMX-PRINCIPAL(1)
β¨ GMX-PRINCIPAL(1) β the GROMACS girlies' guide β¨
okay so bestie, welcome to gmx-principal from the GROMACS manual π buckle up, this one's short and sweet and honestly? lowkey iconic.
πΈ NAME πΈ
gmx-principal β calculates the principal axes of inertia for a group of atoms. that's it, that's the whole job π
π¦ SYNOPSIS π¦
gmx principal [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]]
[-n [<.ndx>]] [-a1 [<.xvg>]] [-a2 [<.xvg>]]
[-a3 [<.xvg>]] [-om [<.xvg>]] [-b <time>] [-e <time>]
[-dt <time>] [-tu <enum>] [-[no]w] [-xvg <enum>]
[-[no]foo]
π DESCRIPTION π
so gmx principal does one thing and does it gorgeously: it calculates the three principal axes of inertia for a group of atoms. main character energy fr fr π«Ά
NOTE β οΈ and this part matters, bestie: old versions of GROMACS wrote the output data in a strange transposed way. as of GROMACS 5.0, the output filepaxis1.datcontains the x/y/z components of the first (major) principal axis for each frame, and similarly for the middle and minor axes inpaxis2.datandpaxis3.dat. so if you're out here reading ancient output files and nothing makes sense... that's why. not you, it's the transposed data π
π OPTIONS π
β¨ Options to specify input files β¨
-f [<.xtc/.trr/...>](defaulttraj.xtc) β the trajectory, bestie. acceptsxtc trr cpt gro g96 pdb tng h5mdπ-s [<.tpr/.gro/...>](defaulttopol.tpr) β structure + mass(db). acceptstpr gro g96 pdb brk entπ§-n [<.ndx>](defaultindex.ndx) β index file. Optional, so no pressure π
β¨ Options to specify output files β¨
-a1 [<.xvg>](defaultpaxis1.xvg) β xvgr/xmgr file πΈ-a2 [<.xvg>](defaultpaxis2.xvg) β xvgr/xmgr file πΈ-a3 [<.xvg>](defaultpaxis3.xvg) β xvgr/xmgr file πΈ-om [<.xvg>](defaultmoi.xvg) β xvgr/xmgr file πΈ
β¨ Other options β¨
-b <time>(default0) β time of the first frame to read from the trajectory (default unit isps) β°-e <time>(default0) β time of the last frame to read from the trajectory (default unit isps) β°-dt <time>(default0) β only use a frame whent MOD dt = first time(default unit isps) β°-tu <enum>(defaultps) β unit for time values:fs,ps,ns,us,ms,sπ°οΈ-[no]w(defaultno) β view output.xvg,.xpm,.epsand.pdbfiles π-xvg <enum>(defaultxmgrace) β xvg plot formatting:xmgrace,xmgr,noneπ-[no]foo(defaultno) β dummy option to avoid an empty array π yeah. it's literally just there so the array isn't empty. no notes. slay, i guess π
π SEE ALSO π
more info about GROMACS lives at <http://www.gromacs.org/> β go peek, iykyk π¦
π COPYRIGHT π
2026, GROMACS development team π
and that's the whole page, bestie!! π this was GROMACS 2026.4, dated Oct 02, 2026, and remember: same manual, same facts, just with way more sparkle β¨ mwah π π«Ά
π¦ where this page comes from
- nixpkgs unstable: gromacs 2026.4
- 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