[chimerax-users] All-numeric residue names

Elaine Meng meng at cgl.ucsf.edu
Mon Aug 16 09:45:55 PDT 2021


Hi Tristan,
To specify a residue by all-numeric residue name, you can use the "name" attribute, e.g. in this label command:

label ::name="287" height 2

Attribute specification:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#attributes>

I didn't include "name" in the User Guide list of residue attributes, thinking people wouldn't need to use it in the command line, but then again maybe I should list it for situations like this...
<https://rbvi.ucsf.edu/chimerax/docs/user/attributes.html#residue>

Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco


> On Aug 16, 2021, at 7:12 AM, Tristan Croll via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Was just looking at 2rg6, which happens to have a ligand with an all-numeric 3-character ID (287)... clearly not much thinking went into allowing that. Anyway, does the residue selection syntax have a way to disambiguate residue *number* 287 from residue *name* 287?
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users




More information about the ChimeraX-users mailing list