Description

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

Input

name:type
description
pattern

meta

:map

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

bed

:file

The BED file to convert to VCF

*.bed

config

:file

The config file to use for the conversion

*.{yml,yaml}

meta2

:map

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

fai

:file

The fasta index file

*.fai

Output

name:type
description
pattern

vcf

meta

:map

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

*.vcf.gz

:file

The converted VCF file

*.vcf.gz

versions_bedgovcf

${task.process}

:string

The process name

bedgovcf

:string

The tool name

bedgovcf --version 2>&1 | sed 's/^bedgovcf version //'

:eval

The tool version

versions_bgzip

${task.process}

:string

The process name

bgzip

:string

The tool name

bgzip --version | head -1 | sed "s/bgzip (htslib) //"

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process name

bedgovcf

:string

The tool name

bedgovcf --version 2>&1 | sed 's/^bedgovcf version //'

:eval

The tool version

${task.process}

:string

The process name

bgzip

:string

The tool name

bgzip --version | head -1 | sed "s/bgzip (htslib) //"

:eval

The expression to obtain the version of the tool

Tools

bedgovcf
MIT

A simple tool to convert BED files to VCF files