-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
58 lines (53 loc) · 1.29 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
// Arguments
params {
reads = ''
outdir = 'results'
help = false
db = null
db_arg = '/mnt/beegfs/home/mrojas/DiGenomaLab/Systemix/analysis/groot-amr/db-arg'
db_res = '/mnt/beegfs/home/mrojas/DiGenomaLab/Systemix/analysis/groot-amr/db-resfinder'
tracedir = "${params.outdir}/pipeline_info"
}
profiles {
standard {
process.executor = 'local'
}
kutral {
executor.name = 'slurm'
executor.queue = 'uohhm'
executor.queueSize = 5
}
}
process {
withName: IAMGROOT {
cpus = 16
memory = 10.GB
time = 24.h
}
errorStrategy = 'finish'
}
workflow.onComplete = {
println "nf-groot finished! Status: ${ workflow.success ? 'OK' : 'failed' }"
}
def trace_timestamp = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
file = "${params.tracedir}/execution_timeline_${trace_timestamp}.html"
}
report {
enabled = true
file = "${params.tracedir}/execution_report_${trace_timestamp}.html"
}
trace {
enabled = true
file = "${params.tracedir}/execution_trace_${trace_timestamp}.txt"
}
dag {
enabled = true
file = "${params.tracedir}/pipeline_dag_${trace_timestamp}.svg"
}
manifest {
author = 'DiGenomaLab'
homePage = 'https://github.com/digenoma-lab/nf-groot'
description = 'A Nextflow pipeline for running Groot'
}