Automating H bond distance retrieval

Hi, I was wondering about the possibility of writing a setup.com file which is capable of opening a receptor.pdb and ligand.pdb file, locating the H-bonds between these two structures and then reporting back the lengths of the bonds? Currently I am able to open both files, execute addh, addcharge, and hbonds with my setup.com file. However I am unsure of how to proceed from there. Many thanks and I look forward to your response. Samuel Freeman-Fox ************************************************************************** The information contained in the EMail and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of Porton Biopharma Ltd, or the intended recipient, or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this EMail has been swept for computer viruses by Symantec.Cloud, but please re-sweep any attachments before opening or saving. *******************************************

Hi Samuel, The “hbonds” command has options to save information including the distances to text file and/or to the Reply Log (which you can show ifrom the Favorites menu). <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/hbonds.html> If manually saving Reply Log (click its Save button) is not practical in your situation, like you are going through a lot of structures, see this explanation of how to script the processing of multiple structures. Such a script could also be used to generate different hbond output filenames for each input structure, or if you just save all the results in one long Reply Log instead of output files, this page also explains how to save Reply Log contents with Python. (There is no Chimera command to do it). <http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
participants (2)
-
Elaine Meng
-
Samuel FreemanFox