-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
92 lines (68 loc) · 1.62 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
manifest {
homePage = 'https://github.com/iarcbioinfo/purple-nf'
description = 'Somatic Copy Number calls with PURPLE'
mainScript = 'main.nf'
version = '1.0'
name = 'purple'
}
profiles {
conda { process.conda = "$baseDir/environment.yml" }
docker {
docker.enabled = true
process.container = 'iarcbioinfo/purple-nf:v1.1'
}
singularity {
singularity.enabled = true
process.container = 'iarcbioinfo/purple-nf:v1.1'
singularity.autoMounts = true
}
}
process {
shell = ['/bin/bash','-o','pipefail']
}
// Load job.conf for process tagging
//includeConfig 'conf/jobs.conf'
params {
output_folder="./results"
//we init some parameters
ref = null
ref_dict = null
tn_file = null
help = false
debug = false
cohort_dir = null
tumor_only = false
bam = false
somatic_vcfs = null
// resource defaults
max_memory = 128.GB
max_cpus = 8
max_time = 240.h
cpu = 2
mem = 8
}
timeline {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/purple_timeline.html"
}
report {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/purple_report.html"
}
trace {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/purple_trace.txt"
}
dag {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/purple_dag.html"
}
//Mesage regarding errors or complete
workflow.onComplete = {
// any workflow property can be used here
println "Pipeline complete"
println "Command line: $workflow.commandLine"
}
workflow.onError = {
println "Oops... Pipeline execution stopped with the following message: ${workflow.errorMessage}"
}