OnWorks favicon

gmx-genion - Online in the Cloud

Run gmx-genion in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gmx-genion that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gmx-genion - Generate monoatomic ions on energetically favorable positions


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]


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 to specify input files:

-s [<.tpr>] (topol.tpr)
Portable xdr run input file

-n [<.ndx>] (index.ndx) (Optional)
Index file

Options to specify input/output files:

-p [<.top>] (topol.top) (Optional)
Topology file

Options to specify output files:

-o [<.gro/.g96/...>] (out.gro)
Structure file: gro g96 pdb brk ent esp

Other options:

-np <int> (0)
Number of positive ions

-pname <string> (NA)
Name of the positive ion

-pq <int> (1)
Charge of the positive ion

-nn <int> (0)
Number of negative ions

-nname <string> (CL)
Name of the negative ion

-nq <int> (-1)
Charge of the negative ion

-rmin <real> (0.6)
Minimum distance between ions

-seed <int> (1993)
Seed for random number generator

-conc <real> (0)
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.


· 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.

Use gmx-genion online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 2
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 3
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • 4
    AAX to MP3
    AAX to MP3
    Usage: - Install the Audible Manager
    and open a file of your account. - Sign
    in into your audible account (in the
    application). Now the program can
    convert you...
    Download AAX to MP3
  • 5
    TestLink is a web based Test Management
    tool. The application provides Test
    specification, Test plans and execution,
    Reporting, Requirements specification
    and ...
    Download TestLink
  • 6
    XDXF - XML Dictionary Exchange Format
    XDXF - XML Dictionary Exchange Format
    XDXF is a project to unite all existing
    open dictionaries and provide both users
    and developers with universal XML-based
    format, convertible from and to other ...
    Download XDXF - XML Dictionary Exchange Format
  • 7
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • More »

Linux commands