<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 5, 2008, at 8:28 AM, Kristina Furse wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">You are correct in your assessment--I don't know Python, but I do know Perl so I</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">just wanted to use Perl to produce a line by line Chimera script that would do</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">some zooms and rotations, writing POV files (actually x3d files that I'll</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">translate into POV files in a later step), then flow straight into an MD movie,</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">writing POV files for each frame. No worries--I'm sure I can figure out how to</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">do a per-frame Python script that will write an x3d file with a unique name for</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="4" style="font: 14.0px Monaco">each trajectory frame. It just made more sense to me the other way around.</font></p> </blockquote><br></div><div>Unless you are going to process many trajectories, the easiest approach I think is for you to write your Perl script to handle the initial zoom/rotation part, then to switch to MD Movie's per-frame scripting for the rest. You don't have to use Python for the per-frame scripting, you can use regular Chimera commands. As mentioned in the per-frame dialog, the string "<FRAME>" in commands will be substituted with the current frame number, so it should be easy to produce uniquely-named files.</div><div><br class="webkit-block-placeholder"></div><div>--Eric</div><div><br class="webkit-block-placeholder"></div><br></body></html>