-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnextflow.config
More file actions
87 lines (72 loc) · 2.79 KB
/
nextflow.config
File metadata and controls
87 lines (72 loc) · 2.79 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
79
80
81
82
83
84
85
86
87
/*
* -------------------------------------------------
* TRON-Bioinformatics/variantmedium
* -------------------------------------------------
*/
params {
// cmdline options
samplesheet = null // path to samplesheet
outdir = null // path to generate pipeline outputs
execution_step = null // execution step: [prepare_tsv_inputs, stage_data, candidate_filtering, call_variants]
mount_path = null // path to bind mount when using singularity profile
snv_calling = true // whether to call SNVs
indel_calling = false // whether to call Indels
run_data_staging = true // whether to stage input data files
skip_preprocessing = false // whether to skip preprocessing step
// data publishing
prepare_tsv_outs = 'tsv_folder'
data_staging_outs = 'data_staging'
preprocess_outs = 'output_01_01_preprocessed_bams'
candidate_calling_outs = 'output_01_02_candidate_calls'
vcf_postprocessing_outs = 'output_01_03_vcf_postprocessing'
candidate_filtering_outs = 'output_01_04_candidates_extratrees'
bam2tensor_outs = 'output_01_05_tensors'
variant_calling_outs = 'output_01_06_calls_densenet'
publish_dir_mode = 'copy'
// process specific
bed_url = "http://hgdownload.soe.ucsc.edu/gbdb/hg38/exomeProbesets/S07604624_Covered.bb" // URL to exome target regions in bigBed format
reference_dir = 'ref_data' // directory name for reference data
models_dir = 'models' // directory name for trained models
// variantmedium call
learning_rate = 0.13
drop_rate = 0.3
epoch = 0
// version - needs an update with each release
version = '1.2.0'
}
process {
beforeScript = '''
echo SLURM_JOB_ID=$SLURM_JOB_ID
'''
}
profiles {
conda {
conda.enabled = true
}
singularity {
singularity.enabled = true
singularity.autoMounts = true
singularity.runOptions = "--bind ${params.mount_path}"
}
slurm {
process {
executor = 'slurm'
}
}
}
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
manifest {
name = 'TRON-Bioinformatics/variantmedium'
author = 'Ozlem Muslu, Jonas Ibn-Salem, Shaya Akbarinejad, Luis Kress, Sameesh Kher'
homePage = 'https://github.com/TRON-Bioinformatics/variantmedium'
description = 'Somatic point mutation calling using 3D DenseNets'
mainScript = 'main.nf'
nextflowVersion = '>=24.10.3'
version = "${params.version}"
doi = 'doi'
}
cleanup=true
// Load base.config & modules.config for DSL2 module specific options
includeConfig 'conf/base.config'
includeConfig 'conf/modules.config'