Thanks !!! Worked perfectly

Arun Gupta PhD, MRSC

Research Fellow

Challis & Lewandowski Group

Chemistry Department

University of Warwick
Gibbet Hill Road
Coventry CV4 7AL
United Kingdom


From: Elaine Meng <meng@cgl.ucsf.edu>
Sent: Monday, August 30, 2021 3:46 PM
To: Gupta, Arun <Arun.Gupta@warwick.ac.uk>
Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu>
Subject: Re: [chimerax-users] Region-wise specific sub-coloring of SS elements
 
Hi Arun,
If I understand your question correctly, you can do what you want by combining specifications using the "&" symbol, for example:

color :1-300 & helix darkcyan
color  :301-500 & helix blue

Combinations including intersections discussed here:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#combinations>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                      
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco


> On Aug 30, 2021, at 6:52 AM, Gupta, Arun via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Dear ChimeraX team,

> Is there an easier way around by which we can do region-wise specific sub-coloring of secondary structural elements within a large protein instead of using the tedious way of identifying the secondary structural elements and then describing the residue wise specific selection of set of residues related to secondary structure elements? I am aware that we can do coloring of specific secondary structure elements in ChimeraX by following commands for e.g “color helix “darkcyan” targ c”. But, I am looking forward to do coloring, let’ say “all the helices within a protein from residues 1-300 as dark cyan and residues 300-500 as blue”

> Thanks!!!
> Arun