This is a read-only mirror of

Load Traj

From PyMOL Wiki
Jump to navigation Jump to search

load_traj reads trajectory files (currently just AMBER files). The file extension is used to determine the format. AMBER files must end in ".trj"

In newer builds of PyMOL (namely, version 1.0 or newer), several additional formats are accepted. CHARMM trajectories (".dcd") are also valid files and only require a structure to be loaded first while the trajectory file gets loaded as sequential states into the associated object. However, it should be noted that, unless the defer_builds_mode is set (to 3), loading a large trajectory may take up a lot of RAM.


load_traj filename [,object [,state [,format [,interval [,average ]
                   [,start [,stop [,max [,selection [,image [,shift 




  • You must first load a corresponding topology file before attempting to load a trajectory file.
  • PyMOL does not know how to wrap the truncated octahedron used by Amber You will need to use the ptraj program first to do this.
  • The average option is not a running average. To perform this type of average, use the smooth command after loading the trajectory file.
  • For quickly viewing Trajectories as a movie, use the mset command to map each state to a movie frame.

useful notes from the email list

in one line convert dcd and psf to pdb :

catdcd -o all.pdb -otype pdb -s autopsf.psf -stype psf out.dcd


Load, defer_builds_mode