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_feature_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 the filtered VCF files

Structure: [ val(meta), path(vcf) ]

*.vcf.gz

tbi

Channel containing the index of the filtered VCF files

Structure: [ val(meta), path(tbi) ]

*.tbi