<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><span style="font-family: ArialMT;" class="">Dear developers, </span><br style="font-family: ArialMT;" class="">
</div>
<div class=""><span style="font-family: ArialMT;" class=""><br class="">
</span></div>
<div class=""><span style="font-family: ArialMT;" class="">I am trying to create a bunch of images using Chimera. </span></div>
<div class=""><span style="font-family: ArialMT;" class="">I wrote a script that create the scene using the following steps:</span></div>
<div class=""><span style="font-family: ArialMT;" class=""><br class="">
</span></div>
<div class="">
<div class=""><font face="ArialMT" class=""><b class="">mc_frame=str(INPUT_FRAME_NUMBER)</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">rmffile=str("PATH_TO_RMF")</b></font></div>
<div class=""><font face="ArialMT" class=""><b class=""><br class="">
</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">runCommand('open '+rmffile)</b></font></div>
<div class=""><font face="ArialMT" class=""><b class=""><br class="">
</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">runCommand('set bgcolor white')</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">runCommand('windowsize 1028 1028')</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">runCommand('~set depthCue')</b></font></div>
<div class=""><font face="ArialMT" class=""><b class="">runCommand('set projection orthographic')</b></font></div>
<div class=""><font face="ArialMT" class=""><b class=""><br class="">
</b></font></div>
<div class=""><span style="font-weight: bold; font-family: ArialMT;" class="">runCommand('wait 2')</span></div>
</div>
<div class=""><font face="ArialMT" class="">
<div style="font-weight: bold;" class="">runCommand('scale 0.75')</div>
<div style="font-weight: bold;" class="">runCommand('copy file ./Image_'+mc_frame+'.png PNG supersample 3 dpi 300')</div>
<div style="font-weight: bold;" class="">runCommand('close all')</div>
<div style="font-weight: bold;" class="">runCommand('stop now’)</div>
<div style="font-weight: bold;" class=""><br class="">
</div>
<div class="">While the scrips works in the headless version using PDB files, I have not been successful when using RMF files. </div>
<div class="">The images when using the RMF files are just the background color (red when set to red, blue when set to blue) without the structure. </div>
<div class="">I tried also to add the display .2 option as in:</div>
<div class=""><b class="">runCommand(‘display #0.2’) </b></div>
<div class="">which corresponds to the RMF beads scene in the model panel. </div>
<div class=""><br class="">
</div>
<div class="">I should add that using the GUI version of chimera, the script works fine and all the images are properly created.</div>
<div class=""><br class="">
</div>
<div class="">Do you have any hints/clues on what could be done to make it work? </div>
<div class="">(I am running the script the full version of chimera but the headless should be more efficient). </div>
<div class=""><br class="">
</div>
<div class="">Thanks, </div>
<div class="">Ilan</div>
</font></div>
</body>
</html>