Description

Sorts a feature file by chromosome and other criteria.

Input

name:type
description
pattern

meta{:bash}

:map

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

intervals{:bash}

:file

BED/BEDGRAPH

*.{bed|bedGraph}

genome_file{:bash}

:file

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

*.{fai,txt,chromsizes}

Output

name:type
description
pattern

sorted{:bash}

meta{:bash}

:map

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

*.${extension}{:bash}

:file

Sorted output file

*.${extension}

versions_bedtools{:bash}

${task.process}{:bash}

:string

The name of the process

bedtools{:bash}

:string

The name of the tool

bedtools --version | sed -e 's/bedtools v//g'{: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

bedtools{:bash}

:string

The name of the tool

bedtools --version | sed -e 's/bedtools v//g'{:bash}

: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.