-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnextflow.config
106 lines (105 loc) · 2.57 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
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
profiles {
local {
cpus = 4
memory = '12 GB'
process {
executor = 'local'
scratch = true
}
singularity {
enabled = true
runOptions = '--bind /home --bind /data'
}
docker {
enabled = false
runOptions = '-v /data:/data -v /home:/home'
}
}
slurm {
process {
executor = 'slurm'
// use 1.5X coverage for space. so 45G for a 30X genome is pretty safe.
clusterOptions = '--gres=tmpspace:45G '
time = '32h'
scratch = true
}
singularity {
enabled = true
// note: update these to match your cluster.
runOptions = '--bind /home --bind /hpc --bind /scratch --bind /hpc/compgen/users/bpedersen/tmp/singularity-tmp:/tmp'
}
executor {
submitRateLimit = 10
}
}
}
process {
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,250] ? 'retry' : 'terminate' }
cache = 'lenient'
maxRetries = 0
withName:DeepVariant {
cpus = 72
// use stageInMode = copy for slow network drives. otherwise remove.
stageInMode = "copy"
memory = 50.GB
scratch = true
clusterOptions = '--gres=tmpspace:120G '
}
withName:manta {
cpus = 24
// use stageInMode = copy for slow network drives. otherwise remove.
stageInMode = "copy"
memory = 5.GB
// use $TMPDIR to execute
scratch = true
clusterOptions = '--gres=tmpspace:75G '
}
withName:dysgu {
// dysgu doesn't seem to use more than 1 cpu.
cpus = 1
// use stageInMode = copy for slow network drives. otherwise remove.
stageInMode = "copy"
memory = 7.GB
// use $TMPDIR to execute
scratch = true
clusterOptions = '--gres=tmpspace:75G '
}
withName:paragraph_duphold {
cpus = 12
memory = '8GB'
}
withName:split {
cpus = 2
memory = '4GB'
}
withName:merge_svs {
maxRetries = 0
cpus = 3
memory = '3GB'
}
withName:generate_jigv_pages {
maxRetries = 0
cpus = 1
memory = '4GB'
}
withName:slivar_split_by_fam {
maxRetries = 0
cpus = 2
memory = '4GB'
}
withName:slivar_sum_counts {
maxRetries = 0
cpus = 2
memory = '4GB'
}
withName:slivar_merge_tsvs {
maxRetries = 0
cpus = 1
memory = '2GB'
}
withName:slivar_rare_disease {
maxRetries = 0
cpus = 2
memory = '8GB'
}
}