GMX-POLYSTAT(1)

πŸ’– GMX-POLYSTAT(1) πŸ’–

okay bestie, welcome to gmx-polystat</c> β€” it's the GROMACS tool that does static polymer properties, and yes it's literally as iconic as it sounds. calculating the static properties of polymers?? we love to see it. 🧚✨


🌸 NAME 🌸

gmx-polystat β€” Calculate static properties of polymers πŸ’…

No wait, that's the whole point. Sit down, grab a boba, let's go. πŸ“


✨ SYNOPSIS ✨

gmx polystat [-s [<.tpr>]] [-f [<.xtc/.trr/...>]] [-n [<.ndx>]]
             [-o [<.xvg>]] [-v [<.xvg>]] [-p [<.xvg>]] [-i [<.xvg>]]
             [-b <time>] [-e <time>] [-dt <time>] [-tu <enum>]
             [-[no]w] [-xvg <enum>] [-[no]mw] [-[no]pc]

that's the whole vibe right there. every flag is a little lewk. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so gmx polystat plots static properties of polymers as a function of time, and then it prints the average. plotting AND averaging?? multitasking queen. πŸ’…

by default it figures out the average end-to-end distance and the radii of gyration of your polymers. it asks you for an index group and then splits that group into molecules. then, for each molecule, the end-to-end distance gets determined using the first and the last atom in the index group. no cap, that's just how it works. ✨

for the radius of gyration, it writes the total and the three principal components for the average gyration tensor. so you get the full set, not just a teaser.

  • with option -v the eigenvectors get written. icon behaviour. πŸŽ€
  • with option -pc the average eigenvalues of the individual gyration tensors get written too.
  • with option -i the mean square internal distances get written.

🌈 the persistence length arc 🌈

with option -p the persistence length gets determined. heads up bestie: the index group you pick should consist of atoms that are consecutively bonded in the polymer mainchains. like, that's non-negotiable, it's giving structural prerequisite. 🌸

the persistence length is then determined from the cosine of the angles between bonds with an index difference that is even. the odd pairs do not get used β€” and here's the why: straight polymer backbones are usually all trans, and therefore only every second bond aligns. so the odd ones are just out here not aligning. not their fault, but we skip them. πŸ’€

the persistence length is defined as the number of bonds where the average cos reaches a value of 1/e. that point is determined by a linear interpolation of log(<cos>). math ate, fr fr. πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

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

  • -s [<.tpr>] (topol.tpr) β€” Portable xdr run input file. the little blueprint of your sim, love that for us.
  • -f [<.xtc/.trr/...>] (traj.xtc) β€” Trajectory: xtc trr cpt gro g96 pdb tng h5md. so many formats, so little time, we literally accept all of them. πŸ¦‹
  • -n [<.ndx>] (index.ndx) (Optional) β€” Index file. optional but honestly the moment you need groups you'll want it. πŸ™ˆ

πŸ“ options to specify output files πŸ“

  • -o [<.xvg>] (polystat.xvg) β€” xvgr/xmgr file. the main character output. ✨
  • -v [<.xvg>] (polyvec.xvg) (Optional) β€” xvgr/xmgr file. the eigenvectors girlies.
  • -p [<.xvg>] (persist.xvg) (Optional) β€” xvgr/xmgr file. persistence length data, served fresh.
  • -i [<.xvg>] (intdist.xvg) (Optional) β€” xvgr/xmgr file. internal distances, so demure.

πŸ’… 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). yes the modular arithmetic is doing its thing, trust. 😭
  • -tu <enum> (ps) β€” Unit for time values: fs, ps, ns, us, ms, s. pick your time era bestie. ⭐
  • -[no]w (no) β€” View output .xvg, .xpm, .eps and .pdb files. turn it on and it literally opens them up for your viewing pleasure. πŸ‘€
  • -xvg <enum> (xmgrace) β€” xvg plot formatting: xmgrace, xmgr, none. choose your plot aesthetic. πŸŽ€
  • -[no]mw (yes) β€” Use the mass weighting for radii of gyration. it's on by default and lowkey that's the right call.
  • -[no]pc (no) β€” Plot average eigenvalues. off by default, flip it on and the eigenvalues get their moment. πŸ’œ

🌈 SEE ALSO 🌈

More information about GROMACS is available at <http://www.gromacs.org/>. go forth and read, it's giving lore. πŸ“šβœ¨


2026, GROMACS development team


and that's the whole page bestie!! 🫢 no cap, you're now fully qualified to police polymer statistics. this was GROMACS 2026.4, dated Oct 02, 2026, and honestly? iconic of them. slay, periodt. πŸ’…βœ¨πŸ˜­

πŸ“¦ where this page comes from