Scroll to navigation

GMX-GENION(1) GROMACS GMX-GENION(1)

NAME

gmx-genion - Generate monoatomic ions on energetically favorable positions

SYNOPSIS

gmx genion [-s [<.tpr>]] [-n [<.ndx>]] [-p [<.top>]]

[-o [<.gro/.g96/...>]] [-np <int>] [-pname <string>]
[-pq <int>] [-nn <int>] [-nname <string>] [-nq <int>]
[-rmin <real>] [-seed <int>] [-conc <real>] [-[no]neutral]


DESCRIPTION

gmx genion randomly replaces solvent molecules with monoatomic ions. The group of solvent molecules should be continuous and all molecules should have the same number of atoms. The user should add the ion molecules to the topology file or use the -p option to automatically modify the topology.

The ion molecule type, residue and atom names in all force fields are the capitalized element names without sign. This molecule name should be given with -pname or -nname, and the [molecules] section of your topology updated accordingly, either by hand or with -p. Do not use an atom name instead!

Ions which can have multiple charge states get the multiplicity added, without sign, for the uncommon states only.

For larger ions, e.g. sulfate we recommended using gmx insert-molecules.

OPTIONS

Options to specify input files:

Portable xdr run input file
Index file

Options to specify input/output files:


Options to specify output files:

Structure file: gro g96 pdb brk ent esp

Other options:

Number of positive ions
Name of the positive ion
Charge of the positive ion
Number of negative ions
Name of the negative ion
Charge of the negative ion
Minimum distance between ions and non-solvent
Seed for random number generator (0 means generate)
Specify salt concentration (mol/liter). This will add sufficient ions to reach up to the specified concentration as computed from the volume of the cell in the input .tpr file. Overrides the -np and -nn options.
-[no]neutral (no)
This option will add enough ions to neutralize the system. These ions are added on top of those specified with -np/-nn or -conc.

KNOWN ISSUES

If you specify a salt concentration existing ions are not taken into account. In effect you therefore specify the amount of salt to be added.

SEE ALSO

gmx(1)

More information about GROMACS is available at <http://www.gromacs.org/>.

COPYRIGHT

2023, GROMACS development team

February 3, 2023 2022.5