From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Wed Mar 28 2007 - 10:03:01 CDT

animate write dcd sel $sel will work; please see the docs for the
animate command at
http://www.ks.uiuc.edu/Research/vmd/current/ug/node108.html for other
arguments you can tack on to that.

Peter

namd vmd wrote:
> Hallo,
>
> It must be possible to use the animate command to be able to write the
> trajectory for only the protein from the entire protein-water
> trajectory ? Catdcd can be used to do it, but that needs indices for
> each atom, which is not very convenient. Can anyone please share a
> script where animate is used to read a frame, select certain residues,
> and append the frame to the new trajectory ?
>
> thank you very much,
>
> rose