GRO (GROMACS structure file)

Coordinate reader

MDAnalysis.coordinates.GRO.GROReader

Coordinate writer

MDAnalysis.coordinates.GRO.GROWriter

Topology parser

MDAnalysis.topology.GROParser.GROParser

GRO files provide topology, coordinate, and sometimes velocity information.

Reading in

Prior to MDAnalysis version 0.21.0 and GROMACS 2019.5, MDAnalysis failed to parse GRO files with box sizes where an axis length was longer than 10 characters.

Important

A Universe created with a GRO file and a Universe created with a corresponding TPR file will have different atom and residue numbering, due to how a TPR file is parsed.

Writing out

AtomGroups can be written out to a GRO file. However, this format does not support multi-frame trajectories.