From: Luis Gracia (lug2002_at_med.cornell.edu)
Date: Wed May 03 2006 - 19:17:09 CDT

I haven't try it, but I thinkg this should work:

set sel [atomselect top "all"]
for {set f 0} {$f < [molinfo top get numframes} {incr f} {
  $sel frame $f
  $seg writepdb "myfile$f.pdb"
}

good luck

Luis

Luis Gracia, PhD
Department of Physiology & Biophysics
Weill Medical College of Cornell University
1300 York Avenue, Box 75
New York, NY 10021

Tel: (212) 746-6375
Fax: (212) 746-8690
lug2002_at_med.cornell.edu

Raul Araya Secchi said the following on 05/03/06 17:19:
> Dear VMD users:
>
> This may sound trivial, but ....
>
> I have a dcd file with 600 frames, and I want to pick 50 frames and save
> each one as an independent pdb file, but the only result I get is one
> bif pdb file with all my selected frames in it. So how can I make vmd
> save each frame in one pdb file??
>
> Please Help....
>
> Raul Araya
> CGB_Universidad Catolica de Chile
>
> ------------------------------------------------------------------------
> Nuevo MSN Messenger Una forma rápida y divertida de enviar mensajes
> <http://g.msn.com/8HMBESCL/2731??PS=47575>