This is a read-only mirror of pymolwiki.org
Difference between revisions of "MAC Install"
Line 9: | Line 9: | ||
===Essentials=== | ===Essentials=== | ||
− | The [http://delsci.com/macpymol/ download] is about as straightforward as it gets, and you can install it wherever it makes you happy. | + | The [http://delsci.com/macpymol/ download] is about as straightforward as it gets, and you can install it wherever it makes you happy. You need a 3 button mouse (clickable scroll wheel = middle button). Apple has finally come to its senses and designed a proper, ergonomically pleasant, [http://www.apple.com/mightymouse/ scrollbutton mouse] that works well with pymol and permits horizontal scrolling. Most other mice will also work well. |
+ | |||
+ | One word of warning: '''Do not install 3rd party drivers''' for multi-button mice if you can avoid it. These often mess with the mapping of the middle button or have other horrific side effects. Fortunately, with OS X, you should not need to. | ||
I ([[User:Wgscott|Bill Scott]]) wrote a [http://xanana.ucsc.edu/Library/init/zsh/local-functions/xtal/pymol pymol] shell script (and zsh function) to invoke this on the command line. It uses mdfind to find the executable that lives in MacPyMOL.app/Contents/MacOS/PyMOL and pass arguments to it. | I ([[User:Wgscott|Bill Scott]]) wrote a [http://xanana.ucsc.edu/Library/init/zsh/local-functions/xtal/pymol pymol] shell script (and zsh function) to invoke this on the command line. It uses mdfind to find the executable that lives in MacPyMOL.app/Contents/MacOS/PyMOL and pass arguments to it. |
Revision as of 03:44, 15 February 2006
http://images.apple.com/powermac/images/solutionsscience20050427.jpg
Installing MacPyMOL
http://delsci.com/macpymol/macpymol350.jpg
Essentials
The download is about as straightforward as it gets, and you can install it wherever it makes you happy. You need a 3 button mouse (clickable scroll wheel = middle button). Apple has finally come to its senses and designed a proper, ergonomically pleasant, scrollbutton mouse that works well with pymol and permits horizontal scrolling. Most other mice will also work well.
One word of warning: Do not install 3rd party drivers for multi-button mice if you can avoid it. These often mess with the mapping of the middle button or have other horrific side effects. Fortunately, with OS X, you should not need to.
I (Bill Scott) wrote a pymol shell script (and zsh function) to invoke this on the command line. It uses mdfind to find the executable that lives in MacPyMOL.app/Contents/MacOS/PyMOL and pass arguments to it.
Extras
PowerMate Dial
The PowerMate dial works nicely with pymol.
http://www.griffintechnology.com/images/products/prod_powermate_a.jpg
Stereo
The latest Macs finally support stereo in a window.
Installing X-windows based pymol on Mac OS X
Why would you want to do this?
- You want to run a free, guilt-free, open-source version of pymol
- You just happen to prefer the tkinter menu
- You want to use plugins, for example, the apbs plugin for free grasp-like electrostatic calculations.
Simplest Installation
Install pymol with Fink
http://pdb.finkproject.org/img/mlogo.png
By far the simplest way to install the X-windows based version of pymol on OS X is by using the fink package management system. To compile it, all you need to do is issue the command
fink install pymol-py24
(This will install python2.4 in fink, along with an X-windows based tkinter. There are also versions that permit you to install pymol to interact with python2.3 and even python2.2. Fink uses its own unix-type python installation, but you can trick pymol into using the aqua framework to get a prettier GUI after the fact.)
The fink pymol package currently exists in the unstable branch of fink, so you will either have to activate the unstable branch or make the following symbolic links:
sudo ln -s /sw/fink/dists/unstable/main/finkinfo/sci/pymol-py.* /sw/fink/dists/local/main/finkinfo/.
You might need to create the latter directory if it doesn't already exist, i.e., issue the command
sudo mkdir -p /sw/fink/dists/local/main/finkinfo
I (wgscott) have put a whole lot of further information on how to use fink to install crystallographic software on my own wiki and website, including instructions on how to install precompiled binary packages using fink.
The fink pymol package is currently maintained by Jack Howarth.
Install APBS and friends with fink
To use the electrostatics plugin, you will need APBS and its dependencies. These are also available as fink packages, and include apbs, maloc and pdb2pqr. If you have multiple processors available, you might wish to install the mpi version of apbs.
Issuing the command
fink install apbs
will install apbs and its required dependencies for you. The fink pymol package is already preconfigured to do the right thing to use apbs as a plugin.