vcf_gather_bcftools
Concatenate several VCF files using bcftools concat. An additional option can be given to sort the concatenated VCF.
concatvcfgathersortbcftools
Description
Concatenate several VCF files using bcftools concat. An additional option can be given to sort the concatenated VCF.
Input
name
description
pattern
Groovy Map containing at least a common field for each VCF that needs to be merged
e.g. [ id:‘test.001’, common_meta:‘test’ ]
VCF files and their indices that should be concatenated as well as the expected number of vcf
Structure: [ meta, vcf, tbi, count ]
OPTIONAL:
A string array of the common meta keys to use to group the vcfs.
Please make sure all VCFs that need to be concatenated have the same value in the
the meta fields specified - the subworkflow will error if a required key is missing from a meta map.