<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">To execute Chimera commands from a shell script without a graphical user interface (means no image saving), how about just pipe the commands separated by semicolons into chimera started with the —nogui option.<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>echo "open 1a0m ; delete :.B ; write 0 chainA.pdb" | chimera —nogui</div><div><br></div><div> Tom</div><div><br></div><div><br></div><div><br><div><div>On Nov 13, 2014, at 11:33 AM, James Starlight wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Thank you very much!<br>BTW is it possible to call some Chimera's commands form the Linux shell (like in Pymol for instance)? It would be perfect method to use this opportunity in part of some scripts.<div><br>James</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-10 18:46 GMT+01:00 Elaine Meng<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi James,<br>
Take a look at the "findclash" command:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/findclash.html" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/findclash.html</a>><br>
<br>
For example, if you had selected the lipids, maybe something like:<br>
<br>
findclash protein test sel<br>
<br>
That would look only between protein and lipids. If you wanted to find all clashes including protein-protein and lipid-lipid, you could select both protein and lipids, and then use a command something like:<br>
<br>
findclash sel test self<br>
<br>
It could be done a few different ways like using atomspecs instead of selection. I recommend looking at the command options because there are also adjustable parameters, and choices as to how to show the results (lines, coloring, etc.). The command has all the same features as the GUI tool Find Clashes/Contacts (in menu under Tools… Structure Analysis).<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/findclash/findclash.html" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/findclash/findclash.html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
----------<br>
Elaine C. Meng, Ph.D.<br>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<div class="HOEnZb"><div class="h5"><br>
On Nov 10, 2014, at 7:03 AM, James Starlight <<a href="mailto:jmsstarlight@gmail.com">jmsstarlight@gmail.com</a>> wrote:<br>
<br>
> Dear Chimera users!<br>
><br>
> This timeI'm writing of some automatic script aimed on the embedding of the receptors into the membrane consisted of the pre-equilibrated lipids as well as hole for the protein. The main issue that some of the receptors consist of the bulky PHE or TRP side chains on their surface which are overlap with the lipids atoms. As the result subsequent MD simulation of these systems is crushed although of long minimization stage prior to it. I'll be very thankful if someone provide me with some Chimera's command for automatic detection of these steric clashes (overlapped atoms) for a given selection (e.g protein and lipids) based on which I'll be able to write automatic python script.<br>
><br>
> Thanks for help,<br>
><br>
> James<br>
<br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>Chimera-users mailing list<br><a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br></blockquote></div><br></div></body></html>