From: Thomas H. <tho...@sc...> - 2013-01-10 09:12:51
|
Hi Robert, you again need to set the "surface_color" for the selected residues, instead of using the color command. That these two are not synced makes sense, you can for example have a half-transparent surface in one color and a stick representation below in another color. PyMOL> set surface_color, red, (sele) By the way: you can omit the "selection" argument in your ramp_new call, this would be for automatic ranging. Cheers, Thomas Muench, Robert wrote, On 01/09/13 21:00: > Dear pymol-user, > > we are currently facing problems with the coloring of molecules. We > color our molecule using a color ramp as follows: > > pseudoatom pOrig, pos=(0,0,0), label=origin > fetch XXX, async=0, type=pdb1 > as surface > ramp_new proximityRamp, pOrig, selection=(XX*), range=[110,160], color=ocean > set surface_color, proximityRamp, (XX*) > > After that we would like to color defined residues for example in red > using the selection tool. Although the color is changed in the sequence > pane, the color is not applied to the molecule. > > Any suggestions? > > Best > > Robert -- Thomas Holder PyMOL Developer Schrödinger Contractor |