From: Nat E. <nat...@ya...> - 2002-03-26 07:03:17
|
Is there any way to color by secondary structure? I know of other programs that do this (Molmol, for example- though its colors are hideous); I'd be happy using a scripted solution if that's easiest. I'm guessing there's some easy way to loop through residues or atoms and determine what their structure assignment is, but I never figured out how to access this info. If there isn't anything that'll do this, perhaps I'll just write it. -Nat |
From: Warren L. D. <wa...@su...> - 2002-03-26 07:58:06
|
On Tue, 26 Mar 2002, Nat Echols wrote: > Is there any way to color by secondary structure? I know of other It's a snap: # first, load a structure with defined SS load $PYMOL_PATH/test/dat/1tii.pdb hide show cartoon # now color color green color red,ss h color yellow,ss l set cartoon_discrete_colors=1 NOTE: the last command turns off color annoying color blending between secondary structure elements. Cheers, Warren |