GMX-CLUSTSIZE(1)
π GMX-CLUSTSIZE(1) π
okay bestie, welcome to the GROMACS manual page for gmx-clustsize β literally the girl who counts your atoms' little friendship circles π
β¨ NAME β¨
gmx-clustsize β Calculate size distributions of atomic clusters π«Ά
β¨ SYNOPSIS β¨
gmx clustsize [-f [<.xtc/.trr/...>]] [-s [<.tpr>]] [-n [<.ndx>]]
[-o [<.xpm>]] [-ow [<.xpm>]] [-nc [<.xvg>]]
[-mc [<.xvg>]] [-ac [<.xvg>]] [-hc [<.xvg>]]
[-temp [<.xvg>]] [-mcn [<.ndx>]] [-b <time>] [-e <time>]
[-dt <time>] [-tu <enum>] [-[no]w] [-xvg <enum>]
[-cut <real>] [-[no]mol] [-[no]pbc] [-nskip <int>]
[-nlevels <int>] [-ndf <int>] [-rgblo <vector>]
[-rgbhi <vector>]
πΈ DESCRIPTION πΈ
so gmx clustsize computes the size distributions of molecular/atomic clusters in the gas phase. it's giving who's clumped with who energy. the output comes at you as an .xpm file, and the total number of clusters gets written into an .xvg file. two files, one iconic task β¨
when you pass the -mol option, clusters get made out of molecules instead of atoms, which is what lets you cluster big molecules (glow-up fr). but heads up bestie β in that case an index file would still contain atom numbers, or your calculation will die with a SEGV ππ no cap, it will just perish.
when velocities are present in your trajectory, the temperature of the largest cluster gets printed in a separate .xvg file, assuming the particles are free to move π¦ if you're using constraints, please correct the temperature yourself. for instance, water simulated with SHAKE or SETTLE will yield a temperature that is 1.5 times too low π³ you can compensate for this with the -ndf option. and remember to take the removal of center of mass motion into account, okay? don't forget, that's the whole vibe check π
the -mc option will produce an index file containing the atom numbers of the largest cluster π
π OPTIONS π
π Options to specify input files:
-f [<.xtc/.trr/...>](traj.xtc) β Trajectory:xtctrrcptgrog96pdbtngh5md-s [<.tpr>](topol.tpr) (Optional) β Portable xdr run input file-n [<.ndx>](index.ndx) (Optional) β Index file
π Options to specify output files:
-o [<.xpm>](csize.xpm) β X PixMap compatible matrix file-ow [<.xpm>](csizew.xpm) β X PixMap compatible matrix file-nc [<.xvg>](nclust.xvg) β xvgr/xmgr file-mc [<.xvg>](maxclust.xvg) β xvgr/xmgr file-ac [<.xvg>](avclust.xvg) β xvgr/xmgr file-hc [<.xvg>](histo-clust.xvg) β xvgr/xmgr file-temp [<.xvg>](temp.xvg) (Optional) β xvgr/xmgr file-mcn [<.ndx>](maxclust.ndx) (Optional) β Index file
π 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 whent MOD dt = first time(default unit ps)-tu <enum>(ps) β Unit for time values:fs,ps,ns,us,ms,s-[no]w(no) β View output.xvg,.xpm,.epsand.pdbfiles-xvg <enum>(xmgrace) β xvg plot formatting:xmgrace,xmgr,none-cut <real>(0.35) β Largest distance (nm) to be considered in a cluster-[no]mol(no) β Cluster molecules rather than atoms (needs.tprfile)-[no]pbc(yes) β Use periodic boundary conditions-nskip <int>(0) β Number of frames to skip between writing-nlevels <int>(20) β Number of levels of grey in.xpmoutput-ndf <int>(-1) β Number of degrees of freedom of the entire system for temperature calculation. If not set, the number of atoms times three is used.-rgblo <vector>(1 1 0) β RGB values for the color of the lowest occupied cluster size-rgbhi <vector>(0 0 1) β RGB values for the color of the highest occupied cluster size
π¦ SEE ALSO π¦
More information about GROMACS is available at http://www.gromacs.org/.
π COPYRIGHT π
2026, GROMACS development team
and that's the whole page bestie, you ate π β¨ this queen lives in the GROMACS 2026.4 manual, dated Oct 02, 2026 β go forth and cluster, you've got this π«ΆππΈ
π¦ 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