PyMOL Python Interface

From MSL-Libraries
Revision as of 16:28, 17 February 2010 by Dwkulp (talk | contribs)
Jump to navigationJump to search

Install PythonMSL plugin

  1. Install PyMOL by going here: http://www.pymol.org/
  2. First you need to make the PythonMSL.so library ( Pre-compiled libraries should be available in the future )
    1. Download MSL
    2. make all objects
    3. make pythonLin or make pythonMac depending if you are on linux or mac.
  3. Copy MSLDIR/exampleFiles/pymolrc.py to ~USERNAME/.pymolrc.py


Using PythonMSL

After loading a PDB file, in the PyMOL window, type getSasa("all")


For Developers

Need to install development libraries for Python, can be installed by default when python is installed, but you need to make sure you have Python.h and the associated library. Check the Makefile for paths where it was installed on MacOS 10.5 and Ubuntu 9.10