<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="">Hi Tatiana,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>“read” reads files that contain Chimera commands (like “color red”, “ribbon”, etc.) not Python commands. You would use the “open” command to read Python files (as well as many other types of files of course). Make sure the file name ends in “.py” so the open command recognizes it as a Python file.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>You may want to look through the Chimera Programmer’s Guide (<a href="http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/index.html" class="">http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/index.html</a>) to get more familiar with how Chimera is organized at the Python level. Also, the “extremely basic primer” for looping through data files in Chimera and performing actions on them would seem to be very relevant to what you’re doing. It’s linked from the Programmer’s Guide and the direct URL is <a href="http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html" class="">http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html</a></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>So is a “SCF” file a sequence chromatogram file? If so, getting Chimera to read and display that is doable, maybe via matplotlib, maybe in the Sequence viewer. You will undoubtedly need to ask more questions really. FYI programming questions would be best sent to the chimera-dev list rather than the chimera-users list.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I hope it goes well.</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 17, 2015, at 1:56 AM, BRUXELLES Tatiana (ETU VIE) <<a href="mailto:tatiana.bruxelle@etu.unistra.fr" class="">tatiana.bruxelle@etu.unistra.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Dear Sir, dear Madam<br class=""> I am a Master student at the Université de Strasbourg in France and I am currently doing an internship in a bioinformatics lab : the LBGI in Strasbourg. One of my tasks during this internship is to make Chimera read about 80 files with the extensions .scf. The problem is that software doesn't to be able to read my command file. I can't even make it read a print instruction. To execute those files I use the command : read File_name in command line on chimera. I am gonna join the files so you can see. Could you suggest a solution to my problem ?<br class="">Kind regards, Bruxelles Tatiana<br class=""><span id="cid:7489F7A9-D431-4F0F-854E-3401B6448E13@cgl.ucsf.edu"><titi.py></span><span id="cid:ED0ED48C-BCA5-401A-87DE-970ECBB99372@cgl.ucsf.edu"><prog.cmd.bak></span>_______________________________________________<br class="">Chimera-users mailing list<br class=""><a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br class=""></div></blockquote></div><br class=""></div></body></html>