VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Oct 21 2005 - 10:28:00 CDT
- Next message: John Stone: "Re: Loading multiple molecules in one step / "Apply changes automatically""
- Previous message: Michel Espinoza-Fonseca: "RE: Loading multiple molecules in one step / "Apply changes automatically""
- In reply to: Björn Windshügel: "Loading multiple molecules in one step / "Apply changes automatically""
- Next in thread: John Stone: "Re: Loading multiple molecules in one step / "Apply changes automatically""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
You can do this in a script pretty easily, like this:
proc loadlotsafiles { filespec } {
foreach filename [glob $filespec] {
mol new $filename
}
}
>From there you'd do something like:
loadlotsafiles /my/directory/of/files*.pdb
I plan to upgrade the VMD file loading interfaces to allow users
to load multiple files at once, but haven't finished this yet.
John
On Fri, Oct 21, 2005 at 04:54:59PM +0200, Björn Windshügel wrote:
> Hi everybody,
>
> can anyone tell me if there is a possibility in VMD to load more than one
> molecule in a step? When analysing docking results it sucks loading 40 docked
> conformations using the standard procedure. It would be nice having the
> possibility to load the content of a whole directory or to select several
> files at once for example by using the Shift or Strg Key.
>
> Another observation is that having done a selection for a trajectory using the
> command "within 5 of resid 333" and having clicked "Apply changes
> automatically" I always have to click the "Apply" button when watching
> another frame since the changes are not done automatically. In a previous
> version of VMD (1.6 or so) this worked fine.
>
> Best regards,
>
> Björn
>
>
>
> --
> Björn Windshügel
> Institut für Pharmazeutische Chemie phone: (49)345 55-25043
> Martin-Luther-Universität Halle-Wittenberg fax: (49)345 55-27355
> Wolfgang-Langenbeck-Strasse 4 web: www.drugdesigner.de
> 06114 Halle (Saale)
-- 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
- Next message: John Stone: "Re: Loading multiple molecules in one step / "Apply changes automatically""
- Previous message: Michel Espinoza-Fonseca: "RE: Loading multiple molecules in one step / "Apply changes automatically""
- In reply to: Björn Windshügel: "Loading multiple molecules in one step / "Apply changes automatically""
- Next in thread: John Stone: "Re: Loading multiple molecules in one step / "Apply changes automatically""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]