-
Notifications
You must be signed in to change notification settings - Fork 9
/
nextflow.config
147 lines (123 loc) · 2.82 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/*
* -------------------------------------------------
* Chip-seq Nextflow config file
* -------------------------------------------------
* Default config options for all environments.
* Cluster-specific config options should be saved
* in the conf folder and imported under a profile
* name here.
*/
manifest {
name = 'ChIP-seq'
author = 'V. Laroche, P. La Rosa, N. Servant'
homePage = 'https://gitlab.com/data-analysis/chipseq'
description = 'Nextflow pipeline for ChIP-seq data analysis'
mainScript = 'main.nf'
nextflowVersion = '>=21.10.06'
version = '2.0.0'
doi = '10.5281/zenodo.7538960'
}
params {
email = false
help = false
name = false
container = ''
// Workflow flags
genome = false
reads = null
readPaths = null
samplePlan = null
design = false
spike = false
spikeFasta = false
singleEnd = false
inputBam = false
bam = false
saveIntermediates = false
// default options
multiqcConfig = "$projectDir/assets/multiqcConfig.yaml"
metadata = "$projectDir/assets/metadata.tsv"
// Output directories
outDir = "$launchDir/results"
summaryDir = "${params.outDir}/summary"
// trimming
trimming = false
trimmingOpts = "--trim-n --length 20"
// fastq
fragmentSize = 200
// alignment
aligner = 'bwa-mem'
bowtie2Opts = '--very-sensitive --end-to-end --reorder'
bwaOpts = '-M'
starOpts = ''
// samtools
sortMaxMemory = "900M"
// filtering
keepDups = false
keepSingleton = false
mapq = 10
//bigwig
noReadExtension = false
// preseq
preseqDefect = false
// peak calling
macs2Opts = "--SPMR --trackline --bdg --keep-dup all"
broadCutoff = 0.1
epic2Opts = "-a --bin-size 200 --gaps-allowed 3 --false-discovery-rate-cutoff 0.05"
// FeatureCounts
tssSize = 2000
// Spike-in
spikes = false
spikePercentFilter = 0.2
//skips
skipMultiqc = false
skipFastqc = false
skipSaturation = false
skipFiltering = false
skipPPQT = false
skipDeepTools = false
skipPeakCalling = false
skipPeakAnno = false
skipPeakQC = false
skipIDR = false
skipFeatCounts = false
skipMultiQC = false
}
/*
* Configs and profiles
*/
// Additional configs
includeConfig 'conf/base.config'
includeConfig 'conf/process.config'
includeConfig 'conf/geniac.config'
// Profiles
profiles {
conda {
includeConfig 'conf/conda.config'
}
multiconda {
includeConfig 'conf/multiconda.config'
}
docker {
includeConfig 'conf/docker.config'
}
singularity {
includeConfig 'conf/singularity.config'
}
path {
includeConfig 'conf/path.config'
}
multipath {
includeConfig 'conf/multipath.config'
}
cluster {
includeConfig 'conf/cluster.config'
}
test {
includeConfig 'conf/test.config'
}
}
// Load annotation
includeConfig 'conf/genomes.config'
// Modules config
includeConfig 'conf/modules.config'