×

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

Extracts fields from VCF or BCF files and outputs them in user-defined format.

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @abhi18av @drpatelh
Maintainers: @abhi18av @drpatelh

Summary

Extracts fields from VCF or BCF files and outputs them in user-defined format.

Get started

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

include { BCFTOOLS_QUERY } from 'nf-core/bcftools/query'

License

MIT License

Process
Name BCFTOOLS_QUERY
Input 4 channels
#1 tuple
meta map

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

vcf file

The vcf file to be queried.

*.{vcf.gz, vcf}
tbi file

The tab index for the VCF file to be inspected.

*.tbi
regions file

Optionally, restrict the operation to regions listed in this file.

targets file

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

samples file

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

Output 2 channels
#1 output tuple
meta map

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

*.${suffix} file

BCFTools query output file

#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
query Extracts fields from VCF or BCF files and outputs them in user-defined format. http://samtools.github.io/bcftools/bcftools.html
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:25:36 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Fquery/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/bcftools/query/blobs/sha256:1b9d39ac503eda0f4cee4dddf194f220936d8486df6d7048540aa383c88228ed
Size 2.8 KB
Checksum sha256:1b9d39ac503eda0f4cee4dddf194f220936d8486df6d7048540aa383c88228ed
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:25:36 (UTC) 1 2.8 KB -