This is a read-only mirror of pymolwiki.org

Difference between revisions of "Apbsplugin"

From PyMOL Wiki
Jump to navigation Jump to search
m (→‎Example: fix typo)
m (2 revisions)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<div style="background-color: #9f9; padding: 10px 20px; margin-bottom: 20px">
 +
This page describes the "APBS Tools2.1" plugin, based on the
 +
[https://sourceforge.net/projects/pymolapbsplugin/ original version]
 +
by [[User:Mglerner|Michael G. Lerner]].
 +
 +
For the new plugin in Incentive PyMOL 2.0, see [[APBS Electrostatics Plugin]].
 +
</div>
 +
 
{{Infobox script-repo
 
{{Infobox script-repo
 
|type      = plugin
 
|type      = plugin
Line 5: Line 13:
 
|license  = BSD
 
|license  = BSD
 
}}
 
}}
 +
 +
The [[apbsplugin|APBS Tool2.1]] plugin integrates the
 +
[http://www.poissonboltzmann.org APBS]
 +
software package into PyMOL.
 +
Its primary purpose is electrostatic surface visualization.
  
 
== Software requirements ==
 
== Software requirements ==
Register use of the software. This will the authors able to require funding for further development.<br>
 
Register here, it takes 1 minutes: http://www.poissonboltzmann.org/apbs/downloads <br>
 
And register here, it takes 1 minutes: http://www.poissonboltzmann.org/pdb2pqr/d/downloads
 
  
This plugin is ready "out-of-box" for Linux/Win users through the project [[git_intro | Pymol-script-repo]]
+
* [https://raw.githubusercontent.com/Pymol-Scripts/Pymol-script-repo/master/plugins/apbsplugin.py apbsplugin.py] (Install via PyMOL's plugin manager)
 +
* [https://github.com/Electrostatics/apbs-pdb2pqr/releases APBS] (Ubuntu users: <code>apt-get install apbs</code>)
 +
* [https://github.com/Electrostatics/apbs-pdb2pqr/releases pdb2pqr] (Ubuntu users: <code>apt-get install pdb2pqr</code>)
  
=== Windows ===
+
Please register at http://www.poissonboltzmann.org/ to ensure continued support for the APBS-PDB2PQR software.
Download '''APBS.msi''' from: http://sourceforge.net/projects/apbs/files/apbs/ <br>
 
  
=== Ubuntu ===
+
== Examples ==
APBS are in the repository: http://packages.ubuntu.com/search?keywords=apbs <br>
 
sudo apt-get install apbs
 
  
=== Compile yourself ===
+
There is a nice tutorial on the APBS homepage:
If you really want, then see this section: [[APBS]]
+
http://apbs-pdb2pqr.readthedocs.io/en/latest/examples/using-pymol.html
  
== Examples ==
+
For further help, there is a [https://sourceforge.net/projects/apbs/lists/apbs-users mailing list].
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] <br>
 
For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]
 
  
 
=== Example 1 ===
 
=== Example 1 ===
Line 41: Line 48:
 
Tadaaa!
 
Tadaaa!
 
Hide it again, now show both ''Positive'' and ''Negative'' Isosurface
 
Hide it again, now show both ''Positive'' and ''Negative'' Isosurface
 +
 +
== Saving default locations ==
 +
=== Via environment variables ===
 +
 +
Set the environment variables APBS_BINARY_DIR, APBS_WEB_DIR, APBS_PSIZE_DIR, APBS_PDB2PQR_DIR, and/or TEMP, and things should work properly as long as you're using the most recent version of the plugin.
 +
 +
=== Via editing the plugin ===
 +
 +
Open up the python file associated with the plugin (typically apbsplugin.py), look for the section near the top labeled "Global config variables" and change the values from None to a string.
 +
  
 
== Troubleshooting ==
 
== Troubleshooting ==

Latest revision as of 02:21, 20 August 2018

This page describes the "APBS Tools2.1" plugin, based on the original version by Michael G. Lerner.

For the new plugin in Incentive PyMOL 2.0, see APBS Electrostatics Plugin.

Type PyMOL Plugin
Download plugins/apbsplugin.py
Author(s) Michael G. Lerner
License BSD
This code has been put under version control in the project Pymol-script-repo

The APBS Tool2.1 plugin integrates the APBS software package into PyMOL. Its primary purpose is electrostatic surface visualization.

Software requirements

  • apbsplugin.py (Install via PyMOL's plugin manager)
  • APBS (Ubuntu users: apt-get install apbs)
  • pdb2pqr (Ubuntu users: apt-get install pdb2pqr)

Please register at http://www.poissonboltzmann.org/ to ensure continued support for the APBS-PDB2PQR software.

Examples

There is a nice tutorial on the APBS homepage: http://apbs-pdb2pqr.readthedocs.io/en/latest/examples/using-pymol.html

For further help, there is a mailing list.

Example 1

Read about the protein here: http://www.proteopedia.org/wiki/index.php/3ig7

Download: examples/apbsplugin_1.pml
This code has been put under version control in the project Pymol-script-repo

<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/examples/apbsplugin_1.pml" highlight="python" />

Open the APBS Tool2.1... plugin. The executable should be found for itself:

Click in Selection to use, and write cdk2.
Click Set grid
Click Run APBS
To the left in Molecular Surface, click Show.
Tadaaa! Hide it again, now show both Positive and Negative Isosurface

Saving default locations

Via environment variables

Set the environment variables APBS_BINARY_DIR, APBS_WEB_DIR, APBS_PSIZE_DIR, APBS_PDB2PQR_DIR, and/or TEMP, and things should work properly as long as you're using the most recent version of the plugin.

Via editing the plugin

Open up the python file associated with the plugin (typically apbsplugin.py), look for the section near the top labeled "Global config variables" and change the values from None to a string.


Troubleshooting

See: APBS#Troubleshooting

References and LICENSES

APBS

When using the APBS, you are "obligated" to register your use of the software. This will the authors able to require funding for further development.
Register here, it takes 1 minutes: http://www.poissonboltzmann.org/apbs/downloads

Please acknowledge your use of APBS by citing:
Baker NA, Sept D, Joseph S, Holst MJ, McCammon JA. Electrostatics of nanosystems: application to microtubules and the ribosome. Proc. Natl. Acad. Sci. USA 98, 10037-10041 2001. doi:10.1073/pnas.181342398

Please acknowledge your use of the Holst group software by citing:
M. Holst and F. Saied, Multigrid solution of the Poisson-Boltzmann equation. J. Comput. Chem. 14, 105-113, 1993.
M. Holst and F. Saied, Numerical solution of the nonlinear Poisson-Boltzmann equation: Developing more robust and efficient methods. J. Comput. Chem. 16, 337-364, 1995.
For PMG (the multigrid solver):
M. Holst, Adaptive numerical treatment of elliptic systems on manifolds. Advances in Computational Mathematics 15, 139-191, 2001. doi:10.1023/A:1014246117321
For FEtk (the finite element solver):
R. Bank and M. Holst, A New Paradigm for Parallel Adaptive Meshing Algorithms. SIAM Review 45, 291-323, 2003. doi:10.1137/S003614450342061

pdb2pqr

When using the pdb2pqr, you are "strongly encourage" to register your use of the software. This will the authors able to require funding for further development.
Register here, it takes 1 minutes: http://www.poissonboltzmann.org/pdb2pqr/d/downloads

MALOC

Please acknowledge the use of MALOC and FETK by citing:
M. Holst, Adaptive numerical treatment of elliptic systems on manifolds. Advances in Computational Mathematics, 15 (2001), pp. 139-191.

Copyright and Terms of Use:
GNU General Public License: http://www.gnu.org/copyleft/gpl.html

This version of MALOC is distributed under the following guidelines:
MALOC (Minimal Abstraction Layer for Object-oriented C) 
Copyright (C) 1994-2010 Michael Holst 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.