Hi,
I'm new to pymol scripting and would appreciated some help on a simple
problem.
I have created a pseudo surface using cgo spheres. I would like to load in a
pdb file and place the 8th residue such that the center of the helix is in
0,0,0 and the ca is along the x-axis. Then I would like to tilt the helix x
degrees and rotate it y degrees. Only then will the surface I created be
placed correct relative to the pdb object.
How do I accomplish this?
somethinh along these lines I assume:
cmd.load("x.pdb")
cmd.select("res8_ca","resi 8 and name ca")
cmd.origin("res8_ca")
cmd.???..
... position res8_ca correct, tilt and turn the helix...
cmd.load_cgo(obj,'surface', 1)
Any help would be appreciated.
/Kresten