[Chimera-users] Selecting certain atoms with exception
Elaine Meng
meng at cgl.ucsf.edu
Tue Mar 14 09:21:20 PDT 2017
Hi Kelvin,
You could do it in two commands, which may be easier conceptually:
select :trp
~sel :285
To do it in a single command, you’d use something like this (logical “and not”):
select :trp & ~ :285
I hope this helps,
Elaine
----------
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Mar 14, 2017, at 2:37 AM, Kelvin Lau <Kelvin.Lau at unige.ch> wrote:
>
> Dear Chimera users,
> I'm trying to do the following:
>
> -select all the atoms of a single residue (trp)
>
> -except for one (residue number 285)
>
> I am not sure how to use a negation command to leave out only 285. Any ideas?
> Cheers
> Kelvin
More information about the Chimera-users
mailing list