Description

Filter VCF file with bcftools and filter_vep

Input

name
description
pattern

ch_vcf

The input channel containing the VCF files
Structure: [ val(meta), path(vcf) ]

*.{vcf/vcf.gz}

ch_filter_vep_file

File to pass to filter_vep, containing e.g. HGNC IDs to filter on
Structure: [ val(meta), path(txt) ]

filter_with_bcftools

Whether to filter the VCF file with bcftools before passing it to filter_vep

filter_with_filter_vep

Whether to filter the VCF file with filter_vep

Output

name
description
pattern

vcf

Channel containing VCF files
Structure: [ val(meta), path(bam) ]

*.vcf.gz

bai

Channel containing indexed VCF (TBI) files
Structure: [ val(meta), path(bai) ]

*.tbi

versions

File containing software versions
Structure: [ path(versions.yml) ]

versions.yml