# CHARMM36 to GROMACS porting

**URL:** <https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101>\
**Category:** User discussions\
**Tags:** forcefield\
**Created:** [May 5, 2021, 2:04pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101 "2021-05-05T14:04:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![awacha](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/awacha/32/19_2.png) [@awacha](https://gromacs.bioexcel.eu/u/awacha)\
**Post date:** [May 5, 2021, 2:04pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/1 "2021-05-05T14:04:28Z")

</div>

GROMACS version: any above and including 2016  
GROMACS modification: No

Dear GROMACS users,

I am looking for the person who ports the CHARMM36 FF to GROMACS. One of my colleagues needed a special amino acid (deprotonated Arg) which is part of CHARMM but (understandably) did not make it to the GROMACS port. As it also needs special atom types, a simple RTP entry is not sufficient.  
I started to write a CHARMM to GROMACS porting program ([András Wacha / charmm2gmx · GitLab](https://gitlab.com/awacha/charmm2gmx)), and while trying to validate it against the official CHARMM36 port downloaded from Alexander MacKerell’s page, I found some minor discrepancies which I would like to ask about.

Kind regards,

Andras Wacha

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [May 5, 2021, 2:24pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/2 "2021-05-05T14:24:34Z")

</div>

What kind of discrepancies? Note that we also have conversions scripts written that I can share (email me) that will save you a ton of time and duplicated effort.

---

<div class="post-metadata">

**Author:** ![awacha](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/awacha/32/19_2.png) [@awacha](https://gromacs.bioexcel.eu/u/awacha)\
**Post date:** [May 5, 2021, 2:59pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/3 "2021-05-05T14:59:31Z")

</div>

Dear Justin,

The parameters are the same between my port and yours (although some bonds are defined twice, as in A-B and B-A).

In the residue topologies I have found the following differences:

1. I had to rename some residues, as they are named differently in CHARMM and your port:

OYPE → OSPE PYPG → PSPG PHPC → PhPC, TYCL1 → TXCL1 TYCL2 → TXCL2, C7DHPC → DHPC FOS12 → DPC FOS14 → TPC, DYPA → DXPA DYPG → DXPG DYPS → DXPS

1. Atom names in DPC and TPC are different

2. Partial charges of atoms C218 and C220 in residues SAPI, SAPI{13,14,15,24,25,2A,2B,2C,2D,33,34,35}, SAPA, SAPE, SAPG, SAPS are different (-0.18, -0.27 in the CHARMM variant, -0.27, -0.18 in yours)

3. DAPS, DEPS, DGPS, DNPS, DXPS, PLPS, SDPS, SLPS, SOPS missing improper dihedral on C12-C13-O13A-O13B

4. nucleic acids are linked in the other direction (in CHARMM, a bond between +P and O3’ is defined, while in your port it is between -O3’ and P; not that it matters much, but still…)

5. Residue SAM: O3’ is of atom type ON5, while in your port it has ON2 type.

6. The C-O bond is missing in your CO residue topology entry

7. in the recent version of your CHARMM port (from February, 2021) the atom naming in ACE and NME have changed, probably to reflect the upstream naming (e.g. to CAY from CA, to CY from C in ACE and to NT from N in NME). This, however, breaks the "-C, N, CA, C, +N) cmap interaction, defined in the topology of the next residue. CHARMM explicitly lists the CMAP interactions in the ACE and CT3 patches.

I have written an e-mail to your Virginia Tech address.  
Thank you,  
Andras

---

<div class="post-metadata">

**Author:** ![slovas](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@slovas](https://gromacs.bioexcel.eu/u/slovas)\
**Post date:** [May 6, 2021, 3:59pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/4 "2021-05-06T15:59:38Z")

</div>

> [@awacha](#):
>
> in the recent version of your CHARMM port (from February, 2021) the atom naming in ACE and NME have changed, probably to reflect the upstream naming (e.g. to CAY from CA, to CY from C in ACE and to NT from N in NME). This, however, breaks the "-C, N, CA, C, +N) cmap interaction, defined in the topology of the next residue. CHARMM explicitly lists the CMAP interactions in the ACE and CT3 patches.

I can confirm the ACE changes in the latest port. , I had problem with it when I had Ace protected peptide. I did not wanted tinker with the cmap interactions, so I changed the atom names back to the older or original names for ACE in the merged.rtp and it worked.  
Sandor

---

<div class="post-metadata">

**Author:** ![olivierb](https://avatars.discourse-cdn.com/v4/letter/o/65b543/32.png) [@olivierb](https://gromacs.bioexcel.eu/u/olivierb)\
**Post date:** [October 20, 2021, 12:05pm UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/5 "2021-10-20T12:05:12Z")

</div>

Dear Justin,  
This is the first I write in this forum. Excuse me if I would not use it properly. You said that you have conversion scripts charmm to gromacs?  
The problem is the following, and I am wondering that any of these scripts would solve it:  
Using Charmm, I produce psf, crd and pdb files of my protein, which is a dimer (proa and prob, identical sequences). The psf and pdb files contain the accurate mentions ‘PROA’ and ‘PROB’ at the expected lines. Using the ‘charmm2gmx\_prot.str’ as written in Charmm-gui, I successfully produce the itp files required for Gromacs. The problem is charmm2gmx\_prot.str produces a monomer instead of the dimer. Not any atoms are lost, and the residues are numbered as if it was a protein twice as long as the original monomers. Obviously ‘prob’ numbering starts at n+1, with n the number of residues in proa. I am sure that it will run correctly on Gromacs. However, to simplify the analysis afterwards, I would prefer to simulate a ‘proa.itp’ and a ‘prob’itp’, each one starting at, say residue 1, instead of a single long entity.  
What would you suggest?

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [October 21, 2021, 1:53am UTC](https://gromacs.bioexcel.eu/t/charmm36-to-gromacs-porting/2101/6 "2021-10-21T01:53:25Z")

</div>

Your issue is not related to conversion of force field files. Please start a new topic if you have a new problem. CHARMM-GUI inputs should work out of the box with no modification.
