mosdef-hub / forcefield_template

A template repo for disseminating force fields with foyer
https://github.com/mosdef-hub/foyer
6 stars 9 forks source link
force-field molecular-dynamics molecular-simulation

Getting Started

Installation of Foyer and required tools

conda install -c omnia -c mosdef parmed foyer pytest

Creating a new force field:

  1. Duplicate the force field template. This can be done in various ways:

  2. Create your force field .xml file based on the OpenMM .xml format and add foyer style SMARTS strings to define your atom types. Example force field files:

  3. Optionally, add example molecules with correct atomtypes defined as test cases. Execute the testing script using py.test -v --tb=line

    • Note, even if test molecules are not created, running py.test -v --tb=line is recommended, as this will perform checking of your .xml file for proper syntax and ensure that all atom types references are defined.
  4. Generate your own DOI via Zenodo

  5. Update the link to the Zenodo DOI badge

    • DOI

The text above can be removed upon publishing a forcefield, but please be sure to include the following information in the README:

[Title of your forcefield]

Source Notes:

< Add specific notes about parameters, e.g., if a set of parameters comes verbatim from prior work, provide details and a DOI >

Additional Notes:

< Add any other relevant information. Also for consistency, please define conversion factors used. Note that we strongly suggest the following unit conversions defined in OpenMM, e.g.: >

Force field DOI