Man page - gmx-trjorder(1)
Packages contas this manual
- gmx-wham(1)
- gmx-trjcat(1)
- gmx-confrms(1)
- gmx_d(1)
- gmx-xpm2ps(1)
- gmx-make_edi(1)
- gmx-solvate(1)
- gmx-awh(1)
- gmx-help(1)
- gmx-hydorder(1)
- gmx-velacc(1)
- gmx-order(1)
- gmx-clustsize(1)
- gmx-densorder(1)
- gmx-msd(1)
- gmx-saxs-legacy(1)
- gmx-covar(1)
- gmx-tcaf(1)
- gmx-filter(1)
- gmx-rms(1)
- gmx-bundle(1)
- gmx-vanhove(1)
- gmx-enemat(1)
- gmx-rama(1)
- gmx-spatial(1)
- gmx-nmens(1)
- gmx-mdmat(1)
- gmx-rotmat(1)
- gmx(1)
- gmx-eneconv(1)
- gmx-h2order(1)
- gmx-current(1)
- gmx-genion(1)
- gmx-rmsdist(1)
- gmx-report-methods(1)
- gmx-distance(1)
- gmx-insert-molecules(1)
- demux(1)
- gmx-dielectric(1)
- gmx-sans-legacy(1)
- gmx-sigeps(1)
- gmx-genrestr(1)
- gmx-analyze(1)
- gmx-convert-tpr(1)
- gmx-potential(1)
- gmx-wheel(1)
- gmx-mk_angndx(1)
- gmx-x2top(1)
- gmx-genconf(1)
- gmx-mindist(1)
- gmx-dipoles(1)
- gmx-polystat(1)
- gmx-hbond-legacy(1)
- gmx-gyrate-legacy(1)
- gmx-make_ndx(1)
- gmx-nonbonded-benchmark(1)
- gmx-sham(1)
- gmx-nmr(1)
- xplor2gmx(1)
- gmx-densmap(1)
- gmx-bar(1)
- gmx-trajectory(1)
- gmx-sasa(1)
- gmx-dos(1)
- gmx-principal(1)
- gmx-pme_error(1)
- gmx-hbond(1)
- gmx-dump(1)
- gmx-traj(1)
- gmx-freevolume(1)
- gmx-trjconv(1)
- gmx_mpi(1)
- gmx-density(1)
- gmx-pdb2gmx(1)
- gmx-spol(1)
- gmx-cluster(1)
- gmx-select(1)
- gmx-rmsf(1)
- gmx-angle(1)
- gmx-saltbr(1)
- gmx-scattering(1)
- gmx-energy(1)
- gmx-dyecoupl(1)
- gmx-disre(1)
- gmx-pairdist(1)
- gmx-extract-cluster(1)
- gmx-tune_pme(1)
- gmx-check(1)
- gmx-nmtraj(1)
- gmx-helix(1)
- gmx-trjorder(1)
- gmx-grompp(1)
- gmx-gangle(1)
- gmx-dssp(1)
- gmx-convert-trj(1)
- gmx-sorient(1)
- gmx-chi(1)
- gmx-anaeig(1)
- gmx-lie(1)
- gmx-helixorient(1)
- gmx-mdrun(1)
- gmx-editconf(1)
- gmx-rdf(1)
- gmx_mpi_d(1)
- gmx-rotacf(1)
- gmx-nmeig(1)
- gmx-gyrate(1)
apt-get install gromacs-data
Manual
| GMX-TRJORDER(1) | GROMACS | GMX-TRJORDER(1) |
NAME
gmx-trjorder - Order molecules according to their distance to a group
SYNOPSIS
gmx trjorder [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
[-o [<.xtc/.trr/...>]] [-nshell [<.xvg>]] [-b <time>]
[-e <time>] [-dt <time>] [-xvg <enum>] [-na <int>]
[-da <int>] [-[no]com] [-r <real>] [-[no]z]
DESCRIPTION
gmx trjorder orders molecules according to the smallest distance to atoms in a reference group or on z-coordinate (with option -z). With distance ordering, it will ask for a group of reference atoms and a group of molecules. For each frame of the trajectory the selected molecules will be reordered according to the shortest distance between atom number -da in the molecule and all the atoms in the reference group. The center of mass of the molecules can be used instead of a reference atom by setting -da to 0. All atoms in the trajectory are written to the output trajectory.
gmx trjorder can be useful for e.g. analyzing the n waters closest to a protein. In that case the reference group would be the protein and the group of molecules would consist of all the water atoms. When an index group of the first n waters is made, the ordered trajectory can be used with any GROMACS program to analyze the n closest waters.
If the output file is a .pdb file, the distance to the reference target will be stored in the B-factor field in order to color with e.g. Rasmol.
With option -nshell the number of molecules within a shell of radius -r around the reference group are printed.
OPTIONS
Options to specify input files:
- -f [<.xtc/.trr/...>] (traj.xtc)
- Trajectory: xtc trr cpt gro g96 pdb tng
- -s [<.tpr/.gro/...>] (topol.tpr)
- Structure+mass(db): tpr gro g96 pdb brk ent
- -n [<.ndx>] (index.ndx) (Optional)
- Index file
Options to specify output files:
- -o [<.xtc/.trr/...>] (ordered.xtc) (Optional)
- Trajectory: xtc trr gro g96 pdb tng
- -nshell [<.xvg>] (nshell.xvg) (Optional)
- xvgr/xmgr 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 when t MOD dt = first time (default unit ps)
- -xvg <enum> (xmgrace)
- xvg plot formatting: xmgrace, xmgr, none
- -na <int> (3)
- Number of atoms in a molecule
- -da <int> (1)
- Atom used for the distance calculation, 0 is COM
- -[no]com (no)
- Use the distance to the center of mass of the reference group
- -r <real> (0)
- Cutoff used for the distance calculation when computing the number of molecules in a shell around e.g. a protein
- -[no]z (no)
- Order molecules on z-coordinate
SEE ALSO
gmx(1)
More information about GROMACS is available at <http://www.gromacs.org/>.
COPYRIGHT
2025, GROMACS development team
| May 12, 2025 | 2025.2 |