forked from IARCbioinfo/sv_somatic_cns-nf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
executable file
·113 lines (89 loc) · 2.28 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
109
110
111
112
113
manifest {
homePage = 'https://github.com/adigenova/sv_somatic_cns'
description = 'Somatic structural variant caller'
mainScript = 'main.nf'
author = 'Alex Di Genova'
version = '1.0'
name = 'sv_somatic_cns'
}
profiles {
docker {
docker.enabled = true
process.container = 'adigenova/sv_somatic_cns:v1.0'
}
singularity {
singularity.enabled = true
process.container = 'docker://adigenova/sv_somatic_cns:v1.0'
pullTimeout = "200 min"
}
}
//additionals files for visualization of arriba results
params {
//we init additional parameters
help = null
cpu = 2
mem = 16
//options for caller
tn_file = null
bam = false
input_folder = ""
output_folder = "results"
ext = ".crai"
ref = null
svaba_dbsnp = "None"
svaba_options = ""
svaba_targets = ""
svaba_by_chr = true
//manta opts
manta_cfg = "/opt/conda/envs/sv_somatic_cns/share/manta-1.6.0-0/bin/configManta.py"
manta_samtools = "/opt/conda/envs/sv_somatic_cns/bin/samtools"
// SV tools
delly = false
manta = false
svaba = false
all_sv_cns = false
//debug the code
debug=false
}
/*
process {
withLabel:manta_exec {
cpus = { return Math.max( 4, params.cpus as int ) }
memory = { return Math.max( 16, params.mem as int ) + "G" }
}
withLabel:delly_exec {
cpus = { return Math.min( 1, params.cpus as int ) }
memory = { return Math.min( 10, params.mem as int )+ "G" }
}
withLabel:svaba_exec {
cpus = { return Math.min( 1, params.cpus as int ) }
memory = { return Math.min( 16, params.mem as int ) + "G" }
}
}
*/
// nextflow run information
timeline {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/${manifest.name}_timeline.html"
}
report {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/${manifest.name}_report.html"
}
trace {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/${manifest.name}_trace.txt"
}
dag {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/${manifest.name}_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}"
}