From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Feb 23 2006 - 11:42:24 CST

Hi,
  You could do something like this:

mol new my.pdb
foreach file [glob "myfiles*.crd"] {
  # if the files don't contain box information, then use this line
  mol addfile $file waitfor all

  # otherwise if the files contain box information, then use this line
  # mol addfile $file type crdbox waitfor all
}

Enjoy,
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Feb 23, 2006 at 09:26:14AM -0800, Thereza Soares wrote:
> Hi There,
>
> I would like to load multiple (100) CRD trajectories into a
> PDB coordinate file at once. The trajectory files have
> also different number of frames. Is there a way of doing
> so with VMD preferably using command lines or scripts?
>
> Any hint will be greatly appreciated!
>
> Cheers,
>
> Thereza
>
> Thereza A. Soares
> Research Scientist
> Pacific Northwest National Lab.
> Computational BioSciences Group
> P.O. Box 999, K7-90
> Richland, WA 99352 - USA
> tasoares_at_pnl.gov
> Phone: 509.372.6785
> Fax: 509.375.4720
> web: www.emsl.pnl.gov/docs/cbbb/index.html
>

-- 
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