VMD-L Mailing List
From: Blake Charlebois (bdc_at_mie.utoronto.ca)
Date: Mon Jun 20 2005 - 12:28:39 CDT
- Next message: Mikolai Fajer: "Rotating cube files"
- Previous message: Justin: "Re: Unable to create OpenGL window for vmd starting"
- In reply to: Andrea Carotti: "Script for automated selection"
- Next in thread: Axel Kohlmeyer: "Re: Script for automated selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I am not sure I understand what you are looking for, but there is a
procedure called mkrep here that may help:
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/4819.html
You could use a loop like this:
foreach mol_id [molinfo list] {
...commands that adjust the representations of $mol_id taken from
above mkrep procedure...
}
Also useful: http://www.tcl.tk/man/tcl8.3/TclCmd/contents.htm
Blake
-----Original Message-----
From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of
Andrea Carotti
Sent: June 20, 2005 10:39 AM
To: vmd-l_at_ks.uiuc.edu
Subject: vmd-l: Script for automated selection
Dear all,
I'm not familiar in doing scripts in vmd and i apologize for that.
I need a simple script for the selection and the representation of only a
residue of my pdb files.
I'll start vmd with the command vmd -m *.pdb (30 pdbs of complexes in a
directory)
so i'll have vmd with 30 molids in it.
I need only to visualize the residue with the name DRG (ligand) present in
each complex.
I need a kind of foreach in vmd. Could someone help me?
Thanks a lot
Andrea
- Next message: Mikolai Fajer: "Rotating cube files"
- Previous message: Justin: "Re: Unable to create OpenGL window for vmd starting"
- In reply to: Andrea Carotti: "Script for automated selection"
- Next in thread: Axel Kohlmeyer: "Re: Script for automated selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]