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

]

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

meta (map)

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

]

sorted (file)

Sorted output file

*.${extension}

versions (file)

File containing software versions

versions.yml

Tools

bedtools
MIT

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