generated from fasterius/nbis-support-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
38 lines (36 loc) · 898 Bytes
/
nextflow.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Workflow manifest
manifest {
name = "NBIS support #0000"
author = "Erik Fasterius"
defaultBranch = "main"
mainScript = "main.nf"
}
// Parameters
params {
resultsdir = "results/"
workdir = "work/"
publish_mode = "copy"
}
// Workflow profiles
profiles {
uppmax {
process {
executor = 'slurm'
clusterOptions = '-A "snic2020999"'
memory = { 6.GB * task.attempt }
cpus = { 1 * task.attempt }
time = { 10.h * task.attempt }
scratch = '$SNIC_TMP'
errorStrategy = 'retry'
maxRetries = 1
}
}
devel {
process {
time = 1.h
errorStrategy = 'terminate'
}
executor.queueSize = 1
process.queue = 'devel'
}
}