Hi Lindsey,

The following should work:

  select sele, obj1 and not (obj1 like obj2)

or to match all identifiers, not only resi/name:

  select sele, obj1 and not (obj1 in obj2)

There are also actual "diff" and "symdiff" commands available from PSICO 
(https://pymolwiki.org/index.php/Psico). Try this:

run 
https://raw.githubusercontent.com/speleo3/pymol-psico/master/psico/selecting.py
symdiff obj1, obj2

Hope that helps.

Cheers,
  Thomas

On 23 Jan 2017, at 14:00, L. Doyle <ldo...@fhcrc.org> wrote:

> Hello!
> Does anyone know how to select residues in object 1 that are different from 
> object 2? I know how to select residues that are similar ("select name, obj1 
> like obj2") but can't figure out how to do the opposite. I am running PyMOL 
> on a Mac.
> Thank you,
> Lindsey

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.

Reply via email to