From: John Stone (
Date: Fri Jun 02 2006 - 11:52:30 CDT

  If you use VMD 1.8.4, you can actually use drag-and-drop to select all
of your 200 PDB files in your windowing system's file browser, and drag
them onto the main VMD window. If you then drop them there, VMD will load
them all in separate molecules. You may find that easier than using a
script. If you're comfortable using scripting you can just
type these commands to load all of the PDB files in a directory:

cd /to/my/pdb/files
foreach i [glob *.pdb] {
  mol new $i

  John Stone

On Fri, Jun 02, 2006 at 02:47:35PM +0100, Robert Selwyne wrote:
> Dear VMD Care taker
> Good Day!!!!!!!!!!!
> I have a set of 200 pdb files with me. I want to calculate the averaged rmsd for these 200 structures. I used the RMSD calculator, loaded my 200 pdb structures one by one. But instead of loading the ID number ( 0-199) of the vmd-main screen, it is strangely loading 200 frames.
> Also please tell me is there any global command to load all these pdb files at once.
> I am not expert in scripts writing, so please explain the commands with the existing options that appears in the vmd-main screen.
> With Regards
> Robert
> Send instant messages to your online friends
> Stay connected with your friends even when away from PC. Link:

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:                 Phone: 217-244-3349
  WWW:      Fax: 217-244-6078