Re: [PyMOL] PyMOL Help

2010-07-13 Thread Jason Vertrees
Hi Matthew, You can specify a chain with "chain X" or the abbreviated "c. X" where X is the chain identifier. In your case, # select residue 2 from chain E select catalytic, resi 2 and chain E # same as above select catalytic, i. 2 and c. E For more help, see the PyMOLWiki (http://www.pymolwik

Re: [PyMOL] PyMOL Help

2010-07-13 Thread João Rodrigues
Hello Matthew, You write something like and chain A. To select chain A. In your case, doing select catalytic, resi 2 and chain E should do the trick Best! João [...] Rodrigues @ http://doeidoei.wordpress.org On Tue, Jul 13, 2010 at 5:28 AM, Matthew Jenner wrote: > Hi PyMOL, > > This may be

[PyMOL] PyMOL Help

2010-07-13 Thread Matthew Jenner
Hi PyMOL, This may be a very simple problem to solve. How do I select chain-specific individual residues in the command line? For example: 1PSO.pdb has two chains: E and I. If I enter [select catalytic, resi 2] I get the residue I want selected BUT i also get residue 2 in the I chain selected - w

Re: [PyMOL] need more info

2010-07-13 Thread Robert Campbell
Hi Vivek, On Tue, 13 Jul 2010 13:18:07 -0400 Vivek Ranjan wrote: > Thank you once again. I have been trying to change the color of the cell. > > cell = [] > cell.append(CYLINDER) > cell = cell + vert_000 + vert_100 + [radius] + [0,0,0] + [1,0,0] > cell.append(CYLINDER) > cell = cell +

Re: [PyMOL] need more info

2010-07-13 Thread Jason Vertrees
Vivek, append and extend are Python functions. "cell = []" asks Python to create you a Python list and name it "cell." For more information on list functions see the Python docs (http://docs.python.org/library/stdtypes.html#mutable-sequence-types) about mutable sequence types. Cheers, -- Jason

Re: [PyMOL] need more info

2010-07-13 Thread Vivek Ranjan
Thank you once again. I have been trying to change the color of the cell. cell = [] cell.append(CYLINDER) cell = cell + vert_000 + vert_100 + [radius] + [0,0,0] + [1,0,0] cell.append(CYLINDER) cell = cell + vert_000 + vert_010 + [radius] + [0,0,0] + [0,1,0] cell.append(CYLINDER) if I

Re: [PyMOL] need more info

2010-07-13 Thread Robert Campbell
Hello Vivek, On Tue, 13 Jul 2010 11:21:03 -0400 Vivek Ranjan wrote: > Hello, > > First, thanks a lot for your help. Pymol with cctbx works now for me. > I changed the script "pymol" and replaced "/usr/binpython" to "python" > and thats it. Few more questions: > > (i) draw_cell.py uses lavv.pdb

[PyMOL] need more info

2010-07-13 Thread Vivek Ranjan
Hello, First, thanks a lot for your help. Pymol with cctbx works now for me. I changed the script "pymol" and replaced "/usr/binpython" to "python" and thats it. Few more questions: (i) draw_cell.py uses lavv.pdb as an example. Where can I find this pdb file ? Basically, I am making my own pdb fi