-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
76 lines (69 loc) · 1.78 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
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
params.runOptions = '-B /dataB/aux -B /dataG/ddd -B /dataG/ddd-2023 -B /home/phelelani'
singularity {
enabled = true
autoMounts = true
cacheDir = "$HOME/.singularity/cache"
runOptions = "--cleanenv " + "${params.runOptions}"
}
executor{
jobName = { "${task.name.replaceAll(' ','_').toUpperCase()}" }
}
process {
cache = true
stageInMode = 'symlink'
stageOutMode = 'rsync'
cpus = 1
memory = 24.GB
time = 100.h
maxForks = 10
errorStrategy = 'finish'
clusterOptions = '--exclude=n04'
withLabel:'indelible' {
container = 'docker://phelelani/nf-exomecnv:indelible'
}
withLabel:'xhmm' {
container = 'docker://phelelani/nf-exomecnv:xhmm'
}
withLabel: 'gatk' {
container = 'docker://broadinstitute/gatk:4.4.0.0'
clusterOptions = "--constraint=avx2"
memory = 12.GB
cpus = 4
}
withLabel: 'picard' {
container = 'docker://broadinstitute/picard:3.2.0'
clusterOptions = "--constraint=avx2"
memory = 12.GB
cpus = 4
}
withLabel: 'canoes|R' {
container = 'docker://phelelani/nf-exomecnv:canoes'
}
withLabel: 'clamms|bedtools' {
container = 'docker://phelelani/nf-exomecnv:clamms'
}
}
profiles {
wits {
executor.name = 'slurm'
queue = 'batch'
}
}
// WORKFLOW VISUALISATION
trace {
enabled = true
overwrite = true
file = "${launchDir}/exec_reports/${params.workflow}_trace.txt"
}
timeline {
enabled = true
overwrite = true
file = "${launchDir}/exec_reports/${params.workflow}_timeline.html"
}
report {
enabled = true
overwrite = true
file = "${launchDir}/exec_reports/${params.workflow}_report.html"
}