Transipedia / dekupl-run

Identify differentially expressed k-mers between RNA-Seq datasets
MIT License
11 stars 11 forks source link

Changing default TMP_DIR location #54

Open jaudoux opened 5 years ago

jaudoux commented 5 years ago

From @amirkdv 👍 (https://github.com/Transipedia/dekupl-run/pull/53#issue-232830533)

Additionally I suggest (not in this PR) changing the default value for TMP_DIR from os.getcwd() to OUTPUT_DIR/tmp because:

the current working directory may not necessarily be on a disk that has lots of space, esp. in the docker usage where only the input and output directories are mounted to the container. the user is guaranteed to be aware that the output directory must have lots of space to hold the results. input directory could also be considered but it is common to mount input directories in read-only mode onto docker containers to avoid accidental file corruption.