-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnextflow.config
93 lines (75 loc) · 2.96 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// General configuration used in all profiles
manifest {
description = 'TCGA Cancer Driver Genes Benchmark Workflow'
author = 'Javier Garrayo <https://orcid.org/0000-0003-0015-1573>, José Mª Fernández <https://orcid.org/0000-0002-4806-5140>, Asier Gonzalez-Uriarte <https://orcid.org/0000-0002-4159-6096>'
nextflowVersion = '>=19.10.0'
version = '1.0.8'
}
// Profiles configure nextflow depending on the environment (local, integration, live, etc.)
profiles {
docker {
process {
withName: validation{
container = "registry.gitlab.bsc.es/inb/elixir/openebench/workflows/tcga_benchmarking_dockers/tcga_validation:1.0.6"
}
}
process {
withName: compute_metrics{
container = "registry.gitlab.bsc.es/inb/elixir/openebench/workflows/tcga_benchmarking_dockers/tcga_metrics:1.0.6"
}
}
process {
withName: benchmark_consolidation{
container = "registry.gitlab.bsc.es/inb/elixir/openebench/workflows/tcga_benchmarking_dockers/tcga_consolidation:1.0.6"
}
}
docker.enabled = true
// set time zone for running docker containers
docker.runOptions = '--user \$(id -u):\$(id -g) -e TZ="\$([ -z \\"\$TZ\\"] && cat /etc/timezone || echo \\"\$TZ\\")"'
}
}
// default parameter values
params {
// submitted file
input = "$baseDir/TCGA_sample_data/All_Together.txt"
// reference file dir to validate input data
public_ref_dir = "$baseDir/TCGA_sample_data/public_ref"
// name of the tool used for the predicitions
participant_id = "my gene predictor"
// directory where the 'gold standards' are found
goldstandard_dir = "$baseDir/TCGA_sample_data/metrics_ref_datasets"
// cancer types for which the benchmark has to be performed
challenges_ids = "ACC BRCA"
// directory where TCGA benchmarking data is found
assess_dir = "$baseDir/TCGA_sample_data/data"
augmented_assess_dir = "$baseDir/TCGA_sample_data/augmented_data"
//name or OEB permanent ID for the benchmarking community
community_id = "TCGA"
// Boolean operator: if set to CLOSED the whole workflow is executed; if OPEN, metrics are computed but aggregation/consolidation is not performed
// challenge_status = "CLOSED"
// directories where results will be written
validation_result = "sample_out/participant_out/validated-participant-data.json"
assessment_results = "sample_out/assessment_out/Assessment_datasets.json"
outdir = "sample_out/results"
statsdir = "sample_out/stats"
outdir = "sample_out/results"
data_model_export_dir = "sample_out/benchmarking_data_model_export/Participant_assessments.json"
otherdir = "sample_out/other"
}
// By default output execution reports
timeline {
enabled = true
file = "${params.statsdir}/timeline.html"
}
report {
enabled = true
file = "${params.statsdir}/report.html"
}
trace {
enabled = true
file = "${params.statsdir}/trace.txt"
}
dag {
enabled = true
file = "${params.statsdir}/DAG.dot"
}