From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Jun 26 2009 - 14:26:51 CDT

Hi,
  You need to call "$sel frame" and "$sel update" yourself,
VMD doesn't update selections unless you tell it to.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, Jun 26, 2009 at 03:03:21PM +0200, kumar prashanth wrote:
> Dear VMD experts
>
> I am working on a lipid bilayer system with large trajectories.
> My original trajectory files have a lot of water and lipid residues.
> I wanted to break down the original trajectories into smaller ones
> containing only a select number of lipids .
> Also the problem I face is that the number of lipid molecules in my
> selection changes for every frame.
>
> I wanted to use the "animate write dcd my_file_name beg end sel $sel
> waitfor mol_number" command.
> Here,I would like to know whether my sel is automatically updated while
> writing every frame in the new file or I will have to use the $sel
> frame $i and $sel update manually.
>
> Also,let me know how I can load a trajectory in batches of say 150
> frames ,as VMD crashes while loading most of the trajectory files.
>
> Regards
> Prashanth.

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078