7. Coordinates modules
The coordinates module contains the classes to read and write
trajectories. Typically, MDAnalysis recognizes Table of supported coordinate formats by the file extension and hence most users probably do not need to
concern themselves with classes and functions described here. However,
if MDAnalysis fails to recognize a coordinate file then the user can
provide the format in the keyword argument format to
Universe
to force the format.
Coordinate formats
- 7.1. Trajectory Readers and Writers —
MDAnalysis.coordinates
- 7.2. CRD structure files in MDAnalysis —
MDAnalysis.coordinates.CRD
- 7.3. DCD trajectory I/O —
MDAnalysis.coordinates.DCD
- 7.4. DL_Poly format reader
MDAnalysis.coordinates.DLPoly
- 7.5. DESRES file format —
MDAnalysis.coordinates.DMS
- 7.6. GAMESS trajectory reader —
MDAnalysis.coordinates.GMS
- 7.7. GSD trajectory reader —
MDAnalysis.coordinates.GSD
- 7.8. GRO file format —
MDAnalysis.coordinates.GRO
- 7.9. H5MD trajectories —
MDAnalysis.coordinates.H5MD
- 7.10. INPCRD structure files in MDAnalysis —
MDAnalysis.coordinates.INPCRD
- 7.11. LAMMPS DCD trajectory and DATA I/O —
MDAnalysis.coordinates.LAMMPS
- 7.12. MMTF trajectory reader —
MDAnalysis.coordinates.MMTF
- 7.13. MOL2 file format —
MDAnalysis.coordinates.MOL2
- 7.14. NAMDBIN files format —
MDAnalysis.coordinates.NAMDBIN
- 7.15. PDB structure files in MDAnalysis —
MDAnalysis.coordinates.PDB
- 7.16. PDBQT structure files in MDAnalysis —
MDAnalysis.coordinates.PDBQT
- 7.17. PQR file format —
MDAnalysis.coordinates.PQR
- 7.18. TNG trajectory files —
MDAnalysis.coordinates.TNG
- 7.19. GROMOS11 trajectory reader —
MDAnalysis.coordinates.TRC
- 7.20. AMBER trajectories —
MDAnalysis.coordinates.TRJ
- 7.21. TRR trajectory files —
MDAnalysis.coordinates.TRR
- 7.22. TRZ trajectory I/O —
MDAnalysis.coordinates.TRZ
- 7.23. TXYZ file format —
MDAnalysis.coordinates.TXYZ
- 7.24. XTC trajectory files —
MDAnalysis.coordinates.XTC
- 7.25. XYZ trajectory reader —
MDAnalysis.coordinates.XYZ
- 7.26. FHI-AIMS file format —
MDAnalysis.coordinates.FHIAIMS
- 7.27. Reading trajectories from memory —
MDAnalysis.coordinates.memory
- 7.28. Reading trajectories with chemfiles —
MDAnalysis.coordinates.chemfiles
- 7.29. Null output —
MDAnalysis.coordinates.null
Coordinate core modules
The remaining pages are primarily of interest to developers. Programmers and anyone trying to implement new functionality should first read the Trajectory API.
- 7.30. Timestep Class —
MDAnalysis.coordinates.timestep
- 7.31. Base classes —
MDAnalysis.coordinates.base
- 7.32. Common functions for coordinate reading —
MDAnalysis.coordinates.core
- 7.33. Serialization of Coordinate Readers
- 7.34. ChainReader —
MDAnalysis.coordinates.chain
- 7.35. XDR based trajectory files —
MDAnalysis.coordinates.XDR
In particular, all trajectory readers have to be
serializable and they should pass all tests
available in the MDAnalysisTests.coordinates.base.MultiframeReaderTest
or MDAnalysisTests.coordinates.base.BaseReaderTest
.