Hi Ron

Mmmm...

not really but thanks for the info:)

I have my Bfactor column assigned in percent conservation so the B value
ranges from 
say 30% to 100%. I want to colour my molecule accordingly. Pymol allows
B factor 
colouring but seems only to allow 3 colour choices. It used to allow 4
colour choices say "WYOR"
I was wondering if any one had an idea how I could trick Pymol into
accepting say 4 colours.

Sorry if I was not clearer in the previous.

Thanks again advance.
Gina


-----Original Message-----
From: CCP4 bulletin board [mailto:ccp...@jiscmail.ac.uk] On Behalf Of
Rob Nicholls
Sent: Wednesday, March 31, 2010 3:14 PM
To: CCP4BB@JISCMAIL.AC.UK
Subject: Re: [ccp4bb] B factor Coloring in Pymol

Hi,

I'm aware of two ways to do this:

by writing the colour as a word, e.g:
color white, (mypdbfile//A/*/*)
which will colour a whole chain.

Or by using rgb colours, e.g:
set_color newcolor0 = [1,1,1]; color newcolor0, (mypdbfile//A/2/*)
which will colour individual residues (residue 2 in this case)

Pymol should accept a script containing such lines.

Hope that helps,
Rob


On 31 Mar 2010, at 15:00, Clayton, Gina Martyn wrote:

>
> Dear Everyone
>
> Slightly off topic...
>
> I am trying to colour a structure by B factor in Pymol. More
> specifically I am colouring conserved residues (value in b factor). I
> want to use 4 colours - say white, yellow, orange, red.  However it
> seems that Pymol now only allows 3 colours to be used - I tried the
> script from the Wiki site, but Pymol will not accept the 4 rgb  
> colours.
> Does anyone have an idea how I can colour with 4 colours (but not
> rainbow too confusing).
>
>
> Thanks in advance for any help
>
> Best
> Gina
>
> Notice:  This e-mail message, together with any attachments,  
> contains information of Merck & Co., Inc. (One Merck Drive,  
> Whitehouse Station, New Jersey, USA 08889), and/or its affiliates  
> Direct contact information for affiliates is available at
http://www.merck.com/contact/contacts.html) 
>  that may be confidential, proprietary copyrighted and/or legally  
> privileged. It is intended solely for the use of the individual or  
> entity named on this message. If you are not the intended recipient,  
> and have received this message in error, please notify us  
> immediately by reply e-mail and then delete it from your system.
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates Direct contact information for 
affiliates is available at http://www.merck.com/contact/contacts.html) that may 
be confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this message. 
If you are not the intended recipient, and have received this message in error, 
please notify us immediately by reply e-mail and then delete it from your 
system.

Reply via email to