×

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

Generates stats from VCF files

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

Summary

Generates stats from VCF files

Get started

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

include { BCFTOOLS_STATS } from 'nf-core/bcftools/stats'

License

MIT License

Process
Name BCFTOOLS_STATS
Input 6 channels
#1 tuple
meta map

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

vcf file

VCF input file

*.{vcf}
tbi file

The tab index for the VCF file to be inspected. Optional: only required when parameter regions is chosen.

*.tbi
#2 tuple
meta2 map

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

regions file

Optionally, restrict the operation to regions listed in this file. (VCF, BED or tab-delimited)

#3 tuple
meta3 map

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

targets file

Optionally, restrict the operation to regions listed in this file (doesn't rely upon tbi index files)

#4 tuple
meta4 map

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

samples file

Optional, file of sample names to be included or excluded. e.g. 'file.tsv'

#5 tuple
meta5 map

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

exons file

Tab-delimited file with exons for indel frameshifts (chr,beg,end; 1-based, inclusive, optionally bgzip compressed). e.g. 'exons.tsv.gz'

#6 tuple
meta6 map

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

fasta file

Faidx indexed reference sequence file to determine INDEL context. e.g. 'reference.fa'

Output 2 channels
#1 stats tuple
meta map

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

*stats.txt file

Text output file containing stats

*_{stats.txt}
#2 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
stats Parses VCF or BCF and produces text file stats which is suitable for machine processing and can be plotted using plot-vcfstats. http://samtools.github.io/bcftools/bcftools.html
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:05:21 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Fstats/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bcftools/stats/blobs/sha256:57a2008055b5b5f019d02faabfdffc65049ce0b578d512c75451f7919171f2be
Size 3.4 KB
Checksum sha256:57a2008055b5b5f019d02faabfdffc65049ce0b578d512c75451f7919171f2be