hoomdxml_reader

https://img.shields.io/badge/license-MIT-blue.svg

A lightweight module for reading legacy HOOMD-blue XML and GSD files and converting to mBuild Compounds

HOOMD-blue is a molecular simulation engine highly optimized for use on GPUs. Older version of HOOMD-Blue utilized an XML file format for defining simulation positions, masses, bonds, angles, etc. Support for this format has been deprecated since HOOMD-blue v2 and completely removed since the release of version 3. Nonetheless, it is still a convenient and descriptive file format, and the ability to read in such files is still important for analysis of older simulations that rely on this legacy format.

Note

mdtraj provides support for the HOOMD-blue XML file format, including automated grouping of particles by connectivity, similar to this Module. It also provides support for GSD files. However, masses, charges, angles and dihedrals are not parsed from the files by mdtraj. mdanalysis also has an XML reader, but similarly, does not do a full parsing of the information in the XML. This missing information may be necessary, especially for converting legacy XML files to the current GSD file format used by HOOMD-blue or to convert to MoSDeF’s mBuild Compounds <https://github.com/mosdef-hub/mbuild> or GMSO format. This module provides a more complete parsing of the file and automated grouping into molecules and code to convert to mBuild Compounds.


Indices and tables