I am trying to start simulation from a specific frame from dcd file, something similar for pdb file would be:
Code: Select all
pdb = PDBFile(start_pdb)
modeller = Modeller(pdb.topology, pdb.getPositions(frame=start_frame))
However, sometimes pdb file could be quite large and uses lots of memory and I would like to start simulation from the corresponding dcd file which is much smaller. But it seems that `DCDFile` class does not have "getPositions()" method (according to https://simtk.org/api_docs/openmm/api4_ ... DFile.html). I wonder if it is possible to do that for dcd file as well?
Thank you!