-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
76 lines (65 loc) · 1.64 KB
/
nextflow.config
File metadata and controls
76 lines (65 loc) · 1.64 KB
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
manifest {
name = 'cryVar'
author = 'dpilz'
description = 'SARS-CoV-2 cryptic variant detection pipeline'
}
params {
reads = "data/fastq/*.fastq.gz"
reference = "reference/reference_genome/NC_045512_Hu-1.fasta"
annotation = "reference/annotation/NC_045512_Hu-1.gff"
metadata = null
primer_dir = "reference/primer"
outdir = "results"
minreadlen = 80
ivar_options = ""
covar_options = ""
gisaid_token_path = System.getenv('GISAID_TOKEN_PATH')
detect_cryptic_script = "detect_cryptic.py"
}
process {
executor = 'local'
withName: ALIGN_MINIMAP2 {
cpus = 8
memory = '16 GB'
}
withName: SAMTOOLS_SORT_INDEX_PRE {
cpus = 4
memory = '8 GB'
}
withName: IVAR_TRIM {
cpus = 4
memory = '4 GB'
}
withName: SAMTOOLS_SORT_INDEX_POST {
cpus = 4
memory = '8 GB'
}
withName: COVAR {
cpus = 8
memory = '8 GB'
}
}
profiles {
standard {
params {
outdir = "results"
}
}
debug {
params {
reads = "data/test/*_{R1,R2}.fastq.gz"
outdir = "results/debug"
}
timeline {
enabled = true
file = "timeline.html"
}
}
docker {
docker.enabled = true
docker.runOptions = params.gisaid_token_path ?
"-u \$(id -u):\$(id -g) -v ${params.gisaid_token_path}:/opt/conda/lib/python3.14/site-packages/.Python_outbreak_info_token.txt:ro" :
"-u \$(id -u):\$(id -g)"
process.container = 'cryvar:latest'
}
}