Hi Hena,

this should be very straight forward with the "color" command and 
selection by residue identifier range:

color green, resi 1-50
color blue, resi 51-90

See also:
http://pymolwiki.org/index.php/Color
http://pymolwiki.org/index.php/Selection_Algebra
http://pymolwiki.org/index.php/Property_Selectors

Cheers,
   Thomas

On 05/10/2012 02:50 PM, Hena Dutta wrote:
> Hi Thomas,
> I have a question about coloring in pymol. I have a pdb file containing
> multiple same chains of a protein with different chain id. Each chain
> has 90 residues. How can I color 1-50 of all chains in green and 51-90
> of all chains in blue with a script. I can do that manually selecting,
> but it takes time. I need to do that many times on different output.
> Looking forward to hearing from you...
> My regards...
> Hena

-- 
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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