We use Apache maven to manage and build the IGB project. To start, install maven and put it in your path.

Then, cd into your cloned repository directory, checkout the branch you wish to build, and run something like:

# navigate to your cloned repository
cd ~/demo/integrated-genome-browser/
# check out the branch you wish to build
git checkout igb_8_4
# Not strictly required
# Removes untracked files following checkout
# of a new branch
git clean -d -f
# Build project, skip tests (saves time)
mvn clean install -D skipTests=true

Note that the first time you do this, mvn will retrieve dependencies for IGB from external sources. This will take some time, but you'll only have to do it once.

Running IGB

To run IGB on Linux, execute the "run_igb" script for your platform:

Macrun_igb.command, run_igb.sh