From: Daniel Barsky (barsky_at_doves.llnl.gov)
Date: Mon Jun 05 2000 - 16:35:06 CDT

You don't need TCL for this. Simple unix works fine.

Into a file called "mol_load" (or whatever), simply write
"mol load pdb file1.pdb"
"mol load pdb file2.pdb"
etc.

...then read them all with "play mol_load" in the vmd console.

If your pdb files are numbered, try

ls -1 *.pdb | awk '{print "mol load pdb", $1}' > mol_load

This strategy works well for animating a large list of pdbs
as well:

ls -1 *.pdb | awk '{print "animate read pdb", $1}' > animate_load

Etc.

_______________________________________________________________________
                         
Daniel Barsky, Ph.D. Senior Biomedical Scientist
Lawrence Livermore National Lab Phone: 925-422-1540 Fax: 925-424-3130
P.O. Box 808, L-448 Secretary: 925-423-6287 (8 to 5 PDT)
7000 East Avenue Email: barsky_at_llnl.gov
Livermore, CA 94550 WWW: http://compbio.llnl.gov/barsky
_______________________________________________________________________