-
Notifications
You must be signed in to change notification settings - Fork 17
/
nextflow.config
108 lines (99 loc) · 2.16 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
107
108
params.outdir="results"
params.enable_conda=false
params.enable_container=false
process {
executor = 'Local'
queue = 'compute'
}
// CPU limit if using local executor
process {
name = "Local"
cpus = 32
}
// Set cpus and memory. Process in "main.nf" will
// contain label corresponding to one of these unless
// the CPUs can be specified via specific parameters
// (e.g. --vsearch_cpu)
process {
withLabel: cpu_def {
cpus = 4
memory = 16.GB
}
withLabel: cpu8 {
cpus = 8
memory = 32.GB
}
withLabel: cpu32 {
cpus = 32
memory = 128.GB
}
}
profiles {
standard {
conda {
useMamba = false
conda.enabled = true
// Allow longer conda creation timeout
createTimeout = '2 h'
cacheDir = "$HOME/nf_conda/"
}
params.enable_conda = true
singularity.enabled = false
singularity.automounts = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
conda {
conda {
useMamba = false
conda.enabled = true
// Allow longer conda creation timeout
createTimeout = '2 h'
cacheDir = "$HOME/nf_conda/"
}
params.enable_conda = true
singularity.enabled = false
singularity.automounts = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.cacheDir = "$HOME/nf_conda/singularity"
params.enable_container=true
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
docker {
singularity.enabled = false
singularity.autoMounts = false
docker.enabled = true
params.enable_container=true
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
}
// Generate report
report {
enabled = true
file = "report_$params.outdir/report.html"
}
// Timeline
timeline {
enabled = true
file = "report_$params.outdir/timeline.html"
}
// DAG
dag {
enabled = true
file = "report_$params.outdir/dag.html"
overwrite = true
}