-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
97 lines (88 loc) · 2.47 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
/*
*---------------------------------------------
* SCHÖNERNAME PIPELINE MAIN CONFIGURATION
*---------------------------------------------
* Default config for all environments
*/
manifest {
mainScript = 'main.nf'
author = 'Louisa Wessels Perelo'
homePage = 'https://github.com/louperelo/longMeta'
description = 'Antibiotic resistance gene detection in metagenomic long reads'
name = 'weißNochNicht'
nextflowVersion = '>=0.32.0'
version = '0.7'
}
//Parameter
params {
help = false
input = "$PWD/sample.fa"
readtype = "map-ont"
argDb = "$PWD/card_db/card_database_v*.fasta"
drugClass = "$PWD/aro_index.tsv"
blastDbDir = "$PWD/db"
blastDbName = "ref_prok_rep_genomes"
diamondDbDir = "$PWD/db/diamondDb"
diamondDbName = "nt.dmnd"
flye = false
flyeDt = "nano-raw"
length = 95
ident = 80
genomeSize = 1000000
outdir = "$PWD/out_dir"
taxon = "Diamond"
threads = 15
pfThreshold = 0.7
pfModels = "$PWD/env/plasflow/models"
}
/*
setting profiles allows the execution either with Conda or Docker
specifying -profile conda or -profile docker when running the workflow script
*/
profiles {
conda {
process {
withLabel:plasflow {
conda = "$PWD/env/plasflow/plasflow.yml"
}
withLabel:mapcard {
conda = "$PWD/env/mapcard/mapcard.yml"
}
withLabel:blast {
conda = "$PWD/env/blast/prokblast.yml"
}
withLabel:diamond {
conda = "$PWD/env/diamond/dmnd.yml"
}
withLabel:metaflye {
conda = "$PWD/env/flye/flye.yml"
}
}
}
docker {
docker.enabled = true
docker.fixOwnership = true
process {
withLabel:plasflow {
container = 'louperelo/plasflow' //evtl. ganzen Pfad docker.hub angeben
}
withLabel:mapcard {
container = 'louperelo/mapcard'
}
withLabel:blast {
container = 'louperelo/prokblast'
}
withLabel:diamond {
container = 'louperelo/diamond'
}
withLabel:metaflye {
container = 'louperelo/metaflye'
}
}
}
/*
singularity { singularity.enabled = true }
test { includeConfig 'conf/test.config' }
app { includeConfig 'conf/app.config' }
*/
}