-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.nf
36 lines (34 loc) · 856 Bytes
/
main.nf
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
include { RUN } from "./workflows/run"
include { RUN_VALIDATION } from "./workflows/run_validation"
include { INDEX } from "./workflows/index"
workflow {
if (params.mode == "index") {
INDEX()
} else if (params.mode == "run") {
RUN()
} else if (params.mode == "run_validation") {
RUN_VALIDATION()
}
}
output {
"input" {
path "input"
tags nextflow_file_class: "publish"
}
"logging" {
path "logging"
tags nextflow_file_class: "publish"
}
"results" {
path "results"
tags nextflow_file_class: "publish"
}
reads_cleaned {
path "intermediates/reads/cleaned"
tags nextflow_file_class: "intermediate"
}
reads_raw_viral {
path "intermediates/reads/raw_viral"
tags nextflow_file_class: "intermediate"
}
}