From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jul 18 2013 - 21:43:02 CDT

Hi,
  You might also want to have a look at the Clone Sepresentations plugin
found in the Extensions | Visualization | Clone Representations menu....

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, Jul 19, 2013 at 11:18:40AM +1000, Tristan Croll wrote:
> Unless someone's already done it, this will need some scripting knowledge.
>
>
>
> Something along the lines of:
>
>
>
> foreach molid [molinfo list] {
>
> mol selection "protein and resid xxx"
>
> mol addrep $molid
>
> set repid [expr [molinfo $i get numreps] - 1]
>
> mol modstyle $repid $molid CPK
>
> mol modcolor $repid $molid molecule
>
> }
>
>
>
> Should get you on the right track. Type "mol" into the TkConsole to get a
> bunch of other useful commands.
>
>
>
> From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf
> Of Dennis N Bromley
> Sent: Friday, 19 July 2013 8:08 AM
> To: vmd-l ks.uiuc.edu
> Subject: vmd-l: How can I easily show ball and stick residues across all
> molecules and representations?
>
>
>
> Hi all,
>
>
>
> I apologize if this is a newbie question. I was not able to find an
> answer in my various searches.
>
>
>
> I have six molecules loaded into VMD (v. 1.9). Three wild type and three
> mutant structures, all colored differently (e.g. WT#1 is green, WT#2 is
> red, etc). I would like to quickly show residue 200 (say) as ball and
> stick and have that residue appear as ball and stick in all molecules,
> colored in the same way as the rest of the molecule. I know how to do
> this in Pymol, but I don't know how to do this is VMD. Any help would be
> great. What I am trying to avoid doing is laboriously going through each
> molecule, adding a ball and stick representation, setting the atom
> selection, setting the color, etc.
>
>
>
> thanks!
>
> -denny-
>
>
>
>
>
>

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/