1GMX-TRJORDER(1) GROMACS GMX-TRJORDER(1)
2
3
4
6 gmx-trjorder - Order molecules according to their distance to a group
7
9 gmx trjorder [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
10 [-o [<.xtc/.trr/...>]] [-nshell [<.xvg>]] [-b <time>]
11 [-e <time>] [-dt <time>] [-xvg <enum>] [-na <int>]
12 [-da <int>] [-[no]com] [-r <real>] [-[no]z]
13
15 gmx trjorder orders molecules according to the smallest distance to
16 atoms in a reference group or on z-coordinate (with option -z). With
17 distance ordering, it will ask for a group of reference atoms and a
18 group of molecules. For each frame of the trajectory the selected mole‐
19 cules will be reordered according to the shortest distance between atom
20 number -da in the molecule and all the atoms in the reference group.
21 The center of mass of the molecules can be used instead of a reference
22 atom by setting -da to 0. All atoms in the trajectory are written to
23 the output trajectory.
24
25 gmx trjorder can be useful for e.g. analyzing the n waters closest to a
26 protein. In that case the reference group would be the protein and the
27 group of molecules would consist of all the water atoms. When an index
28 group of the first n waters is made, the ordered trajectory can be used
29 with any GROMACS program to analyze the n closest waters.
30
31 If the output file is a .pdb file, the distance to the reference target
32 will be stored in the B-factor field in order to color with e.g. Ras‐
33 mol.
34
35 With option -nshell the number of molecules within a shell of radius -r
36 around the reference group are printed.
37
39 Options to specify input files:
40
41 -f [<.xtc/.trr/…>] (traj.xtc)
42 Trajectory: xtc trr cpt gro g96 pdb tng
43
44 -s [<.tpr/.gro/…>] (topol.tpr)
45 Structure+mass(db): tpr gro g96 pdb brk ent
46
47 -n [<.ndx>] (index.ndx) (Optional)
48 Index file
49
50 Options to specify output files:
51
52 -o [<.xtc/.trr/…>] (ordered.xtc) (Optional)
53 Trajectory: xtc trr gro g96 pdb tng
54
55 -nshell [<.xvg>] (nshell.xvg) (Optional)
56 xvgr/xmgr file
57
58 Other options:
59
60 -b <time> (0)
61 Time of first frame to read from trajectory (default unit ps)
62
63 -e <time> (0)
64 Time of last frame to read from trajectory (default unit ps)
65
66 -dt <time> (0)
67 Only use frame when t MOD dt = first time (default unit ps)
68
69 -xvg <enum> (xmgrace)
70 xvg plot formatting: xmgrace, xmgr, none
71
72 -na <int> (3)
73 Number of atoms in a molecule
74
75 -da <int> (1)
76 Atom used for the distance calculation, 0 is COM
77
78 -[no]com (no)
79 Use the distance to the center of mass of the reference group
80
81 -r <real> (0)
82 Cutoff used for the distance calculation when computing the num‐
83 ber of molecules in a shell around e.g. a protein
84
85 -[no]z (no)
86 Order molecules on z-coordinate
87
89 gmx(1)
90
91 More information about GROMACS is available at <‐
92 http://www.gromacs.org/>.
93
95 2019, GROMACS development team
96
97
98
99
1002019.2 Apr 16, 2019 GMX-TRJORDER(1)