-
Notifications
You must be signed in to change notification settings - Fork 10
/
nextflow.config
67 lines (58 loc) · 1.75 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
manifest {
name = 'SNP&SEQ Run folder QC pipeline'
author = 'SNP&SEQ Bioinformatics Team; Mahesh Binzer-Panchal'
homePage = ''
description = 'A Nextflow run folder QC pipeline for SciLifeLab SNP&SEQ platform'
mainScript = 'main.nf'
nextflowVersion = '!>=21.04.1'
version = '1.2.0'
}
profiles {
debug { process.beforeScript = 'env'}
dev {
executor.name = 'local'
executor.memory = '12G'
includeConfig "$baseDir/config/nextflow_config/compute_resources.config"
// Overwrite high_memory_and_cpus label
process {
withLabel: 'high_memory_and_cpus' {
memory = '12G'
cpus = 1
}
}
}
uppmax {
process {
shell = ['/bin/bash', '-euo', 'pipefail']
errorStrategy = { task.exitStatus in [255] ? 'retry' : 'terminate' }
maxRetries = 2
scratch = true
executor = 'slurm'
clusterOptions = { "-A $params.project" }
cpus = 1
memory = '8G'
time = '3h'
}
includeConfig "$baseDir/config/nextflow_config/compute_resources.config"
}
snpseq {
executor {
name = 'local'
cpus = 8
memory = '47G'
}
process {
shell = ['/bin/bash', '-euo', 'pipefail']
errorStrategy = { task.exitStatus in [255] ? 'retry' : 'terminate' }
maxRetries = 2
cpus = 1
}
includeConfig "$baseDir/config/nextflow_config/compute_resources.config"
}
singularity {
includeConfig 'config/nextflow_config/singularity.config'
}
test {
includeConfig 'config/nextflow_config/test.config'
}
}