Description

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

Input

name:type
description
pattern

meta{:bash}

:map

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

vcf{:bash}

:file

The vcf file to be queried.

*.{vcf.gz, vcf}

tbi{:bash}

:file

The tab index for the VCF file to be inspected.

*.tbi

regions{:bash}

:file

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

targets{:bash}

:file

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

samples{:bash}

:file

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

Output

name:type
description
pattern

output{:bash}

meta{:bash}

:map

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

*.${suffix}{:bash}

:file

BCFTools query output file

versions_bcftools{:bash}

${task.process}{:bash}

:string

The process the versions were collected from

bcftools{:bash}

:string

The tool name

bcftools --version | sed '1!d; s/^.*bcftools //'{:bash}

:string

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The process the versions were collected from

bcftools{:bash}

:string

The tool name

bcftools --version | sed '1!d; s/^.*bcftools //'{:bash}

:string

The command used to generate the version of the tool

Tools

query
MIT

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