-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
126 lines (95 loc) · 3.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// Default workflow parameters
// Execution specific profile parameters are found in conf/profiles.config
// mads 2024-02-09
params {
// ID for VCF output files:
outputId = ""
// Table containing pool ids and corresponding FastQ files
pooltable = ""
// Table linking pool ids to sample ids
decodetable = ""
// Reference genome
reference_genome = ""
// Target genes bedfile
bedfile = ""
// Target regions extraction from truth wgs bam file
bedfile_bam_extraction = ""
// Target genes gatk dictfile
dictfile = ""
// Downsample to this million reads
// 150x on the Twist panel is app. 8M.
downsample = 0
// Experiment ploidy
ploidy = 48
// Run HaplotypeCaller by intervals. Default is by chromosome.
runHCParallel = true
intervalList = (1..22).collect { "chr${it}" } + ["chrX"]
// Minimum alternative support for lofreq variants
// 0 = no filtering
minAltSupport = 0
// ONLY run the following step: 'mapping', 'calling' or 'pinpoint'.
// If calling - a cramtable is required.
// If pinpoint - a vcftable is required.
step = ''
cramtable = "$projectDir/cramtable.tsv"
vcftable = "$projectDir/vcftable.tsv"
// Run full WGS pipeline
fqtable = ''
// Subset WGS cram files as input to WGS workflow
subset_wgs = false
// Use already subset cram files as input. Define path to input cramtable:
wgs_subset_input = ""
// Perform fast duplication removal
// Does NOT discern between PCR duplicates and optical duplicates, but both are marked.
fast_markdup = false
// Perform duplication using spark (beta tool)
spark_markdup = true
// UMI processing (opional)
umi = false
// Quality control
fullQC = false
doFastqc = true
// Variant calling methods
lofreq = true
gatk_joint_calling = false
crisp = false // Pool only (not available through conda)
octopus = false // Pool only (linux only)
deepvariant = false // WGS only (linux only)
// Variant filtering. Either optimised for sensitivity or balance
filter = true
filter_method = 'sensitivity'
filter_indels = false
discard_filtered = true
// Pinpoint method (pilot or new)
pinpoint_method = 'new'
// Annotation configurations
annotate = true
snpeff_db = 'GRCh38.99'
snpeff_config = ""
snpeff_cache = ""
clinvar_db = ""
// Add gene annotation based on third column in bedfile
bedfile_gene_annotation = true
// Misc (never edit here)
help = false
testing = false
}
// Processes should always fail if any pipe element has a non-zero exit code.
process.shell = ['/bin/bash', '-euo', 'pipefail']
// Include execution profiles and reference files
includeConfig 'conf/profiles.config'
// Add additional log and tracing. Trace can be adjusted to specific outputs.
trace {
enabled = true
file = 'trace.txt'
overwrite = true
}
report {
enabled = true
file = 'report.html'
overwrite = true
}
// Set default branch if running directly from github
manifest {
defaultBranch = 'main'
}