Skip to content

Commit 87e1025

Browse files
authored
Merge pull request #7 from TRON-Bioinformatics/fix-vafator-params
remove cleanup + refactor modules parameters
2 parents faae556 + b9e22a2 commit 87e1025

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

main.nf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ params.skip_decompose_complex = false
1818
params.filter = false
1919
params.cpus = 1
2020
params.memory = "4g"
21-
params.vcf_without_ad = false
22-
params.mapping_quality = 0
23-
params.base_call_quality = 0
2421
params.skip_multiallelic_filter = false
2522
params.snpeff_organism = false
26-
params.snpeff_args = ""
2723
params.snpeff_datadir = false
2824

2925

modules/04_vafator.nf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ params.memory = "4g"
33
params.output = ""
44
params.mapping_quality = 0
55
params.base_call_quality = 0
6-
params.skip_multiallelic_filter = false
76
params.enable_conda = false
87

98

@@ -27,9 +26,9 @@ process VAFATOR {
2726
vafator \
2827
--input-vcf ${vcf} \
2928
--output-vcf ${vcf.baseName}.vaf.vcf \
30-
${bams_param} \
3129
--mapping-quality ${params.mapping_quality} \
32-
--base-call-quality ${params.base_call_quality}
30+
--base-call-quality ${params.base_call_quality} \
31+
${bams_param}
3332
"""
3433
}
3534

nextflow.config

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ env {
2727
// Capture exit codes from upstream processes when piping
2828
process.shell = ['/bin/bash', '-euo', 'pipefail']
2929

30-
VERSION = '2.1.3'
31-
32-
cleanup=true
30+
VERSION = '2.1.4'
3331

3432
manifest {
3533
name = 'TRON-Bioinformatics/tronflow-vcf-postprocessing'

0 commit comments

Comments
 (0)