1GMX-GENION(1) GROMACS GMX-GENION(1)
2
3
4
6 gmx-genion - Generate monoatomic ions on energetically favorable posi‐
7 tions
8
10 gmx genion [-s [<.tpr>]] [-n [<.ndx>]] [-p [<.top>]]
11 [-o [<.gro/.g96/...>]] [-np <int>] [-pname <string>]
12 [-pq <int>] [-nn <int>] [-nname <string>] [-nq <int>]
13 [-rmin <real>] [-seed <int>] [-conc <real>] [-[no]neutral]
14
16 gmx genion randomly replaces solvent molecules with monoatomic ions.
17 The group of solvent molecules should be continuous and all molecules
18 should have the same number of atoms. The user should add the ion mol‐
19 ecules to the topology file or use the -p option to automatically mod‐
20 ify the topology.
21
22 The ion molecule type, residue and atom names in all force fields are
23 the capitalized element names without sign. This molecule name should
24 be given with -pname or -nname, and the [molecules] section of your
25 topology updated accordingly, either by hand or with -p. Do not use an
26 atom name instead!
27
28 Ions which can have multiple charge states get the multiplicity added,
29 without sign, for the uncommon states only.
30
31 For larger ions, e.g. sulfate we recommended using gmx insert-mole‐
32 cules.
33
35 Options to specify input files:
36
37 -s [<.tpr>] (topol.tpr)
38 Portable xdr run input file
39
40 -n [<.ndx>] (index.ndx) (Optional)
41 Index file
42
43 Options to specify input/output files:
44
45 -p [<.top>] (topol.top) (Optional)
46 Topology file
47
48 Options to specify output files:
49
50 -o [<.gro/.g96/...>] (out.gro)
51 Structure file: gro g96 pdb brk ent esp
52
53 Other options:
54
55 -np <int> (0)
56 Number of positive ions
57
58 -pname <string> (NA)
59 Name of the positive ion
60
61 -pq <int> (1)
62 Charge of the positive ion
63
64 -nn <int> (0)
65 Number of negative ions
66
67 -nname <string> (CL)
68 Name of the negative ion
69
70 -nq <int> (-1)
71 Charge of the negative ion
72
73 -rmin <real> (0.6)
74 Minimum distance between ions and non-solvent
75
76 -seed <int> (0)
77 Seed for random number generator (0 means generate)
78
79 -conc <real> (0)
80 Specify salt concentration (mol/liter). This will add sufficient
81 ions to reach up to the specified concentration as computed from
82 the volume of the cell in the input .tpr file. Overrides the -np
83 and -nn options.
84
85 -[no]neutral (no)
86 This option will add enough ions to neutralize the system. These
87 ions are added on top of those specified with -np/-nn or -conc.
88
90 • If you specify a salt concentration existing ions are not taken into
91 account. In effect you therefore specify the amount of salt to be
92 added.
93
95 gmx(1)
96
97 More information about GROMACS is available at <‐
98 http://www.gromacs.org/>.
99
101 2022, GROMACS development team
102
103
104
105
1062022.2 Jun 16, 2022 GMX-GENION(1)