forked from SMD-Bioinformatics-Lund/nextflow-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
100 lines (94 loc) · 3.01 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
process {
withLabel: 'process_high' {
cpus = 4
memory = '16GB'
time = '4h'
}
withLabel: 'process_medium' {
cpus = 2
memory = '8GB'
time = '1h'
}
withLabel: 'process_low' {
cpus = 1
memory = '1GB'
time = '1h'
}
withName: 'ariba_run' {
container = "https://depot.galaxyproject.org/singularity/ariba%3A2.14.6--py38h6ed170a_0"
memory = '32GB'
}
withName: 'ariba_summary' {
container = "https://depot.galaxyproject.org/singularity/ariba%3A2.14.6--py38h6ed170a_0"
}
withName: 'bwa_*' {
container = "https://depot.galaxyproject.org/singularity/bwakit%3A0.7.15--3"
cpus = 16
memory = '32GB'
time = '1h'
}
withName: 'samtools_*' {
container = "https://depot.galaxyproject.org/singularity/ariba%3A2.14.6--py38h6ed170a_0"
}
withName: 'spades' {
container = "https://depot.galaxyproject.org/singularity/spades%3A3.15.3--h95f258a_0"
cpus = 16
memory = '64GB'
time = '2h'
}
withName: quast {
container = "https://depot.galaxyproject.org/singularity/quast%3A5.0.2--py37pl526hb5aa323_2"
}
withName: mlst {
container = "https://depot.galaxyproject.org/singularity/mlst:2.19.0--hdfd78af_1"
}
withName: kraken {
cpus = 16
memory = '48GB'
time = '2h'
container = "https://depot.galaxyproject.org/singularity/kraken2%3A2.1.2--pl5262h7d875b9_0"
}
withName: bracken {
cpus = 16
memory = '48GB'
time = '2h'
container = "https://depot.galaxyproject.org/singularity/bracken%3A2.6.1--py39h7cff6ad_2"
}
withName: freebayes {
container = "https://depot.galaxyproject.org/singularity/freebayes%3A1.3.5--py39hd2e4403_0"
}
withName: 'chewbbaca_*' {
container = "https://depot.galaxyproject.org/singularity/chewbbaca%3A2.0.15--py36_0"
cpus = 7
}
withName: 'ariba_summary_to_json|post_align_qc' {
container = "https://depot.galaxyproject.org/singularity/perl%3A5.26.2"
}
}
singularity {
enabled = true
runOptions = '--bind /fs1/:/fs1/ --bind /trannel/:/trannel/'
}
params {
krakenDb = '/fs1/resources/ref/micro/krakenstd'
}
profiles {
staphylococcus_aureus {
params.genomeReference = '/fs1/resources/ref/micro/species/saureus/ref.fasta'
params.aribaReference = '/fs1/resources/ref/micro/species/saureus/ariba/02.cdhit.all.fa'
params.cgmlstDb = '/fs1/resources/ref/micro/species/saureus/cgmlst'
params.trainingFile = '/fs1/resources/ref/micro/species/saureus/prodigal.trn'
}
escherichia_coli {
params.genomeReference = '/fs1/resources/ref/micro/species/ecoli/ref.fasta'
params.aribaReference = '/fs1/resources/ref/micro/species/ecoli/ariba/02.cdhit.all.fa'
params.cgmlstDb = '/fs1/resources/ref/micro/species/ecoli/cgmlst'
params.trainingFile = '/fs1/resources/ref/micro/species/ecoli/prodigal.trn'
}
klebsiella_pneumoniae {
params.genomeReference = '/fs1/resources/ref/micro/species/klebsiella/ref.fasta'
params.aribaReference = '/fs1/resources/ref/micro/species/klebsiella/ariba/02.cdhit.all.fa'
params.cgmlstDb = '/fs1/resources/ref/micro/species/klebsiella/cgmlst'
params.trainingFile = '/fs1/resources/ref/micro/species/klebsiella/prodigal.trn'
}
}