marrink-lab / polyply_1.0

Generate input parameters and coordinates for atomistic and coarse-grained simulations of polymers, ssDNA, and carbohydrates
Apache License 2.0
119 stars 21 forks source link

Switch to default OPLS atomtype names #317

Closed ricalessandri closed 1 year ago

ricalessandri commented 1 year ago

LigParGen assigns labels that are not used in the standard /usr/local/gromacs/share/gromacs/top/oplsaa.ff/ffnonbonded.itp even though it does not really create any new atom type that is not already listed in that ffnonbonded.itp (at least most of the times).

This PR fixes this for PEO (currently the only OPLS polymer we have in the library; at least till I finish with https://github.com/marrink-lab/polyply_1.0/pull/276): previously, the .ff files used the LigParGen-generated atom names; now they've been re-assigned to the standard OPLS atomtype names. This should make using the model easier, since one can now simply call the GMX default OPLS:

; Include forcefield parameters
#include "oplsaa.ff/forcefield.itp"
...