Oh, and always use 'reply-to-all' if this is follow-up on a post.

Cheers,

Tsjerk

---------- Forwarded message ----------
From: Tsjerk Wassenaar <tsje...@gmail.com>
Date: Sat, Apr 4, 2015 at 9:14 PM
Subject: Re: [PyMOL] Displaying covalent bonds between amino acids (within
protein) and ligand
To: Brenton Horne <brentonho...@ymail.com>


Hi Brenton,

Try:

help select

Cheers,

Tsjerk


On Sat, Apr 4, 2015 at 7:50 PM, Brenton Horne <brentonho...@ymail.com>
wrote:

> Thanks for this, but I would like to know one extra thing. How do I define
> a variable that corresponds to a selection (e.g., resi 62 and r. pnm) that
> I can call later on in a PML script? I ask because I'd like to colour the
> PNM-ser62 complex according to the element each atom belongs to.
> Specifically this is the sort of colouring I have in mind:
>
>> color black, elem c and sel
>> color blue, elem n and sel
>> color white, elem h and sel
>> color red, elem o and sel
>> color orange, elem p and sel
>> color sulfur, elem s and sel
>> color fluorine, elem f and sel
>> color chlorine, elem cl and sel
>>
> where sel is this selection variable I'd like.
>
>
> On 5/04/2015 12:16 AM, Tsjerk Wassenaar wrote:
>
>> hide
>> show cartoon
>> show sticks, r. pnm
>> show sticks, resi 62 and not name c+n+o
>>
>
>


-- 
Tsjerk A. Wassenaar, Ph.D.




-- 
Tsjerk A. Wassenaar, Ph.D.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.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