Hi Elaine, Thank you very much. Best wishes, Reza ________________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: 28 October 2025 9:45 PM To: Reza Khayat <rkhayat@ccny.cuny.edu> Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu> Subject: [EXTERNAL] Re: [chimerax-users] Average attribute Hi Reza, If you use "color byattribute" to color ribbons by an atom attribute, it will calculate residue averages "under the hood" and use those for the color-value mapping of each residue's ribbon segment. You can also use that command's "average residues" option to color atoms and their molecular surface patches based on the averages over their residues. <https://urldefense.com/v3/__https://rbvi.ucsf.edu/chimerax/docs/user/command... > However, ChimeraX does not have an "attribute calculator" user interface. As far as I know, obtaining some kind of output of those residue-average values would require python scripting. Somebody else would have to advise on that (beyond my skill set, sorry). Best, 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 Oct 28, 2025, at 6:19 PM, Reza Khayat via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi,
How do I average atom attributes to residue attributes? Let's assume the attributes name is mapvalues. Thanks.
Best wishes, Reza
Reza Khayat, PhD City College of New York Department of Chemistry and Biochemistry