forked from avsastry/modulome-workflow
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnextflow.config
79 lines (60 loc) · 1.4 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
manifest {
author = 'Anand Sastry'
name = 'nextflow-bacterial-rnaseq'
homePage = ''
description = 'Nextflow pipeline for processing public microbial RNA-seq data'
mainScript = 'main.nf'
nextflowVersion = '>=20.01.0'
version = '0.1'
}
// Set Parameters
params {
organism = "None"
metadata = "None"
sequence_dir = "None"
force = false
help = false
trace_dir = './trace/'
multiqc_config = 'conf/multiqc_config.yaml'
}
// Configure dynamic retries
process {
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' }
maxRetries = 1
maxErrors = '-1'
}
// Additional configuration
includeConfig 'conf/user.config'
includeConfig 'conf/docker.config'
profiles {
local {
includeConfig 'conf/local.config'
}
/* Additional configurations can go here
aws {
includeConfig 'conf/aws.config'
}
slurm {
includeConfig 'conf/slurm.config'
}
*/
}
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash','-euo','pipefail']
// Enable process tracking
timeline {
enabled = true
file = "${params.trace_dir}/timeline.html"
}
report {
enabled = true
file = "${params.trace_dir}/report.html"
}
trace {
enabled = true
file = "${params.trace_dir}/trace.txt"
}
dag {
enabled = true
file = "${params.trace_dir}/dag.dot"
}