Mercurial > repos > gbcs-embl-heidelberg > je_demultiplex_illu
annotate je @ 3:01fdc6d10660 draft
planemo upload for repository https://git.embl.de/grp-gbcs/Je/tree/master/src/galaxy commit dd9e62bdb01d1252a90ce778103ce9b6b4a8cd52-dirty
author | gbcs-embl-heidelberg |
---|---|
date | Wed, 21 Jun 2017 05:22:53 -0400 |
parents | ff5fddc4739b |
children | 7895e352c09b |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
3
01fdc6d10660
planemo upload for repository https://git.embl.de/grp-gbcs/Je/tree/master/src/galaxy commit dd9e62bdb01d1252a90ce778103ce9b6b4a8cd52-dirty
gbcs-embl-heidelberg
parents:
1
diff
changeset
|
2 # Wrapper around je_1.1_bundle.jar |
0 | 3 |
4 # where are we stored ? | |
5 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
6 # echo $DIR | |
7 # path to jar file to execute, this jar is supposed to be in the same dir as this script | |
3
01fdc6d10660
planemo upload for repository https://git.embl.de/grp-gbcs/Je/tree/master/src/galaxy commit dd9e62bdb01d1252a90ce778103ce9b6b4a8cd52-dirty
gbcs-embl-heidelberg
parents:
1
diff
changeset
|
8 JAR_FILE=$DIR"/je_1.1_bundle.jar" |
0 | 9 |
1
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
10 # set default _JAVA_OPTIONS |
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
11 _JAVA_OPTIONS=${_JAVA_OPTIONS:-'-Xmx4G -Xms256m'} |
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
12 export _JAVA_OPTIONS |
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
13 |
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
14 # uncomment to change logging level using your own log4j.xml found in $DIR file |
ff5fddc4739b
use _JAVA_OPTIONS to set default memory limit
gbcs-embl-heidelberg
parents:
0
diff
changeset
|
15 # OPTS="-Dlog4j.configuration=file:$DIR/log4j.xml" |
0 | 16 |
17 java $OPTS -jar $JAR_FILE "$@" | |
18 exit $? |