Re: [PyMOL] coordination bonds

2010-05-23 Thread Maia Cherney
Thank you for your help. However, I have 4  Mg ions  in the au, so all 
Mg ions (and all coordinated ligands) got connected. I need only 
coordination for one Mg.

Maia

Nathaniel Echols wrote:
> On Sun, May 23, 2010 at 3:55 PM, Maia Cherney  > wrote:
>
> I would like to show coordination bonds between Mg ion and its ligands
> (oxygens) as broken lines, the distance of Mg-O bond is between
> 1.9-2.2 A.
>
>  
> dist elem mg, (all within 2.2 of elem mg) 
>
> Might need to try a slightly longer length to catch everything.
>
> -Nat
> 
>
> --
>
>   
> 
>
> ___
> 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


Re: [PyMOL] coordination bonds

2010-05-23 Thread Nathaniel Echols
On Sun, May 23, 2010 at 6:33 PM, Maia Cherney  wrote:

> Thank you for your help. However, I have 4  Mg ions  in the au, so all Mg
> ions (and all coordinated ligands) got connected. I need only coordination
> for one Mg.
>

Then you need to qualify the selection with the residue number, and repeat
up to 4 times.  Same principle still applies, though:

dist (elem mg and resid 341), (all within 2.2 of (elem mg and resid 341))

this particular example may be unnecessarily verbose if the residue number
is unique.

-Nat
--

___
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

Re: [PyMOL] coordination bonds

2010-05-23 Thread Maia Cherney
I found a similar command

dist 1, elem mg, elem o, 2.2

Nathaniel Echols wrote:
> On Sun, May 23, 2010 at 3:55 PM, Maia Cherney  > wrote:
>
> I would like to show coordination bonds between Mg ion and its ligands
> (oxygens) as broken lines, the distance of Mg-O bond is between
> 1.9-2.2 A.
>
>  
> dist elem mg, (all within 2.2 of elem mg) 
>
> Might need to try a slightly longer length to catch everything.
>
> -Nat
> 
>
> --
>
>   
> 
>
> ___
> 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


Re: [PyMOL] coordination bonds

2010-05-23 Thread Nathaniel Echols
On Sun, May 23, 2010 at 3:55 PM, Maia Cherney  wrote:

> I would like to show coordination bonds between Mg ion and its ligands
> (oxygens) as broken lines, the distance of Mg-O bond is between 1.9-2.2 A.
>

dist elem mg, (all within 2.2 of elem mg)

Might need to try a slightly longer length to catch everything.

-Nat
--

___
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

Re: [PyMOL] coordination bonds

2010-05-23 Thread Maia Cherney
I would like to show coordination bonds between Mg ion and its ligands 
(oxygens) as broken lines, the distance of Mg-O bond is between 1.9-2.2 A.

Maia



--

___
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