[chimerax-users] Select complelementary of range

Elaine Meng meng at cgl.ucsf.edu
Thu Jan 12 11:09:36 PST 2023


Hi Pranav,
There are special symbols you can use in the command-line specifiers, like "~" to mean NOT.  So residues other than 410-420 would be specified in a command like this

color ~ :410-420  red

See the documentation on command-line specifiers:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html>
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#combinations>

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 12, 2023, at 9:35 AM, Pranav Shah via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hi Team,
> How do I go about selecting everything that does NOT lie between a
> given range of residues?
> For instance I want to select everything that is NOT r.410420.
> Best,
> Pranav
> --
> Pranav Shah
> Postdoctoral Research Fellow.




More information about the ChimeraX-users mailing list