From: Michael B. <mb...@uv...> - 2004-02-18 10:16:02
|
On Tuesday, February 17, 2004, at 02:57 PM, ALEX DAJKOVIC wrote: > hello- > i am new to pymol and am trying to figure out how to differentially > color different chains (i.e. different proteins) in the structure i am > viewing. the structure i am working with is actually a structure of=20= > two > proteins that were co-crystalized and i would like assign different > colors to them. > thanks for your help. > alex dajkovic Hello Alex, I think what you want is to use the 'select' function in=20 combination with the 'resi' function. This is documented in the=20 reference manual. Following is a helpful summary that was sent to me by Robert L.=20 Campbell, Ph.D. Let's say I wanted to create a single residue selection for Lysine 465=20= (and I choose to call the selection 'K465'), so that I could color and=20= display it the way I wanted: (insert your particular atom coordinates=20 file name where you see square brackets below) _______________________________________ select K465, ([filename] and chain A and resi 465) or you could shorten the selection string: select ak465, (abc & c. a and r. 465) or use the shorthand notation: select ak465, /abc//a/465 _______________________________________ =98 Now to create multiple residue selections, just separate the start and=20= end residue numbers by a colon, I think, following the word 'resi' Once you create your unique selections they show up in the right panel=20= list and you can further manipulate their display properties as you see=20= fit. Regards, --Michael |