Hello Markus,

Selection algebra (https://pymolwiki.org/index.php/Selection_Algebra) may
be able to help you here. Try doing:

"select site, site or res 666"

Jarrett J.

On Mon, Jul 23, 2018 at 2:02 PM, Markus Heller <mhel...@cdrd.ca> wrote:

> Hi,
>
> How can I add a residue to an existing selection?
>
> Example: I'm comparing the binding sites of two superposed protein
> structures, and show the side chains with a certain distance to the
> ligand.  Sometimes the side chain of one protein falls just outside that
> distance, and thus isn't shown, which looks odd.
>
> In essence what I'd like to be able to do is this:
>
> select site, (byres all within 6 of ligand) and polymer
> add_to_sel site, resi=666
>
> Is this possible somehow?
>
> Thanks
> Markus
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



-- 
Jarrett Johnson,
Schrödinger
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to