annotate galaxy-conf/galaxyToolRunner.sh @ 18:b2a69d34385a
draft
Performance improvements to Wig file checksumming. Bug fix in Autocorrelation tool.
author |
timpalpant |
date |
Fri, 15 Jun 2012 15:07:33 -0400 |
parents |
eb53be9a09f4 |
children |
|
rev |
line source |
4
|
1 #!/usr/bin/env bash
|
|
2
|
|
3 if [ $# -eq 0 ]
|
|
4 then
|
|
5 echo "USAGE: galaxyToolRunner.sh APPNAME [ARGS]";
|
|
6 exit;
|
|
7 fi
|
|
8
|
13
|
9 # Verify that the user has Java 7 installed
|
|
10 # Otherwise there will be an obscure UnsupportedClassVersion error
|
|
11 version=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
|
|
12 if [[ "$version" < "1.7" ]]; then
|
|
13 echo "Need Java 7 or greater. You have Java $version installed."
|
|
14 exit
|
4
|
15 fi
|
|
16
|
|
17 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
18 java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@" |