<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On May 2, 2008, at 8:04 PM, James Fethiere wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><br>Another wquestion. I managed to display separate surfaces for 2 chains in a single model using the surfcat command you've recommended last time. Is this command accessible through the menu?</span></blockquote><div><br></div><div>There is no menu equivalent to "surfcat," sorry.</div><blockquote type="cite"><br></blockquote><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">However, I can't color each surface separately according to electrostatics. I know that chimera does not calculate electrostatics. What I tried is to go to tools/surface binding/ electrostatic surface coloring, set the palette to radius and set the full range. What I get when I color is a gradation from red to blue with no atom type discrimination. </span></blockquote><div><br></div>When you choose "radius" the coloring is by distance from a point, not electrostatics.. To actually color by electrostatics, you would have to open an electrostatic potential map and then choose it from that menu (the one with "radius" in it). Also, your two surfaces would be two separate entries in the menu listing the surfaces. You would have to choose one, color, and then choose the other, color again. </div><div><br></div><div>Perhaps it is misleading to call this tool "Electrostatic Surface Coloring" when it is really identical to the "Surface Color" tool: it includes options to color by distance from a point, axis, or plane. The radial coloring is used (for example) to color a virus capsid by the distance from its center to highlight the contours of its surface; see the figure in the man page:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/surfcolor/surfcolor.html">http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/surfcolor/surfcolor.html</a></font></div></div><div><br></div><div>Another possibly confusing thing is that in older versions of Chimera, after you use Surface Color, it can be tricky to change the color of the surfaces. In current versions (recent daily builds), you should just be able to color the surface with the menu (Actions... Color) or commands (color, rangecolor) regardless of whether this tool had been used.</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">So I go to the attributes of this map in the model panel, and color source atoms. Great, I get red for acidic and blue for basics. Now for the other chain, it doesn't work. At the color source atoms step, the whole surface takes one single color. The other thing is that in the model panel I do not have the small color icon for the two maps!! Is there a better way to do this?</span></blockquote><div><br></div><div>The two surfaces would again be listed separately in the Model Panel, and have their own separate attributes dialogs. I don't know what you mean by "doesn't work." Did you try to use the menu or commands to color the surface? Also, I don't know what other things you did in the session, but the red and blue you were seeing were probably just the element colors: surfaces of oxygen atoms (red) and nitrogen atoms (blue). Maybe you had colored the atoms of one chain and not the other. In any case, you could proceed to color the surfaces with the menu and/or commands as mentioned above.</div><div><br></div><div>If you don't have an electrostatic potential map and don't want to color by distance from a point, axis, or plane, there is no reason to use Surface Color. For example, to show the element colors on the surface for the two chains in 2zcp:</div><div><br></div><div>open 2zcp</div><div>surfcat one :.a & protein</div><div>surfcat two :.b & protein</div><div>surf one</div><div>surf two</div><div>col byatom (or "col byhet" to not change carbon color)</div><div><br></div><div>Or, instead of using the atomic element colors, you could color :asp,glu residues red and :his,arg,lys residues blue.</div><div><br></div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><br>Can you also tell me how to make the surfaces smoother. Whatever vertex density I give, I see pretty rough edges and it's not very nice.<br></span></blockquote><br></div><div>The vertex density is the only way I know of for making the surface smoother. I am surprised it is not doing that in your case - it definitely works in the molecular surfaces I have tried: 5.0 is a lot better, 10.0 even better. Did you press return? The main drawback I ran into is that it can take a long time to calculate, rotate, etc. Maybe increasing the probe radius would improve your surface's appearance.</div><div><br></div><div>I hope this helps,</div><div>Elaine</div><br> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div></span><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></span></div></body></html>