[chimerax-users] cartoon highlight color?

Joel Meyerson jrm2008 at med.cornell.edu
Tue Apr 7 13:12:12 PDT 2020


Hi Elaine,
Thank you for the suggestions. I will experiment with the granular coloring options you gave to see if I can get the look I'm going for.

All the best,
Joel

On 4/7/20, 1:36 PM, "Elaine Meng" <meng at cgl.ucsf.edu> wrote:

    Hi Joel,
    ChimeraX currently does not have a "highlight color" (an option to use a different color for the inside of helices).
    
    However, otherwise you  can color helix/strand/other any colors you like.  You just specify "helix" or "strand" in the "color" command, using the "target" option of the command to limit the coloring to only the cartoons (target c) and/or atoms, surface patches, etc.
    
    <https://urldefense.proofpoint.com/v2/url?u=http-3A__rbvi.ucsf.edu_chimerax_docs_user_commands_color.html-23simple&d=DwIFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=JnYzuUa3E5p4u7qrfPzeZV8LIgMpwauz4WIvX7NJIi8&m=99xpbXYQ-KyCyDbdOOwZTvyIv1VuFKcs6fgv1BBWl90&s=2d3kvE5f-tUfN2HL-nsjlR8cawxbdqKHE6RAzZY_5_A&e= >  
    <https://urldefense.proofpoint.com/v2/url?u=http-3A__rbvi.ucsf.edu_chimerax_docs_user_commands_atomspec.html-23builtin&d=DwIFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=JnYzuUa3E5p4u7qrfPzeZV8LIgMpwauz4WIvX7NJIi8&m=99xpbXYQ-KyCyDbdOOwZTvyIv1VuFKcs6fgv1BBWl90&s=7S_QHEn_ye1AkJJ6iEr_BMWoZr2lKkInlbKG9CGyOHU&e= >
    
    For example,
    
    color protein gold target c
    color helix hot pink targ c
    color strand  #48d1cc targ c
    
    For the colors themselves, there are many names built in, or you can use hex codes or R,G,B, etc. You can see the names + color swatches listed alphabetically in the Log with command "color list" but they are more organized by color in the table here:
    <https://urldefense.proofpoint.com/v2/url?u=http-3A__rbvi.ucsf.edu_chimerax_docs_user_commands_colornames.html&d=DwIFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=JnYzuUa3E5p4u7qrfPzeZV8LIgMpwauz4WIvX7NJIi8&m=99xpbXYQ-KyCyDbdOOwZTvyIv1VuFKcs6fgv1BBWl90&s=TwtNT8BVWnoSADvDssIC32eAscb8mpPgruDv8Am7bDA&e= >
    
    If you like to use a certain trio of colors repeatedly you can put the three commands into a .cxc file and define them as a custom preset, to be listed in your Presets menu for easy use.  See Preferences, category:Startup to define a custom preset.
    <https://urldefense.proofpoint.com/v2/url?u=http-3A__rbvi.ucsf.edu_chimerax_docs_user_preferences.html-23startup&d=DwIFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=JnYzuUa3E5p4u7qrfPzeZV8LIgMpwauz4WIvX7NJIi8&m=99xpbXYQ-KyCyDbdOOwZTvyIv1VuFKcs6fgv1BBWl90&s=cgrHdfo8VUoCIJkg4LRyRaSip_107f4C9ogk5vO6cAE&e= >
    
    I hope this helps,
    Elaine
    -----
    Elaine C. Meng, Ph.D.                       
    UCSF Chimera(X) team
    Department of Pharmaceutical Chemistry
    University of California, San Francisco
    
    > On Apr 7, 2020, at 10:01 AM, Joel Meyerson <jrm2008 at med.cornell.edu> wrote:
    > 
    > Hi,
    > Is there a way to customize the highlight color of helices and strands? For example, here is how it appears in Pymol.
    >  
    > https://urldefense.proofpoint.com/v2/url?u=https-3A__pymolwiki.org_index.php_Cartoon-5Fhighlight-5Fcolor&d=DwIFAg&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=JnYzuUa3E5p4u7qrfPzeZV8LIgMpwauz4WIvX7NJIi8&m=99xpbXYQ-KyCyDbdOOwZTvyIv1VuFKcs6fgv1BBWl90&s=YtWpKzKYP6upu4db98AlB-MMQylS0V2mQwgVMQ9dldo&e= 
    >  
    > Thanks,
    > Joel
    
    




More information about the ChimeraX-users mailing list