forked from davideyre/hash-cgmlst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
74 lines (62 loc) · 1.74 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
// reporting
report {
enabled = true
file = "nextflow_reports/report.html"
}
timeline {
enabled = true
file = "nextflow_reports/timeline.html"
}
trace {
enabled = true
file = "nextflow_reports/trace.txt"
fields = 'task_id,hash,native_id,process,tag,name,status,exit,submit,start,complete,duration,realtime,%cpu,rss,vmem,rchar,wchar'
raw = true
}
// profiles
profiles {
ophelia {
//executor and container
process.executor = 'local'
process.container = 'singularity/hash-cgmlst.img'
singularity.enabled = true
singularity.autoMounts = true
//work directory
workDir = "/mnt/data/work"
//per process resources and error strategy
process {
//default
cpus = 1
memory = '10.5 GB'
errorStrategy = { task.attempt<2 ? 'retry' : 'ignore'}
}
}
cluster {
//executor and container
process.executor = 'sge'
process.container = "singularity/hash-cgmlst.img"
executor.queueSize = 1000
singularity.enabled = true
singularity.autoMounts = true
process.queue = 'short.qc'
clusterOptions = '-P bag.prjc'
//work directory
workDir = "work"
//per process resources and error strategy
process {
//default
cpus = 1
memory = '16 GB'
errorStrategy = { task.attempt<2 ? 'retry' : 'ignore'}
module = 'python/3.4.3'
errorStrategy = 'ignore'
}
}
}
// description
manifest {
homePage = 'https://github.com/davideyre/hash-cgmlst'
description = 'Pipeline for hash-based core-genome MLST on bacterial sequencing data'
mainScript = 'hash-cgmlst.nf'
version = '0.1'
}