Skip to content

Commit

Permalink
Merge pull request #7 from TRON-Bioinformatics/fix-vafator-params
Browse files Browse the repository at this point in the history
remove cleanup + refactor modules parameters
  • Loading branch information
priesgo authored Feb 2, 2022
2 parents faae556 + b9e22a2 commit 87e1025
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ params.skip_decompose_complex = false
params.filter = false
params.cpus = 1
params.memory = "4g"
params.vcf_without_ad = false
params.mapping_quality = 0
params.base_call_quality = 0
params.skip_multiallelic_filter = false
params.snpeff_organism = false
params.snpeff_args = ""
params.snpeff_datadir = false


Expand Down
5 changes: 2 additions & 3 deletions modules/04_vafator.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ params.memory = "4g"
params.output = ""
params.mapping_quality = 0
params.base_call_quality = 0
params.skip_multiallelic_filter = false
params.enable_conda = false


Expand All @@ -27,9 +26,9 @@ process VAFATOR {
vafator \
--input-vcf ${vcf} \
--output-vcf ${vcf.baseName}.vaf.vcf \
${bams_param} \
--mapping-quality ${params.mapping_quality} \
--base-call-quality ${params.base_call_quality}
--base-call-quality ${params.base_call_quality} \
${bams_param}
"""
}

Expand Down
4 changes: 1 addition & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ env {
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']

VERSION = '2.1.3'

cleanup=true
VERSION = '2.1.4'

manifest {
name = 'TRON-Bioinformatics/tronflow-vcf-postprocessing'
Expand Down

0 comments on commit 87e1025

Please sign in to comment.