-
Notifications
You must be signed in to change notification settings - Fork 21
/
main.nf
42 lines (32 loc) · 1.11 KB
/
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
37
38
39
40
41
42
#!/usr/bin/env nextflow
/*
========================================================================================
genepi/nf-gwas
========================================================================================
Github : https://github.com/genepi/nf-gwas
Author: Sebastian Schönherr & Lukas Forer
---------------------------
*/
nextflow.enable.dsl = 2
include { validateParameters; paramsHelp; paramsSummaryLog } from 'plugin/nf-validation'
if (params.help) {
def citation = '\n' + WorkflowMain.citation(workflow) + '\n'
def String command = "nextflow run ${workflow.manifest.name} --config test.conf"
log.info paramsHelp(command) + citation
exit 0
}
// Validate input parameters
if (params.validate_params) {
validateParameters()
}
// Print summary of supplied parameters
log.info paramsSummaryLog(workflow)
include { NF_GWAS } from './workflows/nf_gwas'
/*
========================================================================================
RUN ALL WORKFLOWS
========================================================================================
*/
workflow {
NF_GWAS ()
}