[chimerax-users] Colouring submodels using a palette

Elaine Meng meng at cgl.ucsf.edu
Mon May 23 09:19:39 PDT 2022


Hi Lorena,
Atomic models, regardless of whether they are models, submodels, subsubmodels ... are "structures" -- you just need to specify which ones to color, if there are other models also present that you don't want to color.  E.g. if you have models #1-3 but only want to color submodels of #1, something like:

rainbow #1 structures palette blue:orange

...or to act on specific submodels #1.5 to #1.23  only, something like:

rainbow #1.5-23 structures palette blue:orange

See rainbow documentation:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#sequential>

I'm going from your description that these ligand positions are really submodels.  If this was opened as a trajectory in ChimeraX, the commands above would not work since the time steps are not different models (or submodels).

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 23, 2022, at 6:04 AM, Lorena Zuzic via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hi all,
> 
> I have a model that contains 256 submodels of a ligand across trajectory frames. I would like to colour the individual models using a palette (e.g., blue:orange) so that the time progression across frames is depicted in colour. Is there a way to assign palette range to submodels?
> 
> Best wishes,
> Lorena 




More information about the ChimeraX-users mailing list