This is a read-only mirror of

Msms surface

From PyMOL Wiki
Jump to navigation Jump to search

Included in psico
This command or function is available from psico, which is a PyMOL extension.

Module psico.msms

msms_surface calculates a molecular surface with MSMS and loads it into PyMOL as a CGO.


msms_surface is available from the psico package and requires the msms binary.

All dependencies are available from Anaconda Cloud:

conda install -c schrodinger pymol
conda install -c schrodinger pymol-psico
conda install -c bioconda -c speleo3 msms


msms_surface [ selection [, state [, density [, name
    [, atomcolors [, exe [, preserve ]]]]]]]


  • selection = str: atom selection {default: polymer}
  • state = int: object state {default: 1}
  • density = float: MSMS surface point density {default: 3}
  • name = str: name of CGO object to create
  • atomcolors = 0/1: color surface by atom colors {default: 0}
  • exe = str: path to msms binary {default: find in $PATH}
  • preserve = 0/1: don't delete msms generated files {default: 0}


Use atom colors:

import psico.msms
fetch 1ubq, async=0
msms_surface atomcolors=1

Use a solid color:

msms_surface name=bluesurf
color blue, bluesurf

See Also