-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
92 lines (80 loc) · 2.08 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
// General info
manifest {
name = 'baargin'
author = 'Juliette Hayer'
homePage = 'https://github.com/jhayer/baargin'
description = 'Workflow for analysis of Bacteria Whole Genome Sequencing (WGS) data with AntiMicrobial Resistance (AMR) focus'
nextflowVersion = '>=22.04.0'
version = '0.1'
mainScript = 'main.nf'
}
// default parameters
params {
help = false
profile = false
// phred
phred_type = '33'
//Reads and contigs params
reads_folder=''
contigs=''
genus=''
species=''
amrfinder_organism=''
amr_id_min='0.90'
amr_cov_min='0.60'
// Databases
//provided with download_db.py script
card_db = "$projectDir/db/card/card.json"
kraken2_db = "$projectDir/db/kraken2_mini/mini_std_4G"
plasmidfinder_db = "$projectDir/db/plasmidfinder"
// Optional DBs
amrfinder_db = ''
params.bakta_db = ''
platon_db = ''
busco_db_offline=''
//species Options
busco_lineage = null
// Output
output = './results'
tmpdir = './tmpdir'
}
// Load base.config by default for all pipelines
includeConfig 'conf/base.config'
profiles {
docker {
docker.enabled = true
includeConfig "$projectDir/conf/base.config"
includeConfig "$projectDir/conf/containers.config"
docker.runOptions='-u "$( id -u ):$( id -g )"'
}
itrop {
executor {
name = 'slurm'
}
singularity.enabled = true
includeConfig "$projectDir/conf/itrop.config"
}
singularity {
singularity.enabled = true
includeConfig "$projectDir/conf/base.config"
includeConfig "$projectDir/conf/containers.config"
}
local{
executor {
name = 'local'
}
}
slurm {
executor {
name = 'slurm'
}
}
test {
params.contigs = "$projectDir/test/input/contigs"
params.genus = 'Escherichia'
params.species = 'coli'
params.species_taxid = 562
params.busco_lineage = 'enterobacterales_odb10'
params.output = './results_test'
}
}