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_svdb{:bash}
${task.process}{:bash}
:string
The name of the process
svdb{:bash}
:string
The name of the tool
svdb | sed -nE 's/.*SVDB-([0-9.]+).*/\1/p'{:bash}
:eval
The expression to obtain the version of the tool
versions_bcftools{:bash}
${task.process}{:bash}
:string
The name of the process
bcftools{:bash}
:string
The tool name
bcftools --version | sed '1!d; s/^.*bcftools //'{:bash}
:eval
The command used to generate the version of the tool
Topics
name:type
description
pattern
versions{:bash}
${task.process}{:bash}
:string
The name of the process
svdb{:bash}
:string
The name of the tool
svdb | sed -nE 's/.*SVDB-([0-9.]+).*/\1/p'{:bash}
:eval
The expression to obtain the version of the tool
${task.process}{:bash}
:string
The name of the process
bcftools{:bash}
:string
The tool name
bcftools --version | sed '1!d; s/^.*bcftools //'{:bash}
:eval
The command used to generate the version of the tool