schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.15k stars 275 forks source link

Modify torsion angles of multiple nucleotides #243

Open anilkurkcu opened 2 years ago

anilkurkcu commented 2 years ago

I am using pymol.cmd.set_dihedral to modify e.g. alpha torsion angle for a specific nucleotide in an RNA sequence. However, a basic for loop in python to modify all nucleotides within a sequence is just taking too long. Does the PyMOL API have any function or something for this purpose?