-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
67 lines (49 loc) · 1.6 KB
/
nextflow.config
File metadata and controls
67 lines (49 loc) · 1.6 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
/*___________________________________________________
Nextflow DSL2 Main Config
Authors: Brian J. Sanderson
Copyright The University of Kansas 2023
_____________________________________________________*/
params {
// Select workflow
// workflow = 'rnaseq'
// select config from config folder to use
config = "config/${params.workflow}.config"
// set publish directory for data to save (easier to follow)
pubdir = "../${workflow}"
// organize output:
// by sample folders (with many analysis in one sample folder) or by
// analysis folder (with many samples in one folder per analysis)
organize_by = 'sample' // analysis
keep_intermediate = false // true
// get help
help = null
// make a comment for log
comment = ''
}
// specific config for the pipeline
try {
includeConfig params.config
} catch (Exception e) {
System.err.println("ERROR: Could not load ${params.config} check that you are using a valid pipeline name")
}
// work directory is important as it will be large, plan accordingly
workDir = "/kuhpc/scratch/${USER}/${params.workflow}"
manifest {
name = "KU-GDSC Nextflow Bioinformatics Workflows"
homePage = "https://github.com/KU-GDSC/workflows"
mainScript = "main.nf"
nextflowVersion = "!>=20.10.0"
version = "0.1.0"
}
profiles {
gdsc { includeConfig "config/profiles/gdsc.config" }
kucg { includeConfig "config/profiles/kucg.config" }
}
report {
enabled = true
file = "${params.pubdir}/${params.workflow}_report.html"
overwrite = true
}
plugins {
id 'nf-validation'
}