BBtools specify java temp dir (or other java options)
0
0
Entering edit mode
17 months ago
FGV ▴ 170

Is it possible to provide other java options (e.g.) -Djava.io.tmpdir to bbtools? As far as I can see, only -Xmx works.

bbtools • 673 views
ADD COMMENT
0
Entering edit mode

You could edit the wrapper script (e.g. bbmap.sh) and directly add the java option to the local CMD.

local CMD="java $EA $EOOM $z $z2 -Djava.io.tmpdir=/path_to/dir $JNI -cp $CP align2.BBMap build=1 overwrite=true fastareadlen=500 $@"
ADD REPLY
0
Entering edit mode

I was trying to avoid changing BBtools code. :)

ADD REPLY
0
Entering edit mode

You are not changing BBTools code. This is just a shell wrapper script around the actual code :-)

It should work. Did you try it?

ADD REPLY

Login before adding your answer.

Traffic: 2562 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6