-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
74 lines (62 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
63
64
65
66
67
68
69
70
71
72
73
74
manifest {
author = 'Georgie Samaha'
name = 'IndexReferenceFasta-nf'
description = 'Pipeline for producing reference genome index files for WGS analysis'
homePage = 'https://github.com/Sydney-Informatics-Hub/IndexReferenceFasta-nf'
}
// Mandate a minimum version of nextflow required to run the pipeline
nextflowVersion = '!>=20.07.1'
// resume pipeline from last successful process
resume = true
// Set default parameters
params {
ref = null
help = false
bwa = false
samtools = true
gatk = false
pbs_account = false
slurm_account = false
params.whoami = false
}
// Resource allocation
process {
withName: 'bwa_index' {
cpus = 1
}
withName: 'samtools_index' {
cpus = 1
}
withName: 'gatk_dict' {
cpus = 1
}
}
// Profiles
profiles {
gadi { includeConfig "config/gadi.config" }
nimbus { includeConfig "config/nimbus.config" }
// standard { includeConfig "config/standard.config"}
}
// Fail a task if any command returns non-zero exit code
shell = ['/bin/bash', '-euo', 'pipefail']
// Produce a workflow diagram
dag {
enabled = true
overwrite = true
file = 'runInfo/dag.svg'
}
report {
enabled = true
overwrite = true
file = 'runInfo/report.html'
}
timeline {
enabled = true
overwrite = true
file = 'runInfo/timeline.html'
}
trace {
enabled = true
overwrite = true
file = 'runInfo/trace.txt'
}