Markduplicates uses java tmp dir
Cause
It looks like this bug is caused by picard using the java tmp folder instead of the specified TMP_DIR
to store some of the temporary files. See this issue for details.
Solution
Add -Djava.io.tmpdir={input.tmp}
to the picard markduplicates command.