-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.nf
32 lines (24 loc) · 892 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
// enable dsl2
nextflow.enable.dsl=2
// import modules
include {illumina} from './workflows/illumina.nf'
workflow {
main:
if (params.illumina) {
illumina()
}
else if (params.ont) {
ont()
}
else {
println("\n#################################################################################################\n")
println("\n\tYow! This is your boy, Ufuoma, here.")
println("\n\tPlease select a workflow with either --illumina or --ont")
println("\tthen indicate the location of the raw reads (i.e., after --reads)")
println("\tand where to place the results (i.e., after --out_dir)\n")
println("\n\tFor example,\n")
println("\tnextflow run Karumata --illumina --reads raw_fastq --out_dir results_illumina \n")
println("\n#################################################################################################")
System.exit(1)
}
}