Description

Add or remove annotations.

Input

name:type
description
pattern

meta

:map

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

input

:file

Query VCF or BCF file, can be either uncompressed or compressed

index

:file

Index of the query VCF or BCF file

annotations

:file

Bgzip-compressed file with annotations

annotations_index

:file

Index of the annotations file

columns

:file

List of columns in the annotations file, one name per row

header_lines

:file

Contains lines to append to the output VCF header

rename_chrs

:file

Rename annotations according to this file containing “old_name new_name\n” pairs separated by whitespaces, each on a separate line.

Output

name:type
description
pattern

vcf

meta

:map

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

${prefix}.${extension}

:file

Compressed annotated VCF file

*{vcf,vcf.gz,bcf,bcf.gz}

tbi

meta

:map

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

${prefix}.${extension}.tbi

:file

Alternative VCF file index

*.tbi

csi

meta

:map

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

${prefix}.${extension}.csi

:file

Default VCF file index

*.csi

versions_bcftools

${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

Topics

name:type
description
pattern

versions

${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