Re:

From: Sterling Paramore (paramore_at_hec.utah.edu)
Date: Thu Feb 23 2006 - 11:34:36 CST

Quite possibly the slowest way to do it is use a very simple tcl script
with VMD:

set nf [molinfo top get numframes]

for {set i 0} {$i < $nf} {incr i} {
   set all [ atomselect top "all" frame $i ]
   $all writepdb frame_$i.pdb
   $all delete
}

exit

For batch processing use: vmd -dispdev text file.psf file.dcd <
extract_pdbs.tcl

-Sterling

Michael Grabe wrote:

>Dear NAMD users,
>
>
>Does anyone know of a resource for taking the DCD file
>
>and writing out separate PDB files from each time step?
>
>
>Thanks
>
>Michael
>
><color><param>0202,6969,1212</param><smaller>--------------------------------------------------------------------------------------------------</smaller></color><smaller>
>
>Michael Grabe, Ph.D.
>
><color><param>0202,6B6B,1212</param>HHMI/UCSF</color>
>
>Rock Hall RH482
>
>1550 4th Street
>
>San Francisco, CA 94143-0725
>
>tel: ++ 415.476.0421
>
><color><param>0000,0000,FFFF</param>http://profplum.ucsf.edu/~mgrabe>
>
>
>
>
></smaller>
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:41:39 CST