color submodels using a palette

Dear all, I have a pdb with 20 submodels inside (NMR type) that opens well in chimeraX. I would like to color each submodels individually, using a palette accross these models. For example from model #1.1 in red to model #1.20 in blue. I couldn't find the command online, does it exist in ChimeraX? Thank you Vincent -- Vincent Chaptal, PhD Director of GdR APPICOM Drug Resistance and Membrane Proteins Lab MMSB -UMR5086 7 passage du Vercors 69007 LYON FRANCE +33 4 37 65 29 01 http://www.appicom.cnrs.fr http://mmsb.cnrs.fr/en/

Hi Vincent, Sure, it's just the "rainbow" or "color sequential" command described here: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#sequential> Examples: rainbow #1 structures palette RdYlBu color sequential #1 structures palette accent I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 10, 2022, at 7:32 AM, vincent Chaptal via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear all, I have a pdb with 20 submodels inside (NMR type) that opens well in chimeraX.
I would like to color each submodels individually, using a palette accross these models. For example from model #1.1 in red to model #1.20 in blue.
I couldn't find the command online, does it exist in ChimeraX? Thank you Vincent

Hi Elaine, thank you again for your help. After playing around with it, I was wondering if there is a way to specify the beginning and end colors for the rainbow. I've tried several things that didn't work. Thank you Vincent Le 10/02/2022 à 17:08, Elaine Meng a écrit :
Hi Vincent, Sure, it's just the "rainbow" or "color sequential" command described here: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#sequential>
Examples:
rainbow #1 structures palette RdYlBu color sequential #1 structures palette accent
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 10, 2022, at 7:32 AM, vincent Chaptal via ChimeraX-users<chimerax-users@cgl.ucsf.edu> wrote:
Dear all, I have a pdb with 20 submodels inside (NMR type) that opens well in chimeraX.
I would like to color each submodels individually, using a palette accross these models. For example from model #1.1 in red to model #1.20 in blue.
I couldn't find the command online, does it exist in ChimeraX? Thank you Vincent
-- Vincent Chaptal, PhD Director of GdR APPICOM Drug Resistance and Membrane Proteins Lab MMSB -UMR5086 7 passage du Vercors 69007 LYON FRANCE +33 4 37 65 29 01 http://www.appicom.cnrs.fr http://mmsb.cnrs.fr/en/

Hi Vincent, With the "palette" option of the "color" (or "rainbow") command you can specify whatever colors you want. Either the name of a palette, or any set of colors that you like, as described here: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#sequential> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#palette-options> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/colornames.html#builtin> Example: rainbow #1 structures palette blue:dodgerblue:lime:gold:coral I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 14, 2022, at 1:10 AM, vincent Chaptal via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi Elaine,
thank you again for your help. After playing around with it, I was wondering if there is a way to specify the beginning and end colors for the rainbow. I've tried several things that didn't work.
Thank you Vincent
Le 10/02/2022 à 17:08, Elaine Meng a écrit :
Hi Vincent, Sure, it's just the "rainbow" or "color sequential" command described here:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#sequential>
Examples:
rainbow #1 structures palette RdYlBu color sequential #1 structures palette accent
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
participants (2)
-
Elaine Meng
-
vincent Chaptal