diff --git a/nextflow/config/production.config b/nextflow/config/production.config index c5a0f960d..e4d8c8e07 100644 --- a/nextflow/config/production.config +++ b/nextflow/config/production.config @@ -1,9 +1,9 @@ includeConfig './base.config' //global setting vars -workDir = "$NOBACKUP_DIR/nextflow/work/release_$ENS_VERSION/" +workDir = "$NOBACKUP_DIR/nextflow/$USER/work/release_$ENS_VERSION/" nextflow.enable.dsl=2 -publishDir = "$NOBACKUP_DIR/nextflow/outputs/$USER/" +publishDir = "$NOBACKUP_DIR/nextflow/$USER/outputs/$USER/" params.pipeline_dir = "$BASE_DIR/$USER/ensembl-hive/scripts/" params.help = false params.config = '' @@ -21,7 +21,7 @@ params { pipeline_dir = "$BASE_DIR/ensembl-hive/scripts/" help = false release = "$ENS_VERSION" - output = "$NOBACKUP_DIR/nextflow/work/release_$ENS_VERSION" + output = "$NOBACKUP_DIR/nextflow/work/$USER/release_$ENS_VERSION" nf_py_script_path = "$BASE_DIR/ensembl-production/nextflow/nf-py-scripts/" } @@ -32,7 +32,7 @@ profiles { process.executor = 'lsf' process.scratch = "$NOBACKUP_DIR/nextflow/scratch" - process.log = "$NOBACKUP_DIR/nextflow/logs/release_$ENS_VERSION/production.log" + process.log = "$NOBACKUP_DIR/nextflow/$USER/logs/release_$ENS_VERSION/production.log" process.queue = 'production' } @@ -137,15 +137,15 @@ profiles { executor = 'slurm' - scratch = "$NOBACKUP_DIR/nextflow/scratch" - log = "$NOBACKUP_DIR/nextflow/logs/release_$ENS_VERSION/production.log" + scratch = "$NOBACKUP_DIR/nextflow/$USER/scratch" + log = "$NOBACKUP_DIR/nextflow/$USER/logs/release_$ENS_VERSION/production.log" } } local { process.executor = 'local' - process.log = '$NOBACKUP_DIR/nextflow/logs/local.log' + process.log = '$NOBACKUP_DIR/nextflow/$USER/logs/local.log' } k8s {