Description

For each feature in A, finds the closest feature (upstream or downstream) in B.

Input

name:type
description
pattern

meta{:bash}

:map

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

input_1{:bash}

:file

The file to find the closest features of

*.{bed,vcf,gff}(.gz)?

input_2{:bash}

:list

The input file(s) to find the closest features from

*.{bed,vcf,gff}(.gz)?

fasta_fai{:bash}

:file

The index of the FASTA reference. Needed when the argument --sorted is used

*.fai

Output

name:type
description
pattern

output{:bash}

meta{:bash}

:map

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

*.${extension}{:bash}

:file

The resulting BED file containing the closest features

*.{bed,vcf,gff}

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.