These are chat archives for nextflow-io/nextflow

8th
Dec 2018
Mark J. Berger
@markberger
Dec 08 2018 22:05
Hello, I was wondering if there is a way to set the Nextflow path based on an environmental variable? I am using a cluster system where my data is held on a scratch directory. Compute nodes may have different paths for the directory, but the path is always accessible under the $SCRATCH env variable. I am able to set the work directory with the NXF_WORK variable, however this does not work because Nextflow tries to link the bin directory under the absolute path of the directory which is not guaranteed to exist. Instead I would like it to link against $SCRATCH/my_dir/bin.