GROMACS version:
GROMACS modification: Yes/No
Here post your question
Please I’m new to using Gromacs, and I need help in restraining the distance between two ZN ions. The distance between the ZNs is critical, and the ligand unbinds if the distance increases. Unforunately, minimization using charm ff increases that distances. I have tried both bond and distance restraint as suggested in this forum, but have not been successful because the two ZN positions are not being identified correctly, and it gives the error shown below. In addition, I’ve included my topol.top, ZN2.itp, and a portion of the.gro file. Thanks in advance for your help and guidance.
ERROR 1 [file posre1.itp, line 6]:
Atom index (2) in position_restraints out of bounds (1-1).
This probably means that you have inserted topology section
“position_restraints”
in a part belonging to a different molecule than you intended to.
In that case move the “position_restraints” section to the right molecule
topol.top
ZN2.itp
;; Generated by CHARMM-GUI FF-Converter
;;
;; Correspondance:
;; jul316@lehigh.edu or wonpil@lehigh.edu
;;
;; GROMACS topology file for ZN2
;;
[ moleculetype ]
; name nrexcl
ZN2 1
[ atoms ]
; nr type resnr residu atom cgnr charge mass
1 ZN 301 ZN2 ZN 1 2.000000 65.3700 ; qtot 2.000
part of my .gro file
3436 221LYS NZ 3434 6.490 4.427 4.270
3437 221LYS HZ1 3435 6.487 4.523 4.231
3438 221LYS HZ2 3436 6.571 4.420 4.336
3439 221LYS HZ3 3437 6.404 4.408 4.325
3440 221LYS C 3438 6.771 4.706 3.720
3441 221LYS OT1 3439 6.760 4.743 3.601
3442 221LYS OT2 3440 6.879 4.713 3.785
3443 222ZN2 ZN 3441 4.334 4.618 3.882
3444 223ZN2 ZN 3442 4.169 4.707 3.335
3445 2243R9 O1 3443 4.681 4.599 3.366
3446 2243R9 N 3444 4.366 4.812 3.357
3447 2243R9 C1 3445 4.546 4.633 3.378
3448 2243R9 O2 3446 4.472 4.564 3.444
3449 2243R9 C2 3447 4.500 4.764 3.306