-
Notifications
You must be signed in to change notification settings - Fork 8
/
octopus.nextflow.config
102 lines (97 loc) · 2.69 KB
/
octopus.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
profiles {
docker {
docker.enabled = false
}
singularity {
singularity.enabled = true
pullTimeout = "200 min"
}
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'
}
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'
process.container = 'docker://brentp/octopus:v0.7.4a'
}
conda {
enabled = false
memory = 128.GB
cpus = 12
process.conda = 'octopus'
process.clusterOptions = '--gres=tmpspace:200G --exclude=n0034,n0059,n0065'
}
docker {
enabled = false
}
executor {
submitRateLimit = 10
}
}
}
process {
//errorStrategy = { task.exitStatus in [1,143,137,104,134,139,250] ? 'retry' : 'terminate' }
errorStrategy = 'finish'
shell = ['/bin/bash', '-euo','pipefail']
memory = 128.GB
cpus = 12
cache = 'lenient'
maxRetries = 0
withName:xoctopus_trio {
cpus = 12
// use stageInMode = copy for slow network drives. otherwise remove.
memory = 48.GB
scratch = true
clusterOptions = '--gres=tmpspace:200G --exclude=n0034,n0059,n0065'
//container = 'docker://dancooke/octopus'
//conda = 'octopus'
}
withName:xoctopus_fam_or_single {
cpus = 12
// use stageInMode = copy for slow network drives. otherwise remove.
//stageInMode = "copy"
memory = 48.GB
// use $TMPDIR to execute
scratch = true
clusterOptions = '--gres=tmpspace:200G '
//container = 'docker://dancooke/octopus'
//conda = 'octopus'
}
withName:octopus_population {
cpus = 10
// use stageInMode = copy for slow network drives. otherwise remove.
//stageInMode = "copy"
memory = 156.GB
// use $TMPDIR to execute
scratch = true
clusterOptions = '--gres=tmpspace:200G '
}
withName:octopus_population1 {
cpus = 10
// use stageInMode = copy for slow network drives. otherwise remove.
//stageInMode = "copy"
memory = 156.GB
// use $TMPDIR to execute
scratch = true
clusterOptions = '--gres=tmpspace:200G '
container = 'docker://brentp/octopus:v0.7.4a'
}
}