5529 |
27 Jun 19 |
nicklas |
#!/bin/sh |
5529 |
27 Jun 19 |
nicklas |
2 |
|
5529 |
27 Jun 19 |
nicklas |
# Nicklas Nordborg, June 2019 |
5529 |
27 Jun 19 |
nicklas |
# NOTE! For Picard 2.20 or later only, since we are using the new command line syntax |
5529 |
27 Jun 19 |
nicklas |
5 |
|
5529 |
27 Jun 19 |
nicklas |
if [ -z "$PicardDir" ]; then |
5529 |
27 Jun 19 |
nicklas |
PicardDir=/usr/local/packages/picard-tools/2.20.0 |
5529 |
27 Jun 19 |
nicklas |
fi |
5529 |
27 Jun 19 |
nicklas |
9 |
|
5529 |
27 Jun 19 |
nicklas |
if [ -z "$PicardMemory" ]; then |
5529 |
27 Jun 19 |
nicklas |
PicardMemory=50g |
5529 |
27 Jun 19 |
nicklas |
fi |
5529 |
27 Jun 19 |
nicklas |
13 |
|
5529 |
27 Jun 19 |
nicklas |
cmd=$1 |
5529 |
27 Jun 19 |
nicklas |
shift |
5529 |
27 Jun 19 |
nicklas |
java -Dpicard.useLegacyParser=false -Xmx${PicardMemory} -jar ${PicardDir}/picard.jar ${cmd} $@ |