Entering edit mode
10.9 years ago
Pappu
★
2.1k
I am trying to make a helix from actin monomer (pdb id: 3mfp) based on helical parameters in cylindrical coordinates: deltaPhi=166.5, deltaZ=27 A in pymol. However I am ending up only with linear filament:
from pymol.cmd import *
from math import pi,sin,cos
load('3mfp.pdb')
# degree to radians
o=166.5*pi/180
r=50
for i in range(10):
translate([r*cos(o),r*sin(o),27])
save('h'+str(i)+'.pdb')
pymol -cq .py && pymol h.pdb