That looks spot on thanks Eric.
Does chimera specify anything other than "isHelix"/"isSheet"/"isTurn"?
I can see these in chimera's object model (stole your image below!). Is disordered sequence treated differently or just as Turn in Chimera?
I'll run this through the commandline with Jaime's pychimera (a real game changer for me!) so creating output files I'll probably just handle with piping STDOUT.
Thanks,
Joe
On Oct 9, 2016, at 9:53 AM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
If you just want to look at predominance of secondary structures, you would not use those integers which mean first strand, second strand, first helix, etc. Instead you could just see how many residues are already assigned as strand, helix, and coil. There aren’t commands to do this directly, only some very cumbersome approaches that I imagine are vastly inferior to using Python (like “select strand” and then writing a list of all those residues with “writesel” etc.).
I can’t help with the Python side, this is just the perspective from the commands side. All the commands I mentioned are documented,
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/framecommand.html>