Re: [PyMOL] Extract relative helical character

2022-09-11 Thread Neena Susan Eappen
Thank you all for your help, I am sorry for not framing my question clearly. So I want to learn what percentage of residues are helical in each peptide structure (is this possible on PyMOL?); then I can compute the difference in helical content % between both structures. Many thanks, Neena On

Re: [PyMOL] Extract relative helical character

2022-09-11 Thread Thomas Holder
Hi Neena, Not sure if I understand your question correctly, but if you are looking for the number of helix residues or the relative helix content, you can do this: count_helix = cmd.count_atoms("guide & ss H") count_all = cmd.count_atoms("guide") print("Number of helix residues:", count_helix)