VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Oct 15 2004 - 10:44:47 CDT
- Next message: John Stone: "Re: AutoIMD"
- Previous message: Shirley Li: "Re: Align a PORTION of several structures"
- In reply to: S.G.Falkovich: "change color from script"
- Next in thread: Amarda Shehu: "outputing xyz coordinates of selection"
- Reply: Amarda Shehu: "outputing xyz coordinates of selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
It depends greatly on how you want to select the residues as to how you
would proceed with coloring them. If you want all ALA residues to be a
different color, you can simply do something like:
color Resname ALA red
If you want to color a certain group of residues a particular way, it is
often best to use atom selections to select that group of residues, and
then set the color via the ColorID coloring method:
mol modselect 0 0 "resid 1 to 10"
mol modcolor 0 0 ColorID 0
There's more information about all of this in the User's Guide.
John Stone
vmd_at_ks.uiuc.edu
On Wed, Oct 13, 2004 at 01:27:06PM +0400, S.G.Falkovich wrote:
> Sir,
>
> I need to change color and representation of some residues automatically, from script.
>
> Can anybody help me?
-- 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: AutoIMD"
- Previous message: Shirley Li: "Re: Align a PORTION of several structures"
- In reply to: S.G.Falkovich: "change color from script"
- Next in thread: Amarda Shehu: "outputing xyz coordinates of selection"
- Reply: Amarda Shehu: "outputing xyz coordinates of selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]