Description

Convert gtf format to bed format

Input

name:type
description
pattern

meta{:bash}

:map

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

gtf{:bash}

:file

A reference file in GTF format

*.{gtf,gtf.gz}

Output

name:type
description
pattern

bed{:bash}

meta{:bash}

:file

A reference file in BED format

*.{bed}

*.bed{:bash}

:file

A reference file in BED format

*.{bed}

versions_bedops{:bash}

${task.process}{:bash}

:string

The name of the process

bedops{:bash}

:string

The name of the tool

bedops --version | sed -n "s/.*version: *\([^ ]*\).*/\1/p"{:bash}

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The name of the process

bedops{:bash}

:string

The name of the tool

bedops --version | sed -n "s/.*version: *\([^ ]*\).*/\1/p"{:bash}

:eval

The expression to obtain the version of the tool

Tools

gtf2bed
GPL v2

The gtf2bed script converts 1-based, closed [start, end] Gene Transfer Format v2.2 (GTF2.2) to sorted, 0-based, half-open [start-1, end) extended BED-formatted data.