Newer
Older
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
nextflow.enable.dsl = 2
include {var_calling} from './pipeline/var_calling.nf'
// which part of the pipeline to run - either 'variant-calling' or 'variant-prioritisation'
params.workflow = null
// path to a bcbio install, containing 'anaconda', 'galaxy', 'genomes', etc
params.bcbio = null
// path to a template config for bcbio variant calling
params.bcbio_template = null
// where the results get written to on the system. The variant calling creates initial
// results here, and variant prioritisation adds to them
params.output_dir = null
// name of the pipeline batch, e.g. '21900', '20220427'
params.pipeline_project_id = null
// version of the pipeline batch, e.g. 'v1'
params.pipeline_project_version = null
// bed file of Twist exome targets
params.target_bed = null
// hg38 reference genome in fasta format
params.reference_genome = null
// path to a Ped file describing all the families in the pipeline batch
params.ped_file = null
// path to a samplesheet mapping individual IDs to fastq pairs
params.sample_sheet = null
workflow {
if (params.workflow == 'variant-calling') {
var_calling()
} else if (params.workflow == 'variant-prioritisation') {
println "Variant prioritisation coming soon"
} else {
exit 1, 'params.workflow required - variant-calling or variant-prioritisation'
}
}