wf-transcriptomes-v202/nextflow.config
2021-03-01 11:44:41 +00:00

80 lines
1.7 KiB
Plaintext

//
// Notes to End Users.
//
// The workflow should run without editing this configuration file,
// however there may be instances in which you wish to edit this
// file for compute performance or other reasons. Please see:
//
// https://nextflow.io/docs/latest/config.html#configuration
//
// for further help editing this file.
params {
help = false
out_dir = "output"
wfversion = "v0.0.1"
}
executor {
$local {
cpus = 4
memory = "8 GB"
}
}
profiles {
// the "standard" profile is used implicitely by nextflow
// if no other profile is given on the CLI
standard {
docker {
enabled = true
// this ensures container is run as host user and group, but
// also adds host user to the within-container group
runOptions = "--user \$(id -u):\$(id -g) --group-add 100"
}
process {
withLabel:pysam {
container = "ontresearch/wf-template:${params.wfversion}"
}
shell = ['/bin/bash', '-euo', 'pipefail']
}
}
// profile using conda environments rather than docker
// containers
conda {
docker {
enabled = false
}
process {
withLabel:pysam {
conda = "environment.yaml"
}
shell = ['/bin/bash', '-euo', 'pipefail']
}
conda {
cacheDir = ""
}
}
}
timeline {
enabled = true
file = "${params.out_dir}/execution_timeline.html"
}
report {
enabled = true
file = "${params.out_dir}/execution_report.html"
}
trace {
enabled = true
file = "${params.out_dir}/execution_trace.txt"
}
dag {
enabled = true
file = "${params.out_dir}/pipeline_dag.svg"
}