This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Arange Pdb Files Into A Helix

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

python pymol

0 answers

No answers yet.

Log in to answer this question.