2495 |
05 Jun 14 |
nicklas |
#!/bin/sh |
2495 |
05 Jun 14 |
nicklas |
2 |
|
3583 |
09 Nov 15 |
jari |
# $Id$ |
2496 |
05 Jun 14 |
nicklas |
4 |
|
2495 |
05 Jun 14 |
nicklas |
if [ -z "$TrimmomaticJAR" ]; then |
2495 |
05 Jun 14 |
nicklas |
TrimmomaticJAR=/usr/local/packages/trimmomatic/0.32/trimmomatic-0.32.jar |
2495 |
05 Jun 14 |
nicklas |
fi |
2495 |
05 Jun 14 |
nicklas |
8 |
|
2495 |
05 Jun 14 |
nicklas |
if [ -z "$TrimmomaticMemory" ]; then |
2495 |
05 Jun 14 |
nicklas |
TrimmomaticMemory=16g |
2495 |
05 Jun 14 |
nicklas |
fi |
2495 |
05 Jun 14 |
nicklas |
12 |
|
2495 |
05 Jun 14 |
nicklas |
NumThreads=`nproc` |
2495 |
05 Jun 14 |
nicklas |
14 |
|
2495 |
05 Jun 14 |
nicklas |
cmd=$1 |
2495 |
05 Jun 14 |
nicklas |
shift |
2495 |
05 Jun 14 |
nicklas |
17 |
|
2495 |
05 Jun 14 |
nicklas |
java -Xmx${TrimmomaticMemory} -jar ${TrimmomaticJAR} ${cmd} -threads ${NumThreads} $@ |