If you make each chain a separate object, then you can apply a different 
highlight color to each obj.

Select each chain and extract it or copy it to a new obj.

set cartoon_highlight_color, yellow, obj01
set cartoon_highlight_color, red, obj02
set cartoon_highlight_color, blue, obj03
etc.

> On Feb 4, 2015, at 4:22 PM, Thomas Holder <thomas.hol...@schrodinger.com> 
> wrote:
> 
> Hi Gregg,
> 
> cartoon_highlight_color is currently not implemented on the atom-level, so 
> setting it for an atom selection has no effect.
> 
> The next PyMOL version will print a warning if a setting is set on an 
> unsupported level.
> 
> Cheers,
>  Thomas
> 
> On 01 Feb 2015, at 01:20, Gregg Wells <wellsg...@yahoo.com> wrote:
> 
>> Can cartoon_highlight_color be applied to specific regions of a protein 
>> structure?  
>> 
>> For example, I am viewing PDB file 2bg9 in the cartoon mode, with each chain 
>> in a different color.  My PyMOL version is 1.7.4.1 running on a 64-bit 
>> Windows computer.
>> 
>> The command:
>>          set cartoon_highlight_color, yellow
>> does what is expected.  The interiors of all helices of all chains become 
>> yellow.
>> 
>> However, for more specific coloring, I want the helix interiors only of 
>> chain B to display as yellow.
>> When I start with a cartoon display of PDB file 2bg9, the command:
>>          set cartoon_highlight_color, yellow, /Unwin_4Ang_2bg9//B
>> does nothing.  PyMOL seems to accept the command and displays no error 
>> message.
>> 
>> Should cartoon_highlight_color be able to change the interior color of 
>> specific regions of a protein structure?  If Yes, then what is wrong with 
>> the command
>>          set cartoon_highlight_color, yellow, /Unwin_4Ang_2bg9//B
>> 
>> What is the correct syntax for applying cartoon_highlight_color to specific 
>> selections of a protein?
>> 
>> Thanks.
>> 
>> Gregg
> 
> -- 
> Thomas Holder
> PyMOL Principal Developer
> Schrödinger, Inc.
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

H. Adam Steinberg
7904 Bowman Rd
Lodi, WI 53555
608/592-2366


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to