Description

Sorts a feature file by chromosome and other criteria.

Input

name:type
description
pattern

meta

:map

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

intervals

:file

BED/BEDGRAPH

*.{bed|bedGraph}

genome_file

:file

Optional reference genome 2 column file that defines the expected chromosome order.

*.{fai,txt,chromsizes}

Output

name:type
description
pattern

sorted

meta

:map

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

*.${extension}

:file

Sorted output file

*.${extension}

versions_bedtools

${task.process}

:string

The name of the process

bedtools

:string

The name of the tool

bedtools --version | sed -e 's/bedtools v//g'

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

bedtools

:string

The name of the tool

bedtools --version | sed -e 's/bedtools v//g'

:eval

The expression to obtain the version of the tool

Tools

bedtools
MIT

A set of tools for genomic analysis tasks, specifically enabling genome arithmetic (merge, count, complement) on various file types.