(346bg) Gmso: A Flexible, Python-Based Representation of Chemical Topologies for Molecular Simulation
AIChE Annual Meeting
2020
2020 Virtual AIChE Annual Meeting
Computational Molecular Science and Engineering Forum
Poster Session: Computational Molecular Science and Engineering Forum (CoMSEF)
Wednesday, November 18, 2020 - 8:00am to 9:00am
The Molecular Simulation Design Framework (MoSDeF)[1] is a Python-based open-source software suite focused on constructing, atom typing, and parametrizing chemical systems. The package is architectured to provide researchers the ability to prepare chemical systems in a scriptable manner, crucial to enhancing the reproducibility of computational science. The suite comprises three main libraries: mBuild[2,3] which handles the construction of chemical systems, foyer[4,5] which is responsible for automatically atom typing and parametrizing chemical systems, and the General Molecular Simulation Object (GMSO)[6], which serves as the backend data structure that encapsulates system and forcefield information, which can be written out to various file formats specific to simulation engine. GMSO is designed with the purpose of providing a more dynamic and flexible molecular topology data structure, compared to other open-source libraries currently available, including those previously used in MoSDeF. In order to make the library as general as possible, GMSO makes no assumptions regarding the details of molecular systems, including the functional forms of the potential energy equations, and the unit system. The unyt[7,8] library is implemented to manage the internal unit system, while interatomic potential expressions are handled by the sympy[9,10] library, and both can be explicitly defined by the users. This enables users to either choose from pre-built templates GMSO provides or create more exotic non-standard functional forms. While the use of non-standard potentials may be limited by the compatibility with current simulation engines, the benefit of having a flexible backend will allow MoSDeF to quickly support future potential forms. Many engines support these more exotic potential forms through the use of tabulated potentials, which are also supported by GMSO. Furthermore, GMSO defines a new, more explicit XML schema for force fields, further improving on the force field schema implemented previously in foyer. The new form of XML provides the same information as the original forcefield format defined in foyer, including parameters and usage rules, but further includes information regarding units and the explicit functional form of the given interaction potential. By doing so, the use of GMSO and MoSDeF reduces ambiguity of the force field form, parameters, and usage, and further supports the concept of Transparent, Reproducible, Usable By Others, and Extensible (TRUE)[11] simulations.
References
- âMoSDeFâ [Online]. Available: https://github.com/mosdef-Âhub.
- 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.
- âmBuildâ [Online]. Available: https://github.com/mosdef-Âhub/mbuild.
- Christoph Klein, Andrew Z. Summers, Matthew W. Thompson, Justin B. Gilmer, Clare McCabe, Peter T. Cummings, Janos Sallai, Christopher R. Iacovella. âFormalizing atom-typing and the dissemination of force fields with foyerâ, Computational Materials Science, Volume 167, 2019. https://doi.org/10.1016/j.commatsci.2019.05.026.
- âfoyerâ [Online]. Available: https://github.com/mosdef-Âhub/foyer.
- âgmsoâ [Online]. Available: https://github.com/mosdef-hub/gmso.
- Goldbaum et al., (2018). unyt: Handle, manipulate, and convert data with units in Python. Journal of Open Source Software, 3(28), 809, https://doi.org/10.21105/joss.00809
- âunytâ [Online]. Available: https://github.com/yt-project/unyt.
- Meurer A, Smith CP, Paprocki M, ÄertÃk O, Kirpichev SB, Rocklin M, Kumar A, Ivanov S, Moore JK, Singh S, Rathnayake T, Vig S, Granger BE, Muller RP, Bonazzi F, Gupta H, Vats S, Johansson F, Pedregosa F, Curry MJ, Terrel AR, RouÄka Å , Saboo A, Fernando I, Kulal S, Cimrman R, Scopatz A. 2017. SymPy: symbolic computing in Python. PeerJ Computer Science 3:e103. https://doi.org/10.7717/peerj-cs.103
- âsympyâ [Online]. Available: https://github.com/sympy/sympy.
- Matthew W. Thompson, Justin B. Gilmer, Ray A. Matsumoto, Co D. Quach, Parashara Shamaprasad, Alexander H. Yang, Christopher R. Iacovella, Clare McCabe & Peter T. Cummings (2020) Towards molecular simulations that are transparent, reproducible, usable by others, and extensible (TRUE), Molecular Physics, DOI: 10.1080/00268976.2020.1742938