Skip to content

incompatible residue names for OPLS ions #85

@iorga

Description

@iorga

I tried to set up a simulation using a positively charged ligand (with Gromacs 4.6) and I've got the following error.

gromacs.setup: INFO     Solvated system with tip4p.gro
gromacs.cbook: INFO     system total charge qtot = 1.0
gromacs.setup: INFO     [/lig-plus/Equilibrium/water/solvation] After solvation: total charge qtot = 1.0 = 1.0
gromacs.setup: INFO     [/lig-plus/Equilibrium/water/solvation] Adding n_cation = 0 and n_anion = 1 ions...
/sge/packs_centos/opt/python-2.7.10-CentOS6/lib/python2.7/site-packages/gromacs/core.py:551: GromacsFailureWarning: Gromacs tool failed
Command invocation: grompp -p /lig-plus/Equilibrium/water/top/system.top -c ionized.gro -maxwarn 1 -o ionized.tpr -f none.mdp
Gromacs command 'grompp' fatal error message:
GMX_FATAL  Source code file: /tmp/gromacs-4.6/src/kernel/toppush.c, line: 2316
GMX_FATAL 
GMX_FATAL  Fatal error:
GMX_FATAL  No such moleculetype CL
GMX_FATAL  For more information and tips for troubleshooting, please check the GROMACS
GMX_FATAL  website at http://www.gromacs.org/Documentation/Errors
Error code: 255

It seems that all recent versions of Gromacs (>= 4.5) have residue names in oplsaa.ff/ions.itp without the charge included (e.g. NA or BR), whereas in our ions_opls.itp that is included in the topology files these residue names contain explicitly the charge (e.g. NA+ or BR-).

I would suggest to update the residue names to make them compatible with the recent versions of Gromacs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions