|Back: Running Spire||Home: Table of Contents||Next: Spire Projects|
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|
Instructions for installing these packages yourself.
Full install of Spire for Linux
gunzip spire_linux-1.5.4.tar.gzExtract the tar file:
tar xvf spire_linux-1.5.4.tar(or combine them):
gunzip spire_linux-1.5.4.tar.gz | tar xvfThis creates the directory
./install.sh(be sure it starts with dot-slash!).
./install.shThis creates scripts that allow you to run Spire (and Python) from the
spire_linux-1.5.4/bindirectory. It then call Spire's
gunzip spire-1.5.3.tar.gz | tar xvf
testinstall.py, which checks if you all the required packages. Then
setuptries 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.4/lib/python2.5/site-packages(for full install), or (for the brief install) a path that may look something like:
setup.pyalso 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,
setupwill display a command to add
spire-1.5.3/binto your path. The bin directory contains useful utilites, including numerous graphical tools, which are described at the guitools page.
spire, and various graphical tools (
qview, montage, ctfmatch, etc.),
batchfilessubdirectory, containing batch files that are included with the Spire package.
configsubdirectory, 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
batchfilesdirectory into your working project directory, so you can alter the local copies without affecting the source batch files.