
Ah, thanks for the clarification! (Elaine was right about what I was trying to do). I wrote a python script that generates a .cxc file that randomly colors each residue one at a time. Best, -da On Fri, Aug 30, 2024 at 12:19 PM Elaine Meng <meng@cgl.ucsf.edu> wrote:
!-------------------------------------------------------------------| This Message Is From an External Sender This message came from outside your organization. |-------------------------------------------------------------------!
Hi Daniel, The random color per residue is on the cartoon (ribbon), since cartoons can't be colored per atom. For example, commands:
open 2gbp color random
The atoms are colored randomly per atom. As far as I know, there isn't a way (other than probably some python script that is beyond my skill set) to make all the atoms of the residue match the random color assigned to the residue cartoon.
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On Aug 30, 2024, at 11:31 AM, Daniel Asarnow via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
Hi all, In the color command documentation, it says 'color random' can per atom or per residue. How can random residue colors be specified? I can only get random atom colors.
Thanks!
-da