This is a read-only mirror of pymolwiki.org

User talk:Ahnlab

From PyMOL Wiki
Revision as of 04:16, 14 December 2009 by Slaw (talk | contribs)
Jump to navigation Jump to search

Hello PyMOLWiki Users,

I am a graduate student finishing a thesis on MAPK allostery and activation. We are predominantly a signalling and proteomics lab, but I use hydrogen exhcange mass spectrometry (HXMS) as a primary analytical method and thus use high resolution structures for analysis and interpretation. I have a few questions for the community.
One, I am interested in H bond distances & angles. I found the feature that calculates H bond distances (1773045), but I cannot find a way to extract them from the viewer. Is there a way to export these H bond assignments & distances to a txt, csv or other easily manipulated file type? Is there a way to calculate the bond angle and export them as well?
Two, is there a way to calculate the distance from every protein backbone amide to the surface (nearest surface point) and export these as well? Thank you.

Enjoy

In short, PyMOL was never meant to be an analysis tool although it has the capabilities of performing rather complicated calculations when needed. Having said that, you can write Python scripts that will do exactly what you want to do and to write the calculated values directly into a file. This can be challenging if you haven't coded in Python before (with respect to PyMOL) but it is well worth it. You can get a good idea of how to perform custom calculations by looking in the scripting area.

Good luck!


Thank you for the response. While learning python has been on my list of things to do, it is not yet checked off. I imagine learning how to script these two calculations is not trivial for a novice, but we do have experts around that can help. Do you know of any sortware that can perform the calculations in question? Thank you!


If you're analyzing PDB files then you might as well write a simple script (using any language of your choice) to process the PDB file. In fact, you can simply use AWK to extract the two sets of coordinates that you're interested in (for a distance calculation) and run it through a script to calculate the distance. This can be the same thing for an angle (with the exception that you'll have 3 sets of coordinates). For simulation trajectory files, there's a set of tools called the MMTSB toolset which is very handy but may take you some time to learn.