Skip to content

Commit 485a067

Browse files
committed
fix issue with the multiallelic filter + document the skip of the multiallelic filter
1 parent 8408f02 commit 485a067

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Optional input:
5555
* --skip_decompose_complex: flag indicating not to split complex variants (ie: MNVs and combinations of SNVs and indels)
5656
* --filter: specify the filter to apply if any (e.g.: PASS), only variants with this value will be kept
5757
* --input_bams: a tab-separated values file containing in each row the sample name, tumor and normal BAM files for annotation with Vafator
58+
* --skip_multiallelic_filter: after VAFator annotations if any multiallelic variant is present (ie: two different
59+
mutations in the same position) only the highest VAF variant is kept unless this flag is passed
5860
* --snpeff_organism: the SnpEff organism name (eg: hg19, hg38, GRCh37.75, GRCh38.99)
5961
* --snpeff_datadir: the SnpEff data folder where the reference genomes were previously downloaded. Required if --snpeff_organism is provided
6062
* --snpeff_args: additional SnpEff arguments

modules/04_vafator.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ process MULTIALLELIC_FILTER {
4545
tuple val(name), file(vcf)
4646

4747
output:
48-
tuple file("${vcf.baseName}.filtered_multiallelics.vcf"), emit: filtered_vcf
48+
tuple val(name), file("${vcf.baseName}.filtered_multiallelics.vcf"), emit: filtered_vcf
4949

5050
script:
5151
"""

nextflow.config

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

30-
VERSION = '2.1.0'
30+
VERSION = '2.1.1'
3131

3232
cleanup=true
3333

@@ -63,6 +63,8 @@ Optional input:
6363
* --filter: specify a comma-separated list of filters to apply (e.g.: PASS,.), only variants with these values will be kept. If not provided all varianst are kept
6464
* --vcf-without-ad: indicate when the VCFs to normalize do not have the FORMAT/AD annotation
6565
* --input_bams: a tab-separated values file containing in each row the sample name, tumor and normal BAM files for annotation with Vafator
66+
* --skip_multiallelic_filter: after VAFator annotations if any multiallelic variant is present (ie: two different
67+
mutations in the same position) only the highest VAF variant is kept unless this flag is passed
6668
* --snpeff_organism: the SnpEff organism name (eg: hg19, hg38, GRCh37.75, GRCh38.99)
6769
* --snpeff_datadir: the SnpEff data folder where the reference genomes were previously downloaded. Required if --snpeff_organism is provided
6870
* --snpeff_args: additional SnpEff arguments
File renamed without changes.

0 commit comments

Comments
 (0)