BioPack Parameter Estimation Demonstration
This document provide instructions to install the JigCell BioPack parameter estimator softare, along with a walkthrough demonstating its basic use. In the future, the parameter estimator will be fully integrated with JigCell.
At this time, BioPack is only supported under Linux.
Requirements
- Lahey Fortran 90 Express compiler version 6.1
- Bash
- Java Developement Kit 1.4.2 or greater
- Linux and standard developement utilities (i.e., GNU make)
- The latest version of the GNU tools (UNIX). The specific tools used are cut, find, grep, make, tar, and xargs. WARNING: Do not use the GNU jar program, java compiler, or java runtime. Building the Jikes compiler is optional and additionally requires gcc and strip.
Instructions
- Download the "jigcell" and "biopack," "odrpack," and "tests" directories from the svn repository (such as "svn checkout http://jigcell.biol.vt.edu/svn/jigcell"
- Create a new directory in your home directory called "JigCell." Put jigcell, biopack, odrpack, and tests in your home directory as: ~/JigCell/jigcell, ~/JigCell/biopack, ~/JigCell/odrpack, and ~/JigCell/tests
- Build and Install JigCell.
- Go to JigCell/jigcell.
- Edit Makefile.config to set the path for JDK_DIR. Note: Paths containing non-alphanumeric characters may need to be quoted depending on your shell.
- [optional] Run "make jikes" to produce the Jikes compiler (you must be root to do this).
- Edit Makefile.config to select either the jikes or javac compiler.
- Run "make distro". This will take several minutes! Deprecation warnings and some (non-fatal) errors building the documentation are normal. Such errors will not interrupt the make process.
- Install jigcell.
- Go to JigCell/jigcell/www.
- Run "java -jar install.jar" to start the installation program.
- Follow the on screen installation instructions and choose to install JigCell into ~/JigCell
- Go to ~/JigCell/xpp and rename xppaut_linux to xppaut.
- Create a new Directory called ~/Biopack/lib/modules.
- Add to your path : "." and "JigCell/biopack/bin"
- Set the environment variable BIOPACK_DEVEL=~/JigCell with a command like (if you are in Bash): export BIOPACK_DEVEL=~/JigCell;.
- Set the environment variable BIOPACK_ROOT=~/JigCell/biopack
- Add ~/JigCell/biopack/bin to your PATH.
- Change directories to ~/JigCell/biopack/third_party_src then type "make"
- Change directories to ~/JigCell/biopack/src then type "make"
- Change directories to ~/JigCell/tests/biopack
- Open "Makefile" in your favorite editor and change the CLASSPATH to point to ~/JigCell/jigcell
- Save the Makefile then type make.
- Start a new terminal window. In that terminal window, change directory to ~JigCell/facilitator. Run "./fac_linux".
- Start a new terminal window. In that terminal window, change directory to ~JigCell. Run "./wrappedxppserver.sh".
- Start a new terminal window. These steps must be
performed from this window:
- Go to the directory ~/JigCell/tests/biopack/files
- Edit pe_test_practice_read.sh. Change the CLASSPATH line so that the first path is ~/JigCell/jigcell/.
- Edit setup.pl to provide information for your machine.
- Do ". /usr/local/lf9561/bash_setup" to prepare the FORTRAN compiler. (This assumes you installed the FORTRAN compiler to /usr/local, adjust this path if necessary.)
- Run pe_test_practice_read.sh with the following command: ./pe_test_practice_read.sh 6
- Note the last lines in the output, as these are the parameter values that you might wish to copy as indicated below.
- Copy pe_test004*.* from JigCell/tests/biopack to ~/JigCell
- From ~/JigCell, run "runmanager.sh".
Now do one of the following:
- Open pe_test004.run from the menu "File|Open Run File"
- Modify the basal parameter set with the new parameters from when you ran ./pe_test_practice_read.sh.
- Open pe_test004_with_modifications.run from the menu "File|Open Run File" (this has already incorporated the new parameter values).
- You can try making and ploting some runs by clicking on the "plot" column for any of the rows in the spreadsheet.
- From ~/JigCell, run "comparator.sh". Do one of the following:
- Click on the "Experiment" tab, and from the "File|Open" menu open pe_test004.dat.
- Click on the "Model" tab, and from the "File|Open" menu open pe_test004.mss.
- Click on the "Objectives" tab, and from the "File|Open" menu open pe_test004.obs
- Click on the "Experiment" tab, and from the "File|Open" menu open pe_test004.dat.
- Click on the "Model" tab, and from the "File|Open" menu open pe_test004_with_modifications.mss.
- Click on the "Objectives" tab, and from the "File|Open" menu open pe_test004.obs
- Run and view the results.