vmd.molecule.read

vmd.molecule.read()

Read coordinate data into an existing molecule

Parameters:
  • molid (int) – Molecule ID to read data into
  • filetype (str) – File type of coordinate data
  • filename (str) – Path to coordinate data
  • first (int) – First frame to read. Defaults to 0 (first frame)
  • last (int) – Last frame to read, or -1 for the end. Defaults to -1
  • stride (int) – Frame stride. Defaults to 1 (read all frames)
  • waitfor (int) – Number of frames to load before returning. Defaults to 1, then loads asyncronously in background. Set to -1 to load all frames
  • volsets (list of int) – Indices of volumetric datasets to read in from the file. Invalid indices will be ignored.