[chimerax-users] How to change the palette of hydrophobicity in ChimeraX
Le Han
han.le at aalto.fi
Wed May 19 05:26:55 PDT 2021
Hi Elaine,
Thank you so much for your help. I managed to change it.
Have a nice day!
Han
From: Elaine Meng<mailto:meng at cgl.ucsf.edu>
Sent: Tuesday, 18 May 2021 18.12
To: Le Han<mailto:han.le at aalto.fi>
Cc: chimerax-users at cgl.ucsf.edu<mailto:chimerax-users at cgl.ucsf.edu>
Subject: Re: [chimerax-users] How to change the palette of hydrophobicity in ChimeraX
Hi Han,
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.
Instructions on "mlp" command and how to specify palettes:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/mlp.html>
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#palette-options>
The hydrophobic coloring icon in the Toolbar "Molecule Display" tab uses command:
mlp
...which is same as:
mlp palette lipophilicity range -20,20
To use the same value range but get blue for hydrophilic and red for hydrophobic, you could use, for example, command:
mlp palette blue-white-red range -20,20
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.
In the "mlp" instructions linked above, you can see there are several other options of the command that may interest you.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On May 18, 2021, at 6:55 AM, Le Han <han.le at aalto.fi> wrote:
>
> Hi,
> 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?
> Thank you in advance,
> Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210519/32787be6/attachment.html>
More information about the ChimeraX-users
mailing list