Load a Gromacs TRR file from disk.
The .trr format is a cross-platform compressed binary trajectory format produced by the gromacs software that stores atomic coordinates, box vectors, and time information.
Parameters: | filename : str
top : {str, Trajectory, Topology}
stride : int, default=None
atom_indices : array_like, optional
frame : int, optional
|
---|---|
Returns: | trajectory : md.Trajectory
|
See also
Examples
>>> import mdtraj as md
>>> traj = md.load_trr('output.trr', top='topology.pdb')
>>> print traj
<mdtraj.Trajectory with 500 frames, 423 atoms at 0x110740a90>