Do not use /tmp as a scratch space. These directories are not really designed for the size of TMP files that most pipelines generate. You should re-assign temp file generate to

/scratch/[USERNAME]

or

/ifs/work/[LABNAME]/tmp
/ifs/res/[LABNAME]/tmp

These directories have much more space and also have the advantage in the case of /ifs/work, /ifs/res to be protected from other people filling up the tmp space.

There are multiple things that need to be done to reset the TMP directory depending on what programs you are using.

  1. Set TMPDIR in your bashrc or profile or whatever sets environment variables
  2. For java programs set -Djava.io.tmpdir=XXX
  3. For PICARD set TMP_DIR=XXX

Please note that files that haven’t been touched in 30 days will be deleted.