diff --git a/config/config.yaml b/config/config.yaml
index 0d2eab30ad007d4902b6b40c291dfca8f156f630..6150f959b3a474438e9e439bca7b9018ae7bc172 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -36,7 +36,7 @@ input_extension: '.fastq.gz'
 # directory where you want to store results
 analysis_dir: /path/to/directory/analysis
 # tmpdir: write tempory file on this directory (default /tmp/, but could be "/local/scratch/")
-tmpdir: "/tmp/"
+tmpdir: $TMPDIR
 
 #===============================================================================
 # Design information. These informations will be used during the