(729c) Molecular Simulation and Design Framework (MoSDef) for Transparent, Reproducible, Usable By Others, Extensible Simulations (TRUE) | AIChE

(729c) Molecular Simulation and Design Framework (MoSDef) for Transparent, Reproducible, Usable By Others, Extensible Simulations (TRUE)

Authors 

Cummings, P. - Presenter, Vanderbilt University
Gilmer, J., Vanderbilt University
Klein, C., Vanderbilt University
Thompson, M., Vanderbilt University
Sallai, J., Vanderbilt University
Summers, A. Z., Vanderbilt University
Iacovella, C. R., Vanderbilt University
Lédeczi, Á., Vanderbilt University
Volgyesi, P., Vanderbilt University
McCabe, C., Vanderbilt University
Reproducibility in scientific research has become a prominent issue [1]. Computational scientists are grappling with the central question: How can a computational study be performed in such a way that it can be replicated by others? To this end, we discuss the Molecular Simulation and Design Framework (MoSDeF) [2], a suite of Python-tools designed to facilitate reproducible molecular simulations, with an emphasis on the ability to perform large scale screening of structural/chemical space. The core tool, mBuild [3,4], is used to generate configurations of chemical systems of interest. mBuild leverages the concept of generative modeling, where complex systems can be constructed from smaller, interchangeable components, allowing for simple parameterization of structures. Repetitive structures like polymers, crystals, spherical or planar tiling patterns can be expressed declaratively. These features of mBuild allow users to programmatically vary parameters for a family of systems (e.g., polymer chain length) as well as vary interchangeable components (polymer subunits, crystal basis particles, etc) with minimal changes to the underlying code. A plugin architecture has been developed that allows the external development and dissemination of more specialized initialization routines that use the mBuild library, without modification of the mBuild library itself. mBuild integrates with Foyer [5,6,7], a tool for defining force field parameter usage and applying force fields to molecular systems (i.e., atom-typing). Foyer provides a force field and simulation engine agnostic method for defining parameter usage that relies upon SMARTS8 based annotations of chemical context and overrides statements to set rule precedence. As such, these annotations provide both human and machine readable documentation of parameter usage, reducing ambiguities as to how parameters should be used and removing rule order as a source of error. By separating rules from the code to evaluate them, force field files can be constructed, modified, version controlled, and easily disseminated. Similarly, a plugin-environment has been developed for Foyer force fields, that also includes tools for validation and verification. We have coupled this framework with the workflow management tool Signac-flow [9] enabling MoSDeF to perform large scale parameter screening, capturing the exact MoSDeF procedures, inputs, and other relevant metadata. Combined, these tools provide a framework for performing simulations that are Transparent, Reproducible, Usable by others, and Extensible (TRUE).

References

  1. Baker, M. 1,500 Scientists Lift the Lid on Reproducibility. Nature 2016,533(7604), 452–454.
  2. MoSDeF [Online]. Available: https://github.com/mosdef-­hub.
  3. C. Klein, J. Sallai, T. J. Jones, C. R. Iacovella, C. McCabe, and P. T. Cummings, “A Hierarchical, Component Based Approach to Screening Properties of Soft Matter”, Foundations of Molecular Modeling and Simulation, 2016, pp. 79-92.
  4. mBuild [Online]. Available: https://github.com/mosdef-­hub/mbuild.
  5. Iacovella, C. R.; Sallai, J.; Klein, C.; Ma, T. “In Idea Paper: Development of a Software Framework for Formalizing Forcefield Atom-Typing for Molecular Simulation”, 4th Workshop on Sustainable Software for Science: Practice and Experiences (WSSSPE4), 2016.
  6. Foyer [Online]. Available: https://github.com/mosdef-­hub/foyer.
  7. Klein, C., Summers, A.Z., Thompson, M.W., Gilmer, J., McCabe, C., Cummings, P.T., Sallai, J. and Iacovella, C.R., 2018. Formalizing Atom-typing and the Dissemination of Force Fields with Foyer. arXiv preprint arXiv:1812.06779.
  8. SMARTS [Online]. Available: http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html
  9. Signac-flow [Online]. Available: https://bitbucket.org/glotzer/signac-flow.