-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathcall_sv_MT.config
More file actions
52 lines (43 loc) · 1.82 KB
/
Copy pathcall_sv_MT.config
File metadata and controls
52 lines (43 loc) · 1.82 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
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config file for defining DSL2 per module options and publishing paths
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Available keys to override module options:
ext.args = Additional arguments appended to command in module.
ext.args2 = Second set of arguments appended to command in module (multi-tool modules).
ext.args3 = Third set of arguments appended to command in module (multi-tool modules).
ext.prefix = File name prefix for output files.
ext.when = Conditional clause
----------------------------------------------------------------------------------------
*/
//
// Call SV in mitochondria
//
process {
withName: '.*CALL_SV_MT:MT_DELETION' {
ext.args = '-s --insert-size 16000'
ext.prefix = { "${meta.id}_mitochondria_deletions" }
}
withName: '.*CALL_SV_MT:SALTSHAKER_CALL' {
ext.args = '--blacklist'
}
withName: '.*CALL_SV_MT:SALTSHAKER_CLASSIFY' {
ext.args = { [
"--blacklist --vcf",
"--dominant-fraction ${params.saltshaker_dominant_fraction}",
"--radius ${params.saltshaker_group_radius}",
"--high-het ${params.saltshaker_high_heteroplasmy}",
"--multiple-threshold ${params.saltshaker_multiple_threshold}",
"--noise ${params.saltshaker_noise_threshold}"
].join(' ') }
}
withName: '.*CALL_SV_MT:SALTSHAKER_TO_HTML' {
ext.prefix = { "${meta.id}.saltshaker_classify" }
}
withName: '.*CALL_SV_MT:SALTSHAKER_PLOT' {
ext.args = '--blacklist --genes'
}
withName: '.*CALL_SV_MT:SVDB_MERGE' {
ext.prefix = { "${meta.id}_saltshaker" }
}
}