-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
86 lines (64 loc) · 1.96 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
// config for autoDatabase
// define global parameters
params {
// path to new fasta to be added to database
addFasta = ""
// path to fasta from previous database build
previousDatabase = null
// path where the new database and other results will be saved
newDatabase = "${baseDir}/result"
// date of NCBI taxonomy to download, format YYYY-MM-DD
ncbiDate = '2020-05-01'
// range to take around the mode of the average mash distance, default is 10%
modeRange = '0.1'
}
// define docker and singularity profiles
profiles {
singularity {
singularity.enabled = 'true'
singularity.autoMounts = 'true'
// path to the singularity containers
params.sifDir = "${baseDir}/singularity"
// define containers for each process
process {
withName:autoDatabase_addTaxon {
container = "${params.sifDir}/autoDatabase_pythonenv.sif"
}
withName:autoDatabase_mash {
container = "${params.sifDir}/autoDatabase_mash.sif"
}
withName:autoDatabase_qc {
container = "${params.sifDir}/autoDatabase_pythonenv.sif"
}
withName:autoDatabase_kraken2Build {
container = "${params.sifDir}/autoDatabase_kraken2.sif"
}
withName:autoDatabase_krona {
container = "${params.sifDir}/autoDatabase_krona.sif"
}
}
}
docker {
docker.enabled = true
fixOwnership = true
runOptions = "-u \$(id -u):\$(id -g)"
// define containers for each process
process {
withName:autoDatabase_addTaxon {
container = "autodatabasepythonenv:latest"
}
withName:autoDatabase_mash {
container = "autodatabasemash:latest"
}
withName:autoDatabase_qc {
container = "autodatabasepythonenv:latest"
}
withName:autoDatabase_kraken2Build {
container = "autodatabasekraken2:latest"
}
withName:autoDatabase_krona {
container = "autodatabasekrona:latest"
}
}
}
}