Skip to content

Commit

Permalink
Set classpath for picard programs
Browse files Browse the repository at this point in the history
  • Loading branch information
alecw committed Jul 15, 2024
1 parent 838d1f1 commit d35ff45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/defs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

thisdir=$(dirname "$0")

all_classpath=$(echo "$thisdir"/lib/*.jar|tr ' ' ':')

error_exit() {
echo "ERROR: $*
Expand Down Expand Up @@ -66,7 +67,7 @@ then error_exit 'Could not find one and only one picard.jar in deployment.'
fi

invoke_picard() {
check_invoke java -Xmx4g -Djava.io.tmpdir="$TMPDIR" -jar "$picard_jar" "$@"
check_invoke java -classpath "$all_classpath" -Xmx4g -Djava.io.tmpdir="$TMPDIR" picard.cmdline.PicardCommandLine "$@"
}

invoke_dropseq() {
Expand Down

0 comments on commit d35ff45

Please sign in to comment.