<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Macdojme</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Macdojme"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Macdojme"/>
	<updated>2026-05-26T02:08:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=3714</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=3714"/>
		<updated>2008-04-27T01:32:01Z</updated>

		<summary type="html">&lt;p&gt;Macdojme: /* Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within pymol.  Pymol can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by Michael Lerner. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units k&amp;lt;sub&amp;gt;b&amp;lt;/sub&amp;gt;T/e&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;) in the molecular display window (as with the image to the right).  See [http://www-personal.umich.edu/~mlerner/PyMOL/ Michael Lerner's Page] for more details, including instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&lt;br /&gt;
 fink self-update&lt;br /&gt;
 fink install apbs&lt;br /&gt;
&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&lt;br /&gt;
 fink self-update&lt;br /&gt;
 fink install apbs&lt;br /&gt;
&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&lt;br /&gt;
 fink install pymol-py25&lt;br /&gt;
&lt;br /&gt;
Note that the fink version of pymol '''already has''' the latest version of the APBS plugin.  You are set to go!&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;pre&amp;gt;$ make; make install&amp;lt;/pre&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/pre&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ make all; make install&amp;lt;/pre&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/pre&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -i apbs*.deb&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&lt;br /&gt;
 echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
 echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
 emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;/div&gt;</summary>
		<author><name>Macdojme</name></author>
	</entry>
</feed>