_____________________________
From: Elaine Meng <
meng@cgl.ucsf.edu>
Sent: Tuesday, March 14, 2017 17:21
Subject: Re: [Chimera-users] Selecting certain atoms with exception
To: Kelvin Lau <
kelvin.lau@unige.ch>
Cc: <
chimera-users@cgl.ucsf.edu>
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@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