<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);" class="elementToProof">
Hi Elaine,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for the info. It worked.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Best regards</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Nadun</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<b></b><span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Nadun Karunatilleke</b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Ph.D. Candidate </b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Dr. James Choy's Lab</b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Department of Biochemistry</b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Schulich School of Medicine & Dentistry</b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>Western University</b></span></p>
<p style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span style="font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;"><b>London, Ontario, Canada N6A 5C1</b></span></p>
<br>
</div>
</div>
</div>
</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> Friday, August 5, 2022 3:17 PM<br>
<b>To:</b> Nadun Chanaka Karunatilleke R Wasala Mudiyanselage Vihare <nkarunat@uwo.ca><br>
<b>Cc:</b> chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] Color by Chemical Shift Perturbations</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Nadun,<br>
Sure, you can put as many value,color pairs in the command as you want. The example you may be referring to just gives two pairs:<br>
<br>
<<a href="https://www.rbvi.ucsf.edu/chimerax/data/nanobody-feb2021/chemshift.html">https://www.rbvi.ucsf.edu/chimerax/data/nanobody-feb2021/chemshift.html</a>><br>
<br>
...with command:<br>
color byattribute csp palette 0,lightgray:0.1,green noValueColor skyblue<br>
<br>
However, you could just specify more value,color pairs in the palette, for example:<br>
<br>
color byattribute csp palette 0,skyblue:0.025,green:0.05,yellow:0.075,orange:0.1,red noValueColor gray<br>
<br>
This is explained in the command help:<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#byattribute">https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#byattribute</a>><br>
<br>
...specifically the palette options:<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#palette-options">https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#palette-options</a>><br>
<br>
You can see lots of color names here, or use command "color list" to show them in the Log.<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/colornames.html#builtin">https://rbvi.ucsf.edu/chimerax/docs/user/commands/colornames.html#builtin</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Aug 5, 2022, at 11:39 AM, Nadun Chanaka Karunatilleke R Wasala Mudiyanselage Vihare via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:<br>
> <br>
> Hi admin,<br>
> I am trying to color the protein surface based on the chemical shift perturbations. As mentioned in the example published on March 15th, 2021, I was able to color the surface. However, I needed to add 6 levels, and I failed to do so. It was possible to define
the levels and colors in chimera but I failed to do so in chimerax. Is there a way to solve this?<br>
> Thank you<br>
> <br>
> Nadun<br>
> <br>
> Nadun Karunatilleke<br>
> Ph.D. Candidate <br>
> Dr. James Choy's Lab<br>
> Department of Biochemistry<br>
> Schulich School of Medicine & Dentistry<br>
> Western University<br>
> London, Ontario, Canada N6A 5C1<br>
<br>
</div>
</span></font></div>
</body>
</html>