-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
62 lines (51 loc) · 1.34 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
/*
Nextflow configuration file for SNPmatch on GMI Mendel
please edit config file if you want to implement to another cluster
*/
params {
version = '5.0.0' // Pipeline version
nf_required_version = '19.04.0' // Minimum version of nextflow required
}
profiles {
standard {
includeConfig 'conf/cbe.config'
}
mendel {
includeConfig 'conf/mendel.config'
}
local { process.executor = 'local' }
}
process {
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'ignore' }
maxRetries = 3
maxErrors = '-1'
container = 'docker.artifactory.imp.ac.at/nordborglab/snpmatch:master'
// conda = "$HOME/.conda/envs/snpmatch"
cpus = 1
memory = 10.GB
time = 6.h
}
// Export these variables to prevent local Python/R libraries from conflicting with those in the container
env {
PYTHONNOUSERSITE = 1
R_PROFILE_USER = "/.Rprofile"
R_ENVIRON_USER = "/.Renviron"
}
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/snpmatch_timeline.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/snpmatch_report.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/snpmatch_trace.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_info/snpmatch_dag.svg"
}