PyMol

Introduction

PyMOL is a user-sponsored molecular visualization system on an open-source foundation, maintained and distributed by Schrödinger.

PyMOL is a user-sponsored molecular visualization system on an open-source foundation, maintained and distributed by Schrödinger.

There is an open-source version  freely available. More details can be found at pymolwiki

Installation

Windows

Instructions available from pymolwiki

Create an installation directory in the root with the File Manager

c:\PyMOL_Installation


Download the necessary files in the installation directory

Install Python (if necessary, before to begin the installation check if the software is present in your PC)

Open a cmd  window and change directory to the installation directory

cd c:\PyMOL_Installation

Install PyMOL and required software:

c:\PyMOL_Installation>c:\Python37\python pip-19.0.2-py2.py3-none-any.whl\pip install --no-index --find-links="%CD%"  pymol_launcher

Matteo's plugin

Copy the following lines in a file named psa_3d.py located in c:\PyMOL_Installation

from pymol import cmd
def psa3d (arg1=0.6, arg2=-0.6):
    obj_list = cmd.get_names('objects')
    for obj in obj_list:
        cmd.select('noh', '(pc.>'+str(arg1)+'|pc.<'+str(arg2)+'|(e. n OR e. o OR e. h AND(neighbor e. n OR e. o))) AND ' + obj)
        print("3DPSA_noh06 %12s %.3f" % (obj, cmd.get_area('noh')))
    return obj
cmd.extend("psa3d", psa3d)

Run PyMOL

Click on Plugin - Plugin Manager - Install New Plugin - Choose file

Choose psa_3d.py in the directory c:\PyMOL_Installation

Click Ok

Check on the Plugin Manager that the  plugin is installed  and close it.

The plugin is ready.

Load a molecule and type psa3d in the PyMOL command window

When the plugin works, the PSA (SA 3D PSA – NOH+0.6) could be calculated with the following instruction:

set solvent_radius=1.4; set dot_density=4; set dot_solvent=1; psa3d

Home