(189at) Foyer: A Framework for Defining Force Field Usage Semantics and Atom-Typing Molecular Systems

Authors: 
Iacovella, C. R., Vanderbilt University
Klein, C., Vanderbilt University
Gilmer, J., Vanderbilt University
Summers, A. Z., Vanderbilt University
Black, J. E., Vanderbilt University
Sallai, J., Vanderbilt University
Volgyesi, P., Vanderbilt University
McCabe, C., Vanderbilt University
Cummings, P. T., Vanderbilt University
The availability of force fields for molecular simulation has reduced the effort researchers must devote to the task of determining the interactions between species, allowing them to instead focus on the motivating scientific questions. However, determining which parameters in a forcefield to use is still often a very tedious and error prone task, given that force fields may contain hundreds of unique parameters for a single element, differentiated by the chemical context for which they apply. While tools for performing atom-typing exist (i.e., determining which parameters describe an atom’s interaction potential with its environment based on its chemical context), they are often tied to a specific force field or simulation software and typically employ a rigid hierarchy where rules that identify more specialized atom types must be called ahead of more general atom types. More importantly, many of these atom-typing tools are not directly tied to the files containing the definitions of the force field parameters, which may introduce ambiguities as to appropriate usage and the source of parameters. The strong dependence of force field parameters on the chemical context of the atoms demands a codified, logic-based expression tied directly to those parameters.

We present a tool - Foyer [1,2] - that eliminates ambiguity in force field parameter usage thereby enhancing reproducibility and simplifying the process of disseminating new force fields. Foyer provides a force field agnostic method for defining parameter usage that relies upon SMARTS [3] based annotations of chemical context to perform atom-typing and overrides statements to set rule precedence. In Foyer, rigid rule hierarchies are replaced by an iterative process which allows rules to be embedded in any order within the actual force field files alongside the parameter definitions, thus delivering annotations that are both human and machine readable. To demonstrate Foyer and how it can be used to simplify the process of disseminating a force field, providing automated testing, and ensuring that end users correctly use the derived parameters, we provide a case study for a novel force field for perfluoropolyethers [4]. Foyer has been developed as a Python library, designed to integrate with the Molecular Simulation Design Framework (MoSDeF) [5] currently under development at Vanderbilt.

  1. Iacovella, C. R.; Sallai, J.; Klein, C.; Ma, T. Idea Paper : Development of a Software Framework for Formalizing Forcefield Atom-Typing for Molecular Simulation. In 4th Workshop on Sustainable Software for Science: Practice and Experiences (WSSSPE4); 2016.
  2. “Foyer.” [Online]. Available: https://github.com/mosdef-hub/foyer.
  3. http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html
  4. Black, J. E.; Silva, G. M. C.; Klein, C.; Iacovella, C. R.; Morgado, P.; Martins, L. F. G.; Filipe, E. J. M.; McCabe, C. Perfluoropolyethers: Development of an All-Atom Force Field for Molecular Simulations and Validation with New Experimental Vapor Pressures and Liquid Densities. J. Phys. Chem. B2017,121(27), 6588–6600.
  5. https://github.com/mosdef-hub