Hi Tsjerk,

Do you mean something like this?

cmd.index("sel_1 and sel_2")

I do not get the differences between your two cases. Whats the difference
between “atoms which are both in selection 1 and 2” and “matching atoms in
the two selections”

Cheers,

Osvaldo.

On Mon, Oct 26, 2015 at 10:33 AM, Tsjerk Wassenaar <tsje...@gmail.com>
wrote:


> Hi Thomas e.a.,
>
> Given two selections, would there be an easy way to
>
> 1. find the atoms which are both in selection 1 and 2, and the indices of
> those in the selections
>
> and
>
> 2. find the matching atoms in the two selections, like align does, and the
> indices of those in the selections
>
> Thanks,
>
> Tsjerk
>
> --
> Tsjerk A. Wassenaar, Ph.D.
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
​
------------------------------------------------------------------------------
_______________________________________________
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