SURFNET: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
m (fix urls)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.
A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [https://www.ebi.ac.uk/thornton-srv/software/SURFNET/ SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.


1. Create your surfaces in "CCP4" format in SURFNET.
1. Create your surfaces in "CCP4" format in SURFNET.


Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of <tt>ccp4link.scr</tt> to replace  
<pre>
Asides:  
A. The "endianness" of SURFNET is set to big endian by default - see the
remarks about the SGI flag.  Change this if you're on a little endian machine,
e.g. LINUX/i386.
B.SURFNET can be compiled against ccp4 version 5 and 6 libraries  
by following the instructions in the SURFNET distribution and modifiying  
the link lines at the end of ccp4link.scr to replace  


<tt>
$CLIB/libccp4.a  
$CLIB/libccp4.a  
</tt>


with  
with  


<tt>
$CLIB/libccp4f.a $CLIB/libccp4c.a
$CLIB/libccp4f.a $CLIB/libccp4c.a
</tt>
</pre>


2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://structure.usc.edu/usf/ USF] [http://structure.usc.edu/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format


e.g. in a shell on LINUX:
e.g. in a shell on LINUX:


<tt>
<pre>
$ lx_mapman
$ lx_mapman


Line 25: Line 29:


MAPMAN > WRITE map1 gaps.xplor XPLOR  
MAPMAN > WRITE map1 gaps.xplor XPLOR  
</tt>
</pre>
 


3. Open the XPLOR map in PyMol
3. Open the XPLOR map in PyMol
Line 32: Line 35:
4. Generate a mesh or surface object from the map using isomesh or isosurface.
4. Generate a mesh or surface object from the map using isomesh or isosurface.


e.g. isomesh gaps_mesh gaps 100.0
e.g. on the PyMol command line:
 
<pre>
isomesh gaps_mesh, gaps, 100.0
</pre>
 
[[Category:Surfaces and Voids]]
[[Category:Third_Party_Software|SURFNET]]

Latest revision as of 08:51, 17 January 2018

A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.

1. Create your surfaces in "CCP4" format in SURFNET.

Asides: 
A. The "endianness" of SURFNET is set to big endian by default - see the 
remarks about the SGI flag.  Change this if you're on a little endian machine, 
e.g. LINUX/i386.
B.SURFNET can be compiled against ccp4 version 5 and 6 libraries 
by following the instructions in the SURFNET distribution and modifiying 
the link lines at the end of ccp4link.scr to replace 

$CLIB/libccp4.a 

with 

$CLIB/libccp4f.a $CLIB/libccp4c.a

2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format

e.g. in a shell on LINUX:

$ lx_mapman

MAPMAN > READ map1 gaps.den

MAPMAN > WRITE map1 gaps.xplor XPLOR 

3. Open the XPLOR map in PyMol

4. Generate a mesh or surface object from the map using isomesh or isosurface.

e.g. on the PyMol command line:

isomesh gaps_mesh, gaps, 100.0