-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.nf
More file actions
42 lines (35 loc) · 890 Bytes
/
main.nf
File metadata and controls
42 lines (35 loc) · 890 Bytes
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
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
log.info(Core.bioradLogo(params.monochrome_logs))
messages = []
// Check if help flag was given
if (params.help) {
message = Core.helpMessage(params.monochrome_logs)
log.info(message)
System.exit(0)
}
// Import workflows
include { PULL_IMAGES } from './workflows/core/singularity.nf'
include { RNA } from './workflows/rna/rna.nf'
include { ATAC_NORMAL } from './workflows/atac_normal/atac_normal.nf'
include { ATAC_COMBINATORIAL } from './workflows/atac_combinatorial/atac_combinatorial.nf'
workflow {
// Analyze 3' RNA Data
if (params.rna) {
RNA(
messages
)
}
// Analyze ATAC data
if (params.atac) {
ATAC_NORMAL(
messages
)
}
// Analyze ATAC data
if (params.catac) {
ATAC_COMBINATORIAL(
messages
)
}
}