-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnextflow.config
107 lines (84 loc) · 2.01 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
manifest {
homePage = 'https://github.com/iarcbioinfo/hla-neo-nf'
description = 'HLA and Neoantigen prediction'
mainScript = 'main.nf'
version = '1.1'
name = 'hla-neo'
}
profiles {
conda { process.conda = "$baseDir/environment.yml" }
docker {
docker.enabled = true
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
}
process {
errorStrategy = 'retry'
maxErrors = 100
maxRetries = 100
shell = ['/bin/bash','-o','pipefail']
// HLA container for HLA-typing
withName:"xHLA" {
container = "humanlongevity/hla:0.0.0"
}
//PVAC container for Neoantigen prediction
withName:"pVactools"{
container = "griffithlab/pvactools:4.1.1"
}
withName:"VEP"{
container = "iarcbioinfo/ensembl-vep:latest"
}
withName:"expr_annot"{
container = "iarcbioinfo/ensembl-vep:latest"
}
}
// 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
vcf_dir = null
cram_dir = null
vep_dir = null
bam = false
pvactools_predictors = "all_class_i,all_class_ii"
// 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/hla-neo_timeline.html"
}
report {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/hla-neo_report.html"
}
trace {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/hla-neo_trace.txt"
}
dag {
enabled = true
file = "${params.output_folder}/nf-pipeline_info/hla-neo_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}"
}