Description

Reheader a VCF file

Input

name:type
description
pattern

meta{:bash}

:map

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

vcf{:bash}

:file

VCF/BCF file

*.{vcf.gz,vcf,bcf}

header{:bash}

:file

New header to add to the VCF

*.{header.txt}

samples{:bash}

:file

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

*.{samples.txt}

meta2{:bash}

:map

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

fai{:bash}

:file

Fasta index to update header sequences with

*.{fai}

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 with updated header, bgzipped per default

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

index{:bash}

meta{:bash}

:map

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

*.{csi,tbi}{:bash}

:file

Index of VCF with updated header

*.{csi,tbi}

versions{:bash}

versions.yml{:bash}

:file

File containing software versions

versions.yml