Description

Reheader a VCF file

Input

name:type
description
pattern

meta:map

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

]

vcf:file

VCF/BCF file

*.{vcf.gz,vcf,bcf}

header:file

New header to add to the VCF

*.{header.txt}

samples:file

File containing sample names to update (one sample per line)

*.{samples.txt}

meta2:map

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

fai:file

Fasta index to update header sequences with

*.{fai}

Output

name:type
description
pattern

vcf

meta:map

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

]

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

VCF with updated header, bgzipped per default

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

index

meta:map

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

]

*.{csi,tbi}:file

Index of VCF with updated header

*.{csi,tbi}

versions

versions.yml:file

File containing software versions

versions.yml