forked from metashot/prok-annotate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprok-annotate.conf
60 lines (50 loc) · 1.12 KB
/
prok-annotate.conf
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
// Global running params
params {
// Run KOfamScan: use annotated proteins (from Bakta)
genomes = 'input_biomags_derep/*.faa'
run_kofamscan = true
kofamscan_db = 'dbs/kofamscan'
// Run eggNOG
run_eggnog = true
eggnog_db = 'dbs/eggnog'
// Run Anvio Kofam
//genomes = 'input_genomes/*.fna'
run_anvio_kofam = false
anvio_kofam_db = 'dbs/anvio_kofam'
// Skip tools
skip_prokka = true
// Results
outdir = 'results_biomags_derep'
// Resources limits
max_cpus = 12
max_memory = 96.GB
max_time = 296.h
}
// Global resources
executor {
name = 'slurm'
queue = 'uohhm'
queueSize = 15
}
process {
maxRetries = 5
errorStrategy = 'retry'
}
profiles {
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.cacheDir = 'work/singularity'
docker.enabled = false
}
}
// Save report
def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
trace {
enabled = true
file = "${params.outdir}/pipeline_info/trace_${trace_timestamp}.txt"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/report_${trace_timestamp}.html"
}