-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.nf
More file actions
78 lines (66 loc) · 2.97 KB
/
main.nf
File metadata and controls
78 lines (66 loc) · 2.97 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
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env nextflow
/*
========================================================================================
nf-core/westest
========================================================================================
Github : https://github.com/nf-core/westest
Website: https://nf-co.re/westest
Slack : https://nfcore.slack.com/channels/westest
----------------------------------------------------------------------------------------
*/
nextflow.enable.dsl = 2
/*
========================================================================================
GENOME PARAMETER VALUES
========================================================================================
*/
params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
params.fasta_fai = WoekflowMain.getGenomeAttribute(params, 'fai')
params.dict = WorkflowMain.getGenomeAttribute(params, 'dict')
params.chromsize = WorkflowMain.getGenomeAttribute(params, 'chromsize')
params.bwa = WorkflowMain.getGenomeAttribute(params, 'bwa')
params.dbsnp = WorkflowMain.getGenomeAttribute(params, 'dbsnp')
params.g1000snp = WorkflowMain.getGenomeAttribute(params, 'g1000snp')
params.hapmap = WorkflowMain.getGenomeAttribute(params, 'hapmap')
params.mills = WorkflowMain.getGenomeAttribute(params, 'mills')
params.omni = WorkflowMain.getGenomeAttribute(params, 'omni')
params.axiom = WorkflowMain.getGenomeAttribute(params, 'axiom')
params.knownindels = WorkflowMain.getGenomeAttribute(params, 'knownindels')
params.cosmic = WorkflowMain.getGenomeAttribute(params, 'cosmic')
params.gnomad = WorkflowMain.getGenomeAttribute(params, 'gnomad')
params.target_bed = WorkflowMain.getGenomeAttribute(params, 'target_bed')
/*
========================================================================================
VALIDATE & PRINT PARAMETER SUMMARY
========================================================================================
*/
WorkflowMain.initialise(workflow, params, log)
/*
========================================================================================
NAMED WORKFLOW FOR PIPELINE
========================================================================================
*/
include { WESTEST } from './workflows/westest'
//
// WORKFLOW: Run main nf-core/westest analysis pipeline
//
workflow NFCORE_WESTEST {
WESTEST ()
}
/*
========================================================================================
RUN ALL WORKFLOWS
========================================================================================
*/
//
// WORKFLOW: Execute a single named workflow for the pipeline
// See: https://github.com/nf-core/rnaseq/issues/619
//
workflow {
NFCORE_WESTEST ()
}
/*
========================================================================================
THE END
========================================================================================
*/