Description

The merge module merges structural variants within one or more vcf files.

Input

name:type
description
pattern

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’ ]

vcfs{:bash}

:list

One or more VCF files. The order and number of files should correspond to the order and number of tags in the priority input channel.

*.{vcf,vcf.gz}

input_priority{:bash}

:list

Prioritize the input VCF files according to this list, e.g [‘tiddit’,‘cnvnator’]. The order and number of tags should correspond to the order and number of VCFs in the vcfs input channel.

sort_inputs{:bash}

:boolean

Should the input files be sorted by name. The priority tag will be sorted together with it’s corresponding VCF file.

Output

name:type
description
pattern

vcf{:bash}

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.{vcf,vcf.gz,bcf,bcf.gz}{:bash}

:file

VCF output file

*.{vcf,vcf.gz,bcf,bcf.gz}

tbi{:bash}

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.tbi{:bash}

:file

Alternative VCF file index

*.tbi

csi{:bash}

meta{:bash}

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.csi{:bash}

:file

Default VCF file index

*.csi

versions{:bash}

versions.yml{:bash}

:file

File containing software versions

versions.yml

Tools