From: Eduard Schreiner (
Date: Wed Sep 22 2010 - 15:09:14 CDT

you can specify the frame you're selecting in the atomselect command;
someting like:

set a [atomselect top "YOURSELECTION" frame YOURFRAME]
$a writeppdb filename.pdb
$a delete

You may want to check the manual on this one:


On Wed, Sep 22, 2010 at 2:05 PM, Katherine Parra <> wrote:
> Dear VMD users.
> I would like to know:
> how to write in separated pdb files selected frames of one trajectory, after
> loading dcd and psf files.
> Thanks in advance.
> KP

Eduard Schreiner
Theoretical and Computational Biophysics Group
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave., Urbana, IL 61801
Phone: 217-244-4361
Fax: 217-244-6078