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}

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

meta (map)

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

]

versions (file)

File containing software versions

versions.yml

vcf (file)

VCF with updated header, bgzipped per default

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