-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnextflow.config
More file actions
105 lines (95 loc) · 2.41 KB
/
nextflow.config
File metadata and controls
105 lines (95 loc) · 2.41 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
/*
* -------------------------------------------------
* Nextflow config file for MethylScore pipeline
* -------------------------------------------------
* 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 {
homePage = 'https://github.com/Computomics/MethylScore'
description = "A nextflow implementation of Computomics' MethylScore pipeline"
name = 'MethylScore'
version = '0.2'
mainScript = 'main.nf'
defaultBranch = 'nextflow'
nextflowVersion = '>=20.10.0'
}
// Default parameters
params {
GENOME = false
SAMPLE_SHEET = false
BEDGRAPH = false
MATRIX = false
METHYLPY = false
PAIRWISE = false
PROJECT_FOLDER = "./results"
METRICS = true
REMOVE_INTMED_FILES = true
HUMAN = false
ROI = false
STATISTICS = true
IGV = false
DO_DEDUP = true
// DMR parameters
DMR_CONTEXTS = "CG,CHG,CHH"
DMRS_PER_CONTEXT = true
CLUSTER_MIN_METH_DIFF_CG = 20
CLUSTER_MIN_METH_DIFF_CHG = 20
CLUSTER_MIN_METH_DIFF_CHH = 20
CLUSTER_MIN_METH_CG = 20
CLUSTER_MIN_METH_CHG = 20
CLUSTER_MIN_METH_CHH = 20
MR_FREQ_CHANGE = 20
MR_FREQ_DISTANCE = 30
CLUSTER_MIN_METH = 20
CLUSTER_MIN_METH_DIFF = 20
SLIDING_WINDOW_SIZE = 0
SLIDING_WINDOW_STEP = 0
DMR_MIN_C = 5
DMR_MIN_COV = 3
MR_BATCH_SIZE = 500
HDMR_FOLD_CHANGE = 3
FDR_CUTOFF = 0.05
// Consensus parameters
MIN_QUAL = 30
IGNORE_OT = "0,0,0,0"
IGNORE_OB = "0,0,0,0"
// MR parameters
MR_MIN_COV = 1
MR_MIN_C = 20
DESERT_SIZE = 100
TRIM_METHRATE = 10
MERGE_DIST = 30
MR_PARAMS = false
}
includeConfig 'conf/base.config'
profiles {
local { process.executor = 'local' }
singularity { singularity.enabled = true }
podman { podman.enabled = true }
docker { docker.enabled = true }
charliecloud { charliecloud.enabled = true }
testing { includeConfig 'conf/testing.config' }
cbe { includeConfig 'conf/cbe.config' }
biohpc_gen { includeConfig 'conf/biohpc_gen.config' }
}
if (params.METRICS) {
timeline {
enabled = true
file = "${params.PROJECT_FOLDER}/MethylScore_timeline.html"
}
report {
enabled = true
file = "${params.PROJECT_FOLDER}/MethylScore_report.html"
}
trace {
enabled = true
file = "${params.PROJECT_FOLDER}/MethylScore_trace.txt"
}
dag {
enabled = true
file = "${params.PROJECT_FOLDER}/MethylScore_graph.png"
}
}