<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-FI" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Elaine,</p>
<p class="MsoNormal">Thank you so much for your help. I managed to change it.</p>
<p class="MsoNormal">Have a nice day!</p>
<p class="MsoNormal">Han</p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:meng@cgl.ucsf.edu">Elaine Meng</a><br>
<b>Sent: </b>Tuesday, 18 May 2021 18.12<br>
<b>To: </b><a href="mailto:han.le@aalto.fi">Le Han</a><br>
<b>Cc: </b><a href="mailto:chimerax-users@cgl.ucsf.edu">chimerax-users@cgl.ucsf.edu</a><br>
<b>Subject: </b>Re: [chimerax-users] How to change the palette of hydrophobicity in ChimeraX</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Han,</p>
<p class="MsoNormal">Although the icon just uses the "mlp" command with the default palette, you can use the "mlp" command with any palette that you want. The "palette" option specifies palette and "range" specifies value range.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Instructions on "mlp" command and how to specify palettes:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><https://rbvi.ucsf.edu/chimerax/docs/user/commands/mlp.html></p>
<p class="MsoNormal"><https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#palette-options></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The hydrophobic coloring icon in the Toolbar "Molecule Display" tab uses command:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">mlp</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">...which is same as:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">mlp palette lipophilicity range -20,20</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To use the same value range but get blue for hydrophilic and red for hydrophobic, you could use, for example, command:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">mlp palette blue-white-red range -20,20</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since red-white-blue is traditionally used for electrostatic coloring, however, you will have to be sure to explain the image so that people understand it is showing hydrophobicity instead.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the "mlp" instructions linked above, you can see there are several other options of the command that may interest you.</p>
<p class="MsoNormal">I hope this helps,</p>
<p class="MsoNormal">Elaine</p>
<p class="MsoNormal">-----</p>
<p class="MsoNormal">Elaine C. Meng, Ph.D. </p>
<p class="MsoNormal">UCSF Chimera(X) team</p>
<p class="MsoNormal">Department of Pharmaceutical Chemistry</p>
<p class="MsoNormal">University of California, San Francisco</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">> On May 18, 2021, at 6:55 AM, Le Han <han.le@aalto.fi> wrote:</p>
<p class="MsoNormal">> </p>
<p class="MsoNormal">> Hi, </p>
<p class="MsoNormal">> Iād like to change the colour palette of hydrophobicity to red (most hydrophobic) ā white ā blue (most hydrophilic). Is it possible to do so in ChimeraX and how can I change?</p>
<p class="MsoNormal">> Thank you in advance,</p>
<p class="MsoNormal">> Han</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>