forked from TRON-Bioinformatics/EasyFuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
72 lines (58 loc) · 2.19 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
profiles {
conda {
conda.enabled = true
timeline.enabled = true
report.enabled = true
trace.enabled = true
dag.enabled = true
}
test {
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']
VERSION = '2.0.3'
ENSEMBL_VERSION = '110'
manifest {
name = 'TRON-Bioinformatics/easy-fuse-workflow'
author = 'Patrick Sorn, Jonas Ibn-Salem, Christoph Holsträter, David Weber, Pablo Riesgo Ferreiro'
homePage = 'https://github.com/TRON-Bioinformatics/easyfuse'
description = 'EasyFuse workflow'
mainScript = 'main.nf'
nextflowVersion = '23.10.1'
version = VERSION
}
params.help = false
params.input_files = false
params.output = false
params.reference = false
params.fasta = "${params.reference}/Homo_sapiens.GRCh38.dna.primary_assembly.fa"
params.star_index = "${params.reference}/star_index/"
params.starfusion_index = "${params.reference}/starfusion_index/"
params.fusioncatcher_index = "${params.reference}/fusioncatcher_index/"
params.gtf = "${params.reference}/Homo_sapiens.GRCh38.${ENSEMBL_VERSION}.gtf"
params.annotation_db = "${params.reference}/Homo_sapiens.GRCh38.${ENSEMBL_VERSION}.gff3.db"
params.reference_tsl = "${params.reference}/Homo_sapiens.GRCh38.${ENSEMBL_VERSION}.gtf.tsl"
params.model_pred = "${baseDir}/data/model/Fusion_modeling_FFPE_train_v37.random_forest.model_full_data.EF_full.rds"
params.model_threshold = 0.5
params.help_message = """
EasyFuse workflow v${VERSION}
Usage:
nextflow run tron-bioinformatics/easyfuse -profile conda --input_files input_files --reference reference_lib --output output_folder
Input:
* input_files: the path to a tab-separated values file containing in each row the sample name, FASTQ 1 and FASTQ 2 files.
The input file does not have header!
Example input file:
name1 fastq1 fastq2
name2 fastq1 fastq2
* reference: path to the reference index bundle
* output: path to an output folder
"""