×

nf-core/bcftools/reheader @ 0.0.0-6c4ed3a

Reheader a VCF file

Latest version: 0.0.0-6c4ed3a
Total downloads: 6
Source: nf-core/modules

Summary

Reheader a VCF file

Get started

Add the following snippet to your workflow script to include this module.

include { BCFTOOLS_REHEADER } from 'nf-core/bcftools/reheader'

License

MIT License

Process
Name BCFTOOLS_REHEADER
Input 2 channels
#1 tuple
meta map

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

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}
#2 tuple
meta2 map

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

fai file

Fasta index to update header sequences with

*.{fai}
Output 3 channels
#1 vcf tuple
meta map

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

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

VCF with updated header, bgzipped per default

*.{vcf,vcf.gz,bcf,bcf.gz}
#2 index tuple
meta map

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

*.{csi,tbi} file

Index of VCF with updated header

*.{csi,tbi}
#3 versions_bcftools tuple
${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

Tool Description Homepage
reheader Modify header of VCF/BCF files, change sample names. http://samtools.github.io/bcftools/bcftools.html
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:05:14 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Freheader/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bcftools/reheader/blobs/sha256:b941151f13767d02c747c2b898c3fc2b70c0b323d2d599f9fdf0ca4e3af19d99
Size 4.2 KB
Checksum sha256:b941151f13767d02c747c2b898c3fc2b70c0b323d2d599f9fdf0ca4e3af19d99
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:05:14 (UTC) 3 4.2 KB
0.0.0-0c7146d 08 Apr 2026 18:46:20 (UTC) 3 4.2 KB