-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
134 lines (125 loc) · 3.86 KB
/
nextflow.config
File metadata and controls
134 lines (125 loc) · 3.86 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
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
127
128
129
130
131
132
133
134
/*
========================================================================================
GATK Variant Calling Pipeline - Nextflow Config
========================================================================================
*/
singularity.pullTimeout = '4d'
params {
// Trace
trace_report_suffix = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss')
// Input/output options
input = null
outdir = "results"
preprocessor = null
small_variant_caller = null
// Options: "gatk", "freebayes", "deepvariant"
structural_variant_caller = null
// Options: "manta", "tiddit", "delly", "cnvnator", "smoove"
annotation_caller = null
publish_dir_mode = "symlink"
// SnpEff annotation option
help = false
genome = "GRCh38"
}
includeConfig 'conf/igenomes.config'
includeConfig 'conf/base.config'
includeConfig 'conf/modules.config'
// Execution profiles
profiles {
docker {
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g)'
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
}
test_fastq {
process {
resourceLimits = [cpus: 4, memory: '15.GB', time: '2.h']
}
params {
small_variant_caller = "deepvariant"
structural_variant_caller = "manta"
annotation_caller = "vep"
input = 'assets/samplesheet_fastq.csv'
genome = 'test'
}
}
test_fastq_multi {
process {
resourceLimits = [cpus: 4, memory: '15.GB', time: '2.h']
}
params {
small_variant_caller = "deepvariant"
structural_variant_caller = "manta"
annotation_caller = "vep"
input = 'assets/samplesheet_fastq_multi.csv'
genome = 'test'
}
}
test_cram {
process {
resourceLimits = [cpus: 4, memory: '15.GB', time: '2.h']
}
params {
small_variant_caller = "deepvariant"
structural_variant_caller = "manta"
annotation_caller = "vep"
input = 'assets/samplesheet_cram.csv'
genome = 'test'
}
}
test_cram_multi {
process {
resourceLimits = [cpus: 4, memory: '15.GB', time: '2.h']
}
params{
small_variant_caller = "deepvariant"
structural_variant_caller = "manta"
annotation_caller = "vep"
input = 'assets/samplesheet_cram_multi.csv'
genome = 'test'
}
}
}
// Manifest
manifest {
name = 'gianglabs/nf-germline-short-read-variant-calling'
contributors = [
[
name: 'Giang Nguyen',
affiliation: 'Giang Labs',
email: 'nttg8100@gmail.com',
github: '@nttg8100',
contribution: ['author', 'maintainer'],
orcid: '0000-0001-5092-156X'
]
]
homePage = 'https://github.com/gianglabs/nf-germline-short-read-variant-calling'
description = """An open-source analysis pipeline for germline short read variant calling"""
mainScript = 'main.nf'
defaultBranch = 'master'
nextflowVersion = '!>=25.10.2'
version = '1.0.0'
}
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/execution_timeline_${params.trace_report_suffix}.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/execution_report_${params.trace_report_suffix}.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/execution_trace_${params.trace_report_suffix}.txt"
}