Description

Merge VCF files

Input

name:type
description
pattern

meta

:map

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

vcfs

:file

List containing 2 or more vcf files e.g. [ ‘file1.vcf’, ‘file2.vcf’ ]

tbis

:file

List containing the tbi index files corresponding to the vcfs input files e.g. [ ‘file1.vcf.tbi’, ‘file2.vcf.tbi’ ]

bed

:file

(Optional) The bed regions to merge on

*.bed

meta2

:map

Groovy Map containing reference information e.g. [ id:‘genome’ ]

fasta

:file

(Optional) The fasta reference file (only necessary for the --gvcf FILE parameter)

*.{fasta,fa}

fai

:file

(Optional) The fasta reference file index (only necessary for the --gvcf FILE parameter)

*.fai

Output

name:type
description
pattern

vcf

meta

:map

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

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

:file

merged output file

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

index

meta

:map

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

*.{csi,tbi}

:file

index of merged output

*.{csi,tbi}

versions_bcftools

${task.process}

:string

The process the versions were collected from

bcftools

:string

The tool name

bcftools --version | sed '1!d; s/^.*bcftools //'

:string

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process the versions were collected from

bcftools

:string

The tool name

bcftools --version | sed '1!d; s/^.*bcftools //'

:string

The command used to generate the version of the tool