custom SHAKE constraints, gromacs topology

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Daniel Konstantinovsky
Posts: 77
Joined: Tue Jun 11, 2019 12:21 pm

custom SHAKE constraints, gromacs topology

Post by Daniel Konstantinovsky » Fri Jun 03, 2022 8:23 am

Hi OpenMM,

I am trying to use a gromacs-made topology to run simulations in openmm to take advantage of the faster CUDA code. My system consists of a protein, water/ions, urea, and TMAO. I need the TMAO and urea to be completely constrained bond-wise, the protein to be constrained only in the h-containing bonds, and the water to be rigid as usual. The custom constraints are in my gromacs topology in a [ constraints ] section, but I noticed that the GromacsTopFile object lacks a field for constraints, and I worry that these constraints are not being read. Is there a way to implement this combination of SHAKE constraints in OpenMM? I really want to use OpenMM because it is considerably faster than GROMACS's GPU implementation in my experience...

Thank you!
Dan


For your reference, vars(GromacsTopFile object) gives
_includeDirs
_defines
_genpairs
_currentCategory
_ifStack
_elseStack
_moleculeTypes
_molecules
_currentMoleculeType
_atomTypes
_bondTypes
_angleTypes
_dihedralTypes
_implicitTypes
_pairTypes
_cmapTypes
_nonbondTypes
_defaults
topology

POST REPLY