×

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-6c4ed3a
Total downloads: 7
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 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 08 Apr 2026 18:46:18 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fbcftools%2Fquery/0.0.0-0c7146d/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bcftools/query/blobs/sha256:61cf93c00882cb0005002e147fb66382bd6defbfccb1f9bfca1c7ae7e7de6309
Size 2.8 KB
Checksum sha256:61cf93c00882cb0005002e147fb66382bd6defbfccb1f9bfca1c7ae7e7de6309
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:05:13 (UTC) 4 2.8 KB
0.0.0-0c7146d 08 Apr 2026 18:46:18 (UTC) 3 2.8 KB