Mercurial > repos > timpalpant > java_genomics_toolkit
view galaxy-conf/galaxyToolRunner.sh @ 16:35031c567ece draft
Add sam_fa_indices.loc.sample to enable DNAProperty and FindNMer tools that require samtools indices to be installed.
author | timpalpant |
---|---|
date | Sat, 09 Jun 2012 16:06:25 -0400 |
parents | eb53be9a09f4 |
children |
line wrap: on
line source
#!/usr/bin/env bash if [ $# -eq 0 ] then echo "USAGE: galaxyToolRunner.sh APPNAME [ARGS]"; exit; fi # Verify that the user has Java 7 installed # Otherwise there will be an obscure UnsupportedClassVersion error version=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}') if [[ "$version" < "1.7" ]]; then echo "Need Java 7 or greater. You have Java $version installed." exit fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@"