Closed boulund closed 1 year ago
The standard resource tmpdir is evaluated in the final execution context, making it more suited than simply referring to e.g. $TMPDIR, which may be evaluated in the wrong context when executing on a cluster.
tmpdir
https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#standard-resources
We should update the existing HUMAnN rules to use resources.tmpdir instead of our custom workaround.
resources.tmpdir
Merged to develop, ready for release
The standard resource
tmpdir
is evaluated in the final execution context, making it more suited than simply referring to e.g. $TMPDIR, which may be evaluated in the wrong context when executing on a cluster.https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#standard-resources
We should update the existing HUMAnN rules to use
resources.tmpdir
instead of our custom workaround.