GMX-SAXS-LEGACY(1)

✨ gmx-saxs-legacy ✨

okay so bestie, we're in the GROMACS manual rn and the page we're looking at is gmx-saxs-legacy πŸ’– grab a snack, this one's cute

πŸ’… NAME πŸ’…

gmx-saxs-legacy β€” compute small angle X-ray scattering spectra πŸ¦‹βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

gmx saxs-legacy [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]]
             [-n [<.ndx>]] [-d [<.dat>]] [-sq [<.xvg>]] [-b <time>]
             [-e <time>] [-dt <time>] [-xvg <enum>] [-ng <int>]
             [-startq <real>] [-endq <real>] [-energy <real>]

🌸 DESCRIPTION 🌸

so gmx saxs-legacy calculates SAXS structure factors for whatever index groups you hand it, and it does this based on Cromer's method. 🧚

and listen β€” both a topology file and a trajectory file are required. not one or the other. both. she's demanding like that πŸ’€


πŸ‘‘ OPTIONS πŸ‘‘

πŸ“ Options to specify input files:

  • -f [<.xtc/.trr/...>] (traj.xtc) β€” bestie this is your trajectory. it can be: xtc trr cpt gro g96 pdb tng h5md πŸƒβ™€οΈ
  • -s [<.tpr/.gro/...>] (topol.tpr) β€” the structure + mass (db) file. formats: tpr gro g96 pdb brk ent πŸ’–
  • -n [<.ndx>] (index.ndx) β€” the index file. (Optional, so she's not gonna force your hand ✨)
  • -d [<.dat>] (sfactor.dat) β€” a generic data file. (Optional too πŸŽ€)

🌈 Options to specify output files:

  • -sq [<.xvg>] (sq.xvg) β€” an xvgr/xmgr file πŸ’…

⭐ Other options:

  • -b <time> (0) β€” time of the first frame to read from the trajectory (default unit is ps) ⏰
  • -e <time> (0) β€” time of the last frame to read from the trajectory (default unit is ps) ⏳
  • -dt <time> (0) β€” only use a frame when t MOD dt = first time (default unit is ps) πŸ™ˆ
  • -xvg <enum> (xmgrace) β€” xvg plot formatting, and your choices are literally: xmgrace, xmgr, none 🎨
  • -ng <int> (1) β€” number of groups to compute SAXS for πŸ‘―β™€οΈ
  • -startq <real> (0) β€” starting q, in 1/nm πŸ“
  • -endq <real> (60) β€” ending q, in 1/nm πŸ“
  • -energy <real> (12) β€” energy of the incoming X-ray, in keV ⚑

πŸ¦‹ SEE ALSO πŸ¦‹

more info about GROMACS lives at <http://www.gromacs.org/> πŸ‘‘


2026, GROMACS development team 🫢


no cap, that's the whole page. go compute some spectra, you main character πŸ”₯

and that's a wrap, babe β€” this was version 2026.4, dated Oct 02, 2026. slay, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from