Hi Mario,
I'll include two different ways you could do this in Chimera 1.1700:
----------------
with menu
----------------
Actions... Atoms/Bonds... hide
Actions... Ribbon... show
Actions... Ribbon... edged
Actions... Color... white
Select... Structure... secondary structure... helix
Actions... Color... red
Select... Structure... secondary structure... sheet
Actions... Color... cyan
Select... Clear selection
----------------
with commands
----------------
~display
ribbon
ribrepr edged
ribcolor white
ribcolor red :/isHelix
ribcolor cyan :/isSheet
----------------
In both approaches, first the atoms are undisplayed, then the ribbon
is turned on. The step setting the ribbon type to "edged" is optional;
you could use whichever ribbon type you want. Then, I make everything
white before making helices red and strands cyan. The reason I don't
use the turn descriptor is that it only applies to explicit PDB TURN
records, whereas in most cases, the PDB only contains HELIX and SHEET
records.
You could just put the commands in a plain text file, for example
named "sscolor.com," and then use the command "source sscolor.com"
to execute all the commands in the file.
(The file must be in the working directory; otherwise you will
have to include the whole path in the source command.)
I hope this helps!
Elaine
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Elaine C. Meng, Ph.D.
Computer Graphics Lab and Babbitt Lab
meng(a)cgl.ucsf.edu
http://www.cgl.ucsf.edu/home/meng/index.html
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Hi,
I'm new to Chimera but I'm missing a simple script
in the menu for the normal display of ribbons.
Helices in ribbons should be colored in red, strands in cyan,
and the rest in white. May you provide such a script?
Thank you much,
Mario Albrecht
Greetings: Can you tell me how to completely get rid of the black
background on which structures appear? As you probably know printer
ink is not cheap.
Thanks - Jakob Schmidt, Dept . Biochem and Cell Biol. SUNY Stony Brook