<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Apr 13, 2010, at 8:58 AM, Elaine Meng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-family: monospace; ">(b) peptide dihedrals. The phi,psi,chiN values for amino acid residues are automatically assigned as attributes. You can save an attribute (list of values) to a file from the Render by Attribute tool.<br><<a href="http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/render/render.html#saving">http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/render/render.html#saving</a>><br></span></span></blockquote><br></div><div>Also, a short Python script could be used for this:</div><div><br></div><div>from chimera import openModels, Molecule</div><div>for m in openModels.list(modelTypes=[Molecule]):</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>for r in m.residues:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>print r, r.chi1</div><div><br></div><div>If you save the above in a file ending in .py and open it in Chimera (<i>e.g.</i> File...Open, or the "open" command) then the chi1 angles of all residues will be printed to the reply log.</div><div><br></div><div>--Eric</div><div><br></div><br></body></html>