Dear Gromacs and simulation community,
I have a question about the atom order (i,j,k,l) in defining an improper dihedral in Gromacs using the OPLS-AA force field.
From the manual, Figure 24 (top one) in the manual (Bonded interactions — GROMACS 2019 documentation). The following topology of improper dihedral is defined:
atom-i in the center for planar atom and surrounded by other three atoms (j,k, and l)
From this schematic figure, I assume that the center atom should be the first. And if defined in a rtp file using opls force field, the improper dihedral should be (e.g., for a carbonyl group):
[ impropers ]
; ai aj ak al
i j k l improper_O_C_X_Y
This is also consistent with the previous discussions in the forum.
Based on the above information, I checked the aminoacids.rtp file in oplsaa.ff, charmm27.ff and amber03.ff in the Gromacs software (2020.4, under /usr/local/gromacs/share/gromacs/top/). Here are they, when I compare the [GLY] residue:
OPLS:
[ impropers ]
-C CA N H improper_Z_N_X_Y
CA +N C O improper_O_C_X_Y
Charmm
[ impropers ]
N -C CA HN
C CA +N O
and Amber
[ impropers ]
-C CA N H
CA +N C O
Clearly, for charmm and amber, the order is consistent with here. i.e., charmm puts the center atom (label-i) first, while amber puts the center atom third. What confused me, however, is the one defined in opls, which also puts the center atom third, and seems to follow the following label:
What am I missing here? To make it simple, if a carboxylic acid R-COOH is to be defined using opls.aa force field, should it be:
[ impropers ]
; ai aj ak al
C R OH OC improper_O_C_X_Y
or
[ impropers ]
; ai aj ak al
R OH C OC improper_O_C_X_Y
Thanks in advance for any comments.