This is a read-only mirror of pymolwiki.org

List Secondary Structures

From PyMOL Wiki
Jump to navigation Jump to search
import pymol
pymol.stored_ss = []
cmd.iterate('all', 'pymol.stored_ss.append(string.ljust(ss,1))')
print string.join(pymol.stored_ss)