-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
73 lines (61 loc) · 2.04 KB
/
nextflow.config
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
/*
* -------------------------------------------------
* TRON-Bioinformatics/tronflow-bam-preprocessing Nextflow config file
* -------------------------------------------------
* Default config options for all environments.
*/
params.cpus = 1
params.memory = '3g'
profiles {
conda {
params.enable_conda = true
conda.enabled = true
}
debug { process.beforeScript = 'echo $HOSTNAME' }
test {
params.reference = "$baseDir/test_data/ucsc.hg19.minimal.fasta"
params.intervals = "$baseDir/test_data/minimal_intervals.bed.gz"
timeline.enabled = false
report.enabled = false
trace.enabled = false
dag.enabled = false
}
}
// Export this variable to prevent local Python libraries from conflicting with those in the container
env {
PYTHONNOUSERSITE = 1
}
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
cleanup = true
VERSION = '0.2.4'
DOI = 'doi'
manifest {
name = 'TRON-Bioinformatics/tronflow-strelka2'
author = 'Pablo Riesgo-Ferreiro, Oezlem Muslu'
homePage = 'https://github.com/TRON-Bioinformatics/tronflow-strelka2'
description = 'Strelka2 pipeline'
mainScript = 'main.nf'
nextflowVersion = '>=19.10.0'
version = VERSION
doi = DOI
}
params.manifest = manifest
params.help_message = """
nextflow run tron-bioinformatics/tronflow-strelka2 --help
Usage:
nextflow run tron-bioinformatics/tronflow-strelka2 -profile conda --input_files input_files --reference reference.fasta
Input:
* input_files: the path to a tab-separated values file containing in each row the sample name, tumor bam and normal bam
The input file does not have header!
Example input file:
name1 tumor_bam1 normal_bam1
name2 tumor_bam2 normal_bam2
* reference: path to the FASTA genome reference (indexes expected *.fai)
Optional input:
* output: the folder where to publish output
* memory: the ammount of memory used by each job (default: 16g)
* cpus: the number of CPUs used by each job (default: 2)
Output:
* Final somatic calls VCF
"""