1GMX-CHECK(1) GROMACS GMX-CHECK(1)
2
3
4
6 gmx-check - Check and compare files
7
9 gmx check [-f [<.xtc/.trr/...>]] [-f2 [<.xtc/.trr/...>]] [-s1 [<.tpr>]]
10 [-s2 [<.tpr>]] [-c [<.tpr/.gro/...>]] [-e [<.edr>]]
11 [-e2 [<.edr>]] [-n [<.ndx>]] [-m [<.tex>]] [-vdwfac <real>]
12 [-bonlo <real>] [-bonhi <real>] [-[no]rmsd] [-tol <real>]
13 [-abstol <real>] [-[no]ab] [-lastener <string>]
14
16 gmx check reads a trajectory (.tng, .trr or .xtc), an energy file
17 (.edr) or an index file (.ndx) and prints out useful information about
18 them.
19
20 Option -c checks for presence of coordinates, velocities and box in the
21 file, for close contacts (smaller than -vdwfac and not bonded, i.e. not
22 between -bonlo and -bonhi, all relative to the sum of both Van der
23 Waals radii) and atoms outside the box (these may occur often and are
24 no problem). If velocities are present, an estimated temperature will
25 be calculated from them.
26
27 If an index file, is given its contents will be summarized.
28
29 If both a trajectory and a .tpr file are given (with -s1) the program
30 will check whether the bond lengths defined in the tpr file are indeed
31 correct in the trajectory. If not you may have non-matching files due
32 to e.g. deshuffling or due to problems with virtual sites. With these
33 flags, gmx check provides a quick check for such problems.
34
35 The program can compare two run input (.tpr) files when both -s1 and
36 -s2 are supplied. When comparing run input files this way, the default
37 relative tolerance is reduced to 0.000001 and the absolute tolerance
38 set to zero to find any differences not due to minor compiler optimiza‐
39 tion differences, although you can of course still set any other toler‐
40 ances through the options.Similarly a pair of trajectory files can be
41 compared (using the -f2 option), or a pair of energy files (using the
42 -e2 option).
43
44 For free energy simulations the A and B state topology from one run
45 input file can be compared with options -s1 and -ab.
46
47 In case the -m flag is given a LaTeX file will be written consisting of
48 a rough outline for a methods section for a paper.
49
51 Options to specify input files:
52
53 -f [<.xtc/.trr/…>] (traj.xtc) (Optional)
54 Trajectory: xtc trr cpt gro g96 pdb tng
55
56 -f2 [<.xtc/.trr/…>] (traj.xtc) (Optional)
57 Trajectory: xtc trr cpt gro g96 pdb tng
58
59 -s1 [<.tpr>] (top1.tpr) (Optional)
60 Portable xdr run input file
61
62 -s2 [<.tpr>] (top2.tpr) (Optional)
63 Portable xdr run input file
64
65 -c [<.tpr/.gro/…>] (topol.tpr) (Optional)
66 Structure+mass(db): tpr gro g96 pdb brk ent
67
68 -e [<.edr>] (ener.edr) (Optional)
69 Energy file
70
71 -e2 [<.edr>] (ener2.edr) (Optional)
72 Energy file
73
74 -n [<.ndx>] (index.ndx) (Optional)
75 Index file
76
77 Options to specify output files:
78
79 -m [<.tex>] (doc.tex) (Optional)
80 LaTeX file
81
82 Other options:
83
84 -vdwfac <real> (0.8)
85 Fraction of sum of VdW radii used as warning cutoff
86
87 -bonlo <real> (0.4)
88 Min. fract. of sum of VdW radii for bonded atoms
89
90 -bonhi <real> (0.7)
91 Max. fract. of sum of VdW radii for bonded atoms
92
93 -[no]rmsd (no)
94 Print RMSD for x, v and f
95
96 -tol <real> (0.001)
97 Relative tolerance for comparing real values defined as
98 2*(a-b)/(|a|+|b|)
99
100 -abstol <real> (0.001)
101 Absolute tolerance, useful when sums are close to zero.
102
103 -[no]ab (no)
104 Compare the A and B topology from one file
105
106 -lastener <string>
107 Last energy term to compare (if not given all are tested). It
108 makes sense to go up until the Pressure.
109
111 gmx(1)
112
113 More information about GROMACS is available at <‐
114 http://www.gromacs.org/>.
115
117 2019, GROMACS development team
118
119
120
121
1222018.7 May 29, 2019 GMX-CHECK(1)