6. 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
- 6.1. Trajectory Readers and Writers —
MDAnalysis.coordinates
- 6.2. CRD structure files in MDAnalysis —
MDAnalysis.coordinates.CRD
- 6.3. DCD trajectory I/O —
MDAnalysis.coordinates.DCD
- 6.4. DL_Poly format reader
MDAnalysis.coordinates.DLPoly
- 6.5. DESRES file format —
MDAnalysis.coordinates.DMS
- 6.6. GAMESS trajectory reader —
MDAnalysis.coordinates.GMS
- 6.7. GSD trajectory reader —
MDAnalysis.coordinates.GSD
- 6.8. GRO file format —
MDAnalysis.coordinates.GRO
- 6.9. H5MD trajectories —
MDAnalysis.coordinates.H5MD
- 6.10. INPCRD structure files in MDAnalysis —
MDAnalysis.coordinates.INPCRD
- 6.11. LAMMPS DCD trajectory and DATA I/O —
MDAnalysis.coordinates.LAMMPS
- 6.12. MMTF trajectory reader —
MDAnalysis.coordinates.MMTF
- 6.13. MOL2 file format —
MDAnalysis.coordinates.MOL2
- 6.14. NAMDBIN files format —
MDAnalysis.coordinates.NAMDBIN
- 6.15. PDB structure files in MDAnalysis —
MDAnalysis.coordinates.PDB
- 6.16. PDBQT structure files in MDAnalysis —
MDAnalysis.coordinates.PDBQT
- 6.17. PQR file format —
MDAnalysis.coordinates.PQR
- 6.18. TNG trajectory files —
MDAnalysis.coordinates.TNG
- 6.19. GROMOS11 trajectory reader —
MDAnalysis.coordinates.TRC
- 6.20. AMBER trajectories —
MDAnalysis.coordinates.TRJ
- 6.21. TRR trajectory files —
MDAnalysis.coordinates.TRR
- 6.22. TRZ trajectory I/O —
MDAnalysis.coordinates.TRZ
- 6.23. TXYZ file format —
MDAnalysis.coordinates.TXYZ
- 6.24. XTC trajectory files —
MDAnalysis.coordinates.XTC
- 6.25. XYZ trajectory reader —
MDAnalysis.coordinates.XYZ
- 6.26. FHI-AIMS file format —
MDAnalysis.coordinates.FHIAIMS
- 6.27. Reading trajectories from memory —
MDAnalysis.coordinates.memory
- 6.28. Reading trajectories with chemfiles —
MDAnalysis.coordinates.chemfiles
- 6.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.
- 6.30. Timestep Class —
MDAnalysis.coordinates.timestep
- 6.31. Base classes —
MDAnalysis.coordinates.base
- 6.32. Common functions for coordinate reading —
MDAnalysis.coordinates.core
- 6.33. Serialization of Coordinate Readers
- 6.34. ChainReader —
MDAnalysis.coordinates.chain
- 6.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
.