GAFF2 Molecule
The GAFF2 Molecule follows similar paradigms as the CGenFF Molecule in terms of parsing. GAFF2 also includes a penalty score which makes this more interesting to capture.

The equation differs slightly in terms of the harmonics and recent additions have been the impropers. The parser was built to handle frcmod files into dataframes and update their values accordingly.
An example of the format can be found here in terms of how the frcmod is defined and what all the numbers mean:
Import the Package
Read in GAFF2 frcmod File
Access Non-Bonded and Bonded DataFrames
Update a value in Bonded DataFrames
Harmonic values refers to anything that is either a bond-length, angle, dihedral or improper angle. Multiplicity only refers to dihedrals or impropers.
Access Manipulated Non-Bonded and Bonded DataFrames
The values to update are the Rmin and the epsilon values.
Write a new Frcmod GAFF2 File
Accessing Properties on GAFF2 Molecule
Last updated