This repository was archived by the owner on Jan 27, 2020. It is now read-only.
forked from nf-core/sarek
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathuppmax-localhost.config
More file actions
148 lines (136 loc) · 3.38 KB
/
uppmax-localhost.config
File metadata and controls
148 lines (136 loc) · 3.38 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*
* -------------------------------------------------
* Nextflow config file for Sarek
* -------------------------------------------------
* Configuration for running on a single UPPMAX node
* such as milou or bianca
* -------------------------------------------------
*/
env {
NXF_WORK="/scratch"
}
params {
genome_base = params.genome == 'GRCh37' ? '/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37' : params.genome == 'GRCh38' ? '/sw/data/uppnex/ToolBox/hg38bundle' : 'References/smallGRCh37'
singleCPUMem = 8.GB
totalMemory = 104.GB // change to 240 on irma
}
executor {
name = 'local'
cpus = 16
}
process {
// Default process resources
// A process may use one core,
cpus = 1
// 8 GB of memory,
memory = {params.singleCPUMem}
// and 16 of them are allowed to be launched simultaneously.
maxForks = 16
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'terminate'}
maxErrors = '-1'
maxRetries = 3
// These processes are defined in buildReferences.nf
$BuildBWAindexes {
memory = {params.totalMemory} // TODO This is likely too high
}
$BuildReferenceIndex {
memory = {params.totalMemory} // TODO This is likely too high
}
$BuildSAMToolsIndex {
memory = {params.totalMemory} // TODO This is likely too high
}
$BuildVCFIndex {
memory = {params.totalMemory} // TODO This is likely too high
}
// These processes are defined in main.nf
$ConcatVCF {
cpus = 8
}
$CreateRecalibrationTable {
cpus = 16
memory = {params.totalMemory}
}
$IndelRealigner {
memory = {params.singleCPUMem * 2 * task.attempt}
}
$MapReads {
cpus = 16
memory = {params.totalMemory}
}
$MarkDuplicates {
// Actually the -Xmx value should be kept lower
cpus = 16
memory = {2 * params.singleCPUMem}
}
$MergeBams {
cpus = 16
memory = {params.totalMemory}
}
$RealignerTargetCreator {
cpus = 4
memory = {params.singleCPUMem * 4 * task.attempt}
}
$RecalibrateBam {
memory = {params.singleCPUMem * task.attempt}
}
$RunAlleleCount {
memory = {params.singleCPUMem * 2 * task.attempt}
}
$RunAscat {
memory = {params.singleCPUMem * 2 * task.attempt}
}
$RunBamQC {
cpus = 16
memory = {params.totalMemory}
}
$RunBcftoolsStats {
}
$RunConvertAlleleCounts {
memory = {params.singleCPUMem * 2 * task.attempt}
}
$RunFastQC {
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
}
$RunFreeBayes {
cpus = 1
memory = {params.singleCPUMem * task.attempt}
}
$RunHaplotypecaller {
// Increase memory quadratically
memory = {params.singleCPUMem * task.attempt * task.attempt}
}
$RunGenotypeGVCFs {
}
$RunManta {
cpus = 16
memory = {params.totalMemory}
}
$RunMultiQC {
}
$RunMutect2 {
cpus = 1
memory = {params.singleCPUMem * task.attempt}
}
$RunSamtoolsStats {
}
$RunSingleManta {
cpus = 16
memory = {params.totalMemory}
}
$RunSingleStrelka {
cpus = 16
memory = {params.totalMemory}
}
$RunSnpeff {
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
memory = {params.totalMemory} // TODO Does SnpEff really require that much?
}
$RunStrelka {
cpus = 16
memory = {params.totalMemory}
}
$RunVEP {
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
memory = {params.totalMemory} // TODO Does VEP really require that much?
}
}