×

nf-core/bcftools/reheader @ 0.0.0-0c7146d

Reheader a VCF file

Latest version: 0.0.0-0c7146d
Total downloads: 1
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-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:25:38 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Freheader/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/bcftools/reheader/blobs/sha256:e937109ba676c9816628ab5d52296adefc4204d638755dc0ab9df8bfd3d85814
Size 4.2 KB
Checksum sha256:e937109ba676c9816628ab5d52296adefc4204d638755dc0ab9df8bfd3d85814
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:25:38 (UTC) 1 4.2 KB -