GROMACS version: 2022
GROMACS modification: No
Here post your question
Hello,
I’m new to gromacs and I’m trying to try a model for a drug molecule and some polymers. General AMBER force field might be a good option for me, but I have to add this force field to gromacs. I found this link on AMBER website, but it is very confusing to me:
https://ambermd.org/parmed_gromacs.html
Using Amber force fields in GROMACS and CHARMM
Jason Swails’ parmed program can make this an easy task. The first thing you need to do is create your prmtop and inpcrd files using tleap. After that, run amber.python with the following code:
import parmed as pmd
parm = pmd.load_file(‘name-of-your.prmtop’, ‘name-of-your.inpcrd’)
parm.save(‘gromacs.top’, format=‘gromacs’)
parm.save(‘gromacs.gro’)
Similar ideas work for CHARMM:
import parmed as pmd
parm = pmd.load_file(‘name-of-your.prmtop’, ‘name-of-your.inpcrd’)
parm.save(‘charmm.psf’)
parm.save(‘charmm.crd’)
For more information, visit the ParmEd github page.
Could anyone please help with this? Thank you!
Effy