
Hi Krish, Did you look at the examples in the link I sent before? <https://rbvi.ucsf.edu/chimerax/docs/user/commands/label.html#options> You need a space after the word text. You should not have #1.1 or the words "residues attributes" inside the stuff in the quotes. These are separate arguments to the command, not the value of the "text" option which specifies what is inside the label. Also the "attribute" option is for labeling with only a single attribute, but you are not using that, instead you are using "text" so that you can label with multiple attributes. I don't know what your attributes are or what exactly you expect the result to look like, so I can't give you the exact command that you need, but if you are trying to label residues with two attributes of the structures named attrname1 and attrname2 with a comma between them it would be more like this: label #1.1 residues text "{0.structure.attrname1},{0.structure.attrname2}" 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 May 31, 2024, at 9:27 AM, Krishnan Raman via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
<image001.png>
Elaine, I am stuck with this command . can you please help me out? Thanks. Krish
-----Original Message----- From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Tuesday, May 28, 2024 3:35 PM To: Krishnan Raman <RKrishnan@BIOCRYST.com> Cc: chimerax-users@cgl.ucsf.edu Subject: Re: [chimerax-users] attributes from viewdockx.
[EXTERNAL]
Hi Krish, See the "label" command and its "attribute" option:
<https://link.edgepilot.com/s/1dea9e8c/lZKXJdUqZECgkgm0ow-M2w?u=https://rbvi....> <https://link.edgepilot.com/s/47edf4aa/QQV5o3jY1k_07gWSHFARAA?u=https://rbvi....>
There are several examples in the explanation of the option, .e.g.:
label /A:1 residues attr structure.name height 5 offset 1,1,1
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 May 28, 2024, at 1:21 PM, Krishnan Raman via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi guys, • Make ViewDockX table information available as model attributes. December 17, 2021 Used this Py to register my attributes into chimerax. Is there a way to display the attributes next to the model of the ligand? Thanks Krish