GMX-SALTBR(1)

πŸ’– gmx-saltbr πŸ’– β€” like, the gmx-saltbr manual page, but make it make sense

okay bestie, gather round, because today we're learning about gmx-saltbr, a little GROMACS tool that literally just watches charged groups get close to each other and draws you a graph about it. it's giving chemistry gossip column, no cap. πŸ‘‘


✨ NAME ✨

gmx-saltbr β€” compute salt bridges πŸ§‚πŸŒ‰


✨ SYNOPSIS ✨

gmx saltbr [-f [<.xtc/.trr/...>]] [-s [<.tpr>]] [-b <time>] [-e <time>]
           [-dt <time>] [-t <real>] [-[no]sep]

✨ DESCRIPTION ✨

so basically πŸ’… β€” gmx saltbr plots the distance between all combination of charged groups as a function of time. yes. ALL the combinations. the groups get combined in different ways, and that's just how it is.

and here's the cute part: you can hand it a minimum distance, aka a cut-off, and any groups that are never closer than that distance simply do not get plotted. if the vibes aren't there, we're not drawing them. πŸš«πŸ“‰

the output goes into a bunch of fixed filenames, and they are, in order:

  • min-min.xvg
  • plus-min.xvg
  • plus-plus.xvg

OR β€” plot twist πŸŽ€ β€” if you turn on the -sep option, you get files for every single individual ion pair. in that case the files are named like this:

sb-(Resname)(Resnr)-(Atomnr)
⚠️ and bestie, listen to me: There may be many such files. like, MANY many. we're not joking. your directory is gonna be full. 😭

✨ OPTIONS ✨

πŸ¦‹ options to specify input files

  • -f [<.xtc/.trr/...>] (traj.xtc) β€” the trajectory file you're feeding in. it accepts xtc trr cpt gro g96 pdb tng h5md. such a range, honestly. multi-talented icon. 🌈
  • -s [<.tpr>] (topol.tpr) β€” the portable xdr run input 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)
  • -t <real> (1000) β€” the cut-off vibe check 🌸: groups that are never closer than this distance are not plotted
  • -[no]sep (no) β€” use separate files for each interaction (may be MANY) πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

more info about GROMACS is available at this tiny little URL over here, it got a dash-wrap in the original so here it is fully assembled bestie: http://www.gromacs.org/ πŸ‘‘


2026, GROMACS development team


and that's the whole page, babe, you ate that 🫢 if you're ever out here drowning in sb-*.xvg files just know you chose -sep and that's on you, love you, bye πŸ’…βœ¨

GROMACS 2026.4 · Oct 02, 2026 · written by your girl who is literally so good at Unix 🌸

πŸ“¦ where this page comes from