[chimerax-users] Non contiguous residues selection from command line

Elaine Meng meng at cgl.ucsf.edu
Sun Jan 22 09:31:52 PST 2023


Hi Leonardo,
Selecting a bunch of residue using their numbers is basically the same as in Chimera, e.g. in ChimeraX you could use command:

select  :172,192-198,208,214

Command-line specification in ChimeraX:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html>

Differences in command-line specification vs. Chimera:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec-diffsum.html>

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

> On Jan 22, 2023, at 8:54 AM, LEONARDO SORCI via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hello there!
> I wondered if there is a way to quickly select noncontiguous residues from the command line (useful, for example, when selecting a set of residues defining an active site, a template for docking, etc.). In standard chimera, I would use the command SELECT with numbers, commas, and hyphens (e.g., SELECT: 172,192,193,208:214).
> Thanks, 
> Leonardo
> Polytechnic University of Marche, Ancona, Italy




More information about the ChimeraX-users mailing list