<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you Elaine. This helps.</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> 01 December 2021 18:27<br>
<b>To:</b> Y. Mutum <ym337@cam.ac.uk><br>
<b>Cc:</b> chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] coloring clipped surface only separately</font>
<div> </div>
</div>
<div style="word-wrap:break-word; line-break:after-white-space">Hi Yaikhomba,
<div class=""><br class="">
</div>
<div class="">(1) to color the surface cap separately, just use its model number. Use the disclosure triangles in the Model Panel to show the model numbers. The cap is a submodel of the surface model. You can use this model number in "color" commands or
you can click its color square in the Model Panel to use the system color chooser interactively. </div>
<div class=""><br class="">
</div>
<div class="">See for example this screenshot with Model Panel showing that the cap model is #1.2.1, and some coloring commands for that surface in the Log:</div>
<div class=""><img id="x_2327FDE4-A7BE-4E44-AED0-4225284026D1" width="577" height="272" class="" data-outlook-trace="F:1|T:1" src="cid:844DCA9B-A399-4226-A00D-5D8E50735852"></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">(2) clipping plane position is saved in sessions, or within one session you can save different positions (including the position of the clipping planes) using the "view name" command, and restore them with "view" plus the name that you gave. See</div>
<div class=""><<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name" class="">https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name</a>></div>
<div class=""><br class="">
</div>
<div class="">Or if you want to report clip plane position(s), see command "clip list"</div>
<div class=""><<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/clip.html" class="">https://rbvi.ucsf.edu/chimerax/docs/user/commands/clip.html</a>></div>
<div class=""><br class="">
</div>
<div class="">However, applying those numbers in a different session may not give the result you want unless you also put all the structures in the same positions as well.</div>
<div class=""><br class="">
</div>
<div class="">I hope this helps,</div>
<div class="">Elaine</div>
<div class="">
<div class="">-----<br class="">
Elaine C. Meng, Ph.D. <br class="">
UCSF Chimera(X) team<br class="">
Department of Pharmaceutical Chemistry<br class="">
University of California, San Francisco<br class="">
<br class="">
</div>
<blockquote type="cite" class="">On Dec 1, 2021, at 6:11 AM, Y. Mutum via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class="">
<br class="">
Hi Elaine and Team<br class="">
<br class="">
My question relates on how we can color the 'clipped surface only' using a different color independently. This is without messing up the color of the outer surface of the model.<br class="">
<br class="">
Suppose the outer surface of the pdb-model has been colored by hydrophobicity (mlp). Then, I slice the model using the 'side view' tool. Now, using the 'surface cap' command, I can get a clipping plane which is colored 'bychain'. However, if I try to color
the clipped surface using a different color, the entire hydrophobicity surface is no longer there. These are my commands below.<br class="">
<br class="">
Is there a way to color the clipped surface by a different color? If not is there a way around?<br class="">
The commands I have used are:<br class="">
<br class="">
>>> open 6g2j; hide all; <br class="">
>>> color #1 green; color /B-G,I,Q,P,R,W,q yellow; <br class="">
Then using the side view tool, clip the surface of the model to get a slice. I am trying to clip in the plane containing Chain D and B.<br class="">
>>> mlp #1;<br class="">
>>> surface cap true;<br class="">
Then, I can get a clipping plane colored by-chain. If I then type<br class="">
>>>color zone #1 near #1 distance 5<br class="">
Then, I can get the clipped surface to change its color but this messes up the hydrophobicity of the outer surface.<br class="">
<br class="">
Thus, <br class="">
<div class=""><span class="x_Apple-tab-span" style="white-space:pre"></span>• Is there a way to color the clipped surface separately, while not messing up with the outer surface coloring (hydrophobity in this case)?<br class="">
</div>
<div class=""><span class="x_Apple-tab-span" style="white-space:pre"></span>• Suppose I want to remember this clipping plane for another ChimeraX session and would like to avoid the manual clipping using the 'Side view'. Using command line, is there a way to
get back to the clipping plane? Similar to 'camera matrix' command, but, with the 'sectioned plane' also included.<br class="">
</div>
Thanks<br class="">
Yaikhomba<br class="">
</blockquote>
<br class="">
</div>
</div>
</body>
</html>