dpdata.amber package
Submodules
dpdata.amber.mask module
Amber mask.
dpdata.amber.md module
- dpdata.amber.md.read_amber_traj(parm7_file, nc_file, mdfrc_file=None, mden_file=None, mdout_file=None, use_element_symbols=None, labeled=True)[source]
The amber trajectory includes: * nc, NetCDF format, stores coordinates * mdfrc, NetCDF format, stores forces * mden (optional), text format, stores energies * mdout (optional), text format, may store energies if there is no mden_file * parm7, text format, stores types.
- Parameters:
- parm7_file, nc_file, mdfrc_file, mden_file, mdout_file:
filenames
- use_element_symbolsNone or list or str
If use_element_symbols is a list of atom indexes, these atoms will use element symbols instead of amber types. For example, a ligand will use C, H, O, N, and so on instead of h1, hc, o, os, and so on. IF use_element_symbols is str, it will be considered as Amber mask.
- labeledbool
Whether to return labeled data