Mario,
> From: Mario Sanchez [mailto:sanc...@if.sc.usp.br]

> I have some questions using pymol and I wonder if someone can give me
> some help.
> 
> At first I would like to know if there are any way to define 
> more colors
> than that appearing in the menu. Is there some kind of "rgb" 
> definition,
> for exemple?

the "set_color" command:

set_color khaki,[0.95,0.9,0.7]

> I also tried to change the colors of the sticks only, without success.
> When I chance the colors of the atoms in side chains it works, but
> changing color of carbon alpha causes change in cartoon too. 
> Is there a
> way to do it?

Not with a single object, but remember that it is trivial to make copies
of objects in PyMOL which are shown using different representations and
coloring schemes.

In this case, create a copy of the object, then show the ribbon on the
original with one color scheme, and then show the sticks on the copy:

load orig.pdb
create cpy,(orig)
hide
show cartoon,orig
show sticks,cpy

You can now color the two independently.

> Finally I didn't find a way to put labels in residues -- like Tyr-25
> beside a tyrosine -- and to make "ray" of it. 

You got me there: vectorized labels are on the TO DO list, but for now
you'll need to add labels manually.  The normal labels won't work
because they are rasterized into the OpenGL buffer...

Cheers,
Warren

Reply via email to