From: Neena Susan Eappen (neena.susaneappen_at_mail.utoronto.ca)
Date: Wed May 06 2020 - 16:54:37 CDT

Hello VMD users,

I am trying to do cluster analysis of 30 structures (same molecule, from 30 independent MD simulations). On VMD, I can upload structure one by one, but I saw the below code from the mailing list to make it easier (say by uploading structure 1 as reference and then add remaining 29 structures as frames):

set filelist [glob file*.pdb]
mol new
foreach file $filelist {mol addfile $file}

I tried this command with my file names, but it did not work. Could someone explain to me every line of the above code or refer me to a manual?

Many thanks,
Neena