This is a read-only mirror of pymolwiki.org

Difference between revisions of "Load Traj"

From PyMOL Wiki
Jump to navigation Jump to search
m
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
'''load_traj''' reads trajectory files (currently just AMBER files).  The file extension is used to determine the format.  AMBER files must end in ".trj"  
 
'''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 (for some unclear reason), loading a trajectory takes up a lot of RAM and therefore is not a good idea.
+
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.
  
 
===USAGE===
 
===USAGE===
Line 19: Line 19:
  
 
===NOTES===
 
===NOTES===
You must first load a corresponding topology file before attempting to load a trajectory file.
+
*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 [http://amber.scripps.edu/tutorials/basic/tutorial5/index.html ptraj] program first to do this.
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.
 
 
The average option is not a running average.  To perform this type of average, use the "smooth" command after loading the trajectory file.
 
  
 
===SEE ALSO===
 
===SEE ALSO===
[[Load]]
+
[[Load]], [[defer_builds_mode]]
  
[[Category:Commands|load_traj]]
+
[[Category:Commands|Load Traj]]
 +
[[Category:Performance|Load Traj]]
 +
[[Category:States|Load Traj]]

Revision as of 14:13, 20 June 2009

DESCRIPTION

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.

USAGE

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

PYMOL API

 
cmd.load_traj(filename,object='',state=0,format='',interval=1,
           average=1,start=1,stop=-1,max=-1,selection='all',image=1,
           shift="[0.0,0.0,0.0]")

NOTES

  • 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.

SEE ALSO

Load, defer_builds_mode