GMX-GYRATE(1)
π¦ GMX-GYRATE β it's givin' radius of gyration π«
okay bestie, welcome to the GROMACS corner of the manual, page gmx-gyrate. Yes it's the new one. Yes it slays. Let's go π«Ά
β¨ NAME β¨
gmx-gyrate β Calculate radius of gyration of a molecule
π SYNOPSIS π
gmx gyrate [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
[-o [<.xvg>]] [-b <time>] [-e <time>] [-dt <time>]
[-tu <enum>] [-fgroup <selection>] [-xvg <enum>]
[-[no]rmpbc] [-sf <file>] [-selrpos <enum>]
[-seltype <enum>] [-sel <selection>] [-mode <enum>]
πΈ DESCRIPTION πΈ
So. gmx gyrate computes the radius of gyration of a molecule, plus the radii of gyration about the x-, y- and z-axes, as a function of time. And the atoms are explicitly mass weighted, no cap, that's just how it is π
The axis components correspond to the mass-weighted root-mean-square of the radii components orthogonal to each axis, for example:
Rg(x) = sqrt((sum_i w_i (R_i(y)^2 + R_i(z)^2))/(sum_i w_i)).
where w_i is the weight value in the given situation (mass, charge, unit)
π¨ okay important thing bestie: this is a new implementation of the gyrate utility added in GROMACS 2024. If you need the old one, use gmx gyrate-legacy. Don't come for me, come for legacy π
β¨ OPTIONS β¨
π₯ Options to specify input files:
-f [<.xtc/.trr/...>](traj.xtc) (Optional) β Input trajectory or single configuration:xtctrrcptgrog96pdbtngh5md-s [<.tpr/.gro/...>](topol.tpr) (Optional) β Input structure:tprgrog96pdbbrkent-n [<.ndx>](index.ndx) (Optional) β Extra index groups
π€ Options to specify output files:
-o [<.xvg>](gyrate-taf.xvg) β Filename for gyrate plot output
π Other options:
-b <time>(0) β First frame (ps) to read from trajectory-e <time>(0) β Last frame (ps) to read from trajectory-dt <time>(0) β Only use frame if t MOD dt == first time (ps)-tu <enum>(ps) β Unit for time values:fs,ps,ns,us,ms,s-fgroup <selection>β Atoms stored in the trajectory file (if not set, assume first N atoms)-xvg <enum>(xmgrace) β Plot formatting:xmgrace,xmgr,none-[no]rmpbc(yes) β Make molecules whole for each frame-sf <file>β Provide selections from files-selrpos <enum>(atom) β Selection reference positions:atom,res_com,res_cog,mol_com,mol_cog,whole_res_com,whole_res_cog,whole_mol_com,whole_mol_cog,part_res_com,part_res_cog,part_mol_com,part_mol_cog,dyn_res_com,dyn_res_cog,dyn_mol_com,dyn_mol_cog-seltype <enum>(atom) β Default selection output positions:atom,res_com,res_cog,mol_com,mol_cog,whole_res_com,whole_res_cog,whole_mol_com,whole_mol_cog,part_res_com,part_res_cog,part_mol_com,part_mol_cog,dyn_res_com,dyn_res_cog,dyn_mol_com,dyn_mol_cog-sel <selection>β Select group to compute gyrate radius-mode <enum>(mass) β Atom weighting mode:mass,charge,geometry
π SEE ALSO π
More information about GROMACS is available at <http://www.gromacs.org/>.
π COPYRIGHT π
2026, GROMACS development team
k that's the whole thing, you ate that fr fr π go compute some radii bestie, the vibes are immaculate. this was page gmx-gyrate from the GROMACS manual, version 2026.4, dated Oct 02, 2026 π iykyk π§
π¦ 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