[chimerax-users] Coloring pdb surface by different colors
Elaine Meng
meng at cgl.ucsf.edu
Thu Nov 26 16:05:49 PST 2020
Hi Yaikhomba,
Definitely yes, you just need to specify the residue range in the "spec" (specifier) part of the "color" command.
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#simple>
As explained in that help page, to color only the molecular surface for those residues (not atomic sticks, ribbons, etc.) you would include the "target s" option. For example, these commands would show molecular surface for 2gbp and color the parts of the surface orange for residues 50-100 and 126-135 in chain A:
open 2gbp
surface
color /A:50-100,126-135 orange target s
image of result attached.
This page explains command-line specification (how to specify parts of the structure instead of the whole structure):
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html>
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Nov 26, 2020, at 12:48 PM, Y. Mutum <ym337 at cam.ac.uk> wrote:
>
> Hi
>
> I have a pdb with 10 TMH (single polypeptide protein, so only 1 chain in pdb). The first TMH are colored in green and the rest in yellow.
> Is there a way to create a surface that consists of both these colors? i.e. Surface corresponding to TMH's 1-5 is colored in green, while the surface corresponding to TMH's 6-10 in yellow?
>
> I tried the surface command option but it seems to color the entire surface in a uniform color.
>
> Any suggestions would be very helpful.
>
> Thanks
> Yaikhomba
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201126/5dd8a510/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-11-26 at 4.03.41 PM.png
Type: image/png
Size: 290828 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201126/5dd8a510/attachment-0001.png>
More information about the ChimeraX-users
mailing list