Description

Convert a BED file to a VCF file according to a YAML config

Input

name:type
description
pattern

meta{:bash}

:map

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

bed{:bash}

:file

The BED file to convert to VCF

*.bed

config{:bash}

:file

The config file to use for the conversion

*.{yml,yaml}

meta2{:bash}

:map

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

fai{:bash}

:file

The fasta index file

*.fai

Output

name:type
description
pattern

vcf{:bash}

meta{:bash}

:map

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

*.vcf.gz{:bash}

:file

The converted VCF file

*.vcf.gz

versions_bedgovcf{:bash}

${task.process}{:bash}

:string

The process name

bedgovcf{:bash}

:string

The tool name

bedgovcf --version 2>&1 | sed 's/^bedgovcf version //'{:bash}

:eval

The tool version

versions_bgzip{:bash}

${task.process}{:bash}

:string

The process name

bgzip{:bash}

:string

The tool name

bgzip --version | head -1 | sed "s/bgzip (htslib) //"{:bash}

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The process name

bedgovcf{:bash}

:string

The tool name

bedgovcf --version 2>&1 | sed 's/^bedgovcf version //'{:bash}

:eval

The tool version

${task.process}{:bash}

:string

The process name

bgzip{:bash}

:string

The tool name

bgzip --version | head -1 | sed "s/bgzip (htslib) //"{:bash}

:eval

The expression to obtain the version of the tool

Tools

bedgovcf
MIT

A simple tool to convert BED files to VCF files