| Back: Running Spire | Home: Table of Contents | Next: Spire Projects |
Downloads
|
The Spire installation packages assume that you already have SPIDER and Jweb installed.
Packages required by Spire:
| SPIDER (version 13 or later) | www.wadsworth.org/spider_doc/spider/download |
| Python2.3 (or later) | www.python.org/download |
| Tcl/Tk8.4 (or later) | www.tcl.tk/software/tcltk |
| BLT (a Tcl plotting package) | sourceforge.net/projects/blt |
| Python megawidgets (Pmw) | sourceforge.net/projects/pmw |
| Python Imaging Library (PIL) | www.pythonware.com/products/pil |
| Numpy (Python Numeric) | sourceforge.net/projects/numpy |
| Gnuplot.py | gnuplot-py.sourceforge.net |
Instructions for installing these packages yourself.
Full install of Spire for Linux
gunzip spire_linux-1.5.3.tar.gz
Extract the tar file:
tar xvf spire_linux-1.5.3.tar
(or combine them): gunzip spire_linux-1.5.3.tar.gz | tar xvf
This creates the directory spire_linux-1.5.3/
./install.sh (be sure it starts with dot-slash!).
cd spire_linux-1.5.3
./install.sh
This creates scripts that allow you to run Spire (and Python) from the spire_linux-1.5.3/bin directory. It then call Spire's setup.py program.
gunzip spire-1.5.3.tar.gz | tar xvf
setup.py
cd spire-1.5.3
python setup.py
setup.py calls testinstall.py, which checks if you all the required packages. Then setup tries to find the commands that run SPIDER and Jweb on your system, and writes these commands to a file called Spire/LocalVars.py
Spire/LocalVars.py will have lines that look something like this:
spidercmd = '/usr/local/bin/spider' jwebcmd = 'java -Xmx300m -Djava.util.prefs.syncInterval=2000000 StartWeb SPIDUI &'Then setup tries to copy the Spire directory to the Python site-packages directory,
spire_linux-1.5.3/lib/python2.5/site-packages (for full install), or (for the brief install) a path that may look something like:
/usr/local/lib/python2.4/site-packages/Spiresetup.py also installs a Spider directory under site-packages. The Spider library enables you to write Python programs that can work with Spider files. See www.wadsworth.org/spider_doc/spider/docs/python/spipylib/index.html
Finally, setup will display a command to add spire-1.5.3/bin to your path. The bin directory contains useful utilites, including numerous graphical tools, which are described at www.wadsworth.org/spider_doc/spire/doc/guitools/index.htmlspire_linux-1.5.3:
bin subdirectory, with spire, and various graphical tools (qview, montage, ctfmatch, etc.),batchfiles subdirectory, containing batch files that are included with the Spire package.config subdirectory, with various configuration files.
<location>/home/user/spire-1.5.3/batchfiles/SingleParticle</location>The configuration files that come with the spire package are XML files that tell Spire where to find the reconstruction batch files. When you start a new project, using e.g. SingleParticle.xml, Spire loads batch files from the
batchfiles directory into your working project directory, so you can alter the local copies without affecting the source batch files.