Arange Pdb Files Into A Helix
0
0
Entering edit mode
10.3 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

python pymol • 2.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 1585 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6