vcf_filter_survivor_bcftools
Filter a VCF file of structural variants with SURVIVOR and/or bcftools, and return the result as a bgzipped, tabixed VCF. Note that the nextflow.config shipped with this subworkflow must be included for it to work properly.
Description
Filter a VCF file of structural variants with SURVIVOR and/or bcftools, and return the result as a bgzipped, tabixed VCF. Note that the nextflow.config shipped with this subworkflow must be included for it to work properly.
Input
The input channel containing the VCF files to filter and, optionally,
BED files with regions to ignore (pattern: “*.bed”). Pass an empty list
for the BED file to filter genome-wide.
Structure: [ val(meta), path(vcf), path(bed) ]
*.{vcf,vcf.gz}Min SV size passed to SURVIVOR filter (-1 to disable), ignored if “survivor” is not in val_tools_to_use
Max SV size passed to SURVIVOR filter (-1 to disable), ignored if “survivor” is not in val_tools_to_use
Min allele frequency passed to SURVIVOR filter (0-1), ignored if “survivor” is not in val_tools_to_use
Min number of reads supporting the SV passed to SURVIVOR filter (-1 to disable), ignored if “survivor” is not in val_tools_to_use
