1GMX-ROTMAT(1) GROMACS GMX-ROTMAT(1)
2
3
4
6 gmx-rotmat - Plot the rotation matrix for fitting to a reference struc‐
7 ture
8
10 gmx rotmat [-f [<.xtc/.trr/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
11 [-o [<.xvg>]] [-b <time>] [-e <time>] [-dt <time>]
12 [-[no]w] [-xvg <enum>] [-ref <enum>] [-skip <int>]
13 [-[no]fitxy] [-[no]mw]
14
16 gmx rotmat plots the rotation matrix required for least squares fitting
17 a conformation onto the reference conformation provided with -s. Trans‐
18 lation is removed before fitting. The output are the three vectors
19 that give the new directions of the x, y and z directions of the refer‐
20 ence conformation, for example: (zx,zy,zz) is the orientation of the
21 reference z-axis in the trajectory frame.
22
23 This tool is useful for, for instance, determining the orientation of a
24 molecule at an interface, possibly on a trajectory produced with gmx
25 trjconv -fit rotxy+transxy to remove the rotation in the x-y plane.
26
27 Option -ref determines a reference structure for fitting, instead of
28 using the structure from -s. The structure with the lowest sum of
29 RMSD's to all other structures is used. Since the computational cost
30 of this procedure grows with the square of the number of frames, the
31 -skip option can be useful. A full fit or only a fit in the x-y plane
32 can be performed.
33
34 Option -fitxy fits in the x-y plane before determining the rotation ma‐
35 trix.
36
38 Options to specify input files:
39
40 -f [<.xtc/.trr/...>] (traj.xtc)
41 Trajectory: xtc trr cpt gro g96 pdb tng
42
43 -s [<.tpr/.gro/...>] (topol.tpr)
44 Structure+mass(db): tpr gro g96 pdb brk ent
45
46 -n [<.ndx>] (index.ndx) (Optional)
47 Index file
48
49 Options to specify output files:
50
51 -o [<.xvg>] (rotmat.xvg)
52 xvgr/xmgr file
53
54 Other options:
55
56 -b <time> (0)
57 Time of first frame to read from trajectory (default unit ps)
58
59 -e <time> (0)
60 Time of last frame to read from trajectory (default unit ps)
61
62 -dt <time> (0)
63 Only use frame when t MOD dt = first time (default unit ps)
64
65 -[no]w (no)
66 View output .xvg, .xpm, .eps and .pdb files
67
68 -xvg <enum> (xmgrace)
69 xvg plot formatting: xmgrace, xmgr, none
70
71 -ref <enum> (none)
72 Determine the optimal reference structure: none, xyz, xy
73
74 -skip <int> (1)
75 Use every nr-th frame for -ref
76
77 -[no]fitxy (no)
78 Fit the x/y rotation before determining the rotation
79
80 -[no]mw (yes)
81 Use mass weighted fitting
82
84 gmx(1)
85
86 More information about GROMACS is available at <‐
87 http://www.gromacs.org/>.
88
90 2022, GROMACS development team
91
92
93
94
952022.3 Sep 02, 2022 GMX-ROTMAT(1)