For each feature in A, finds the closest feature (upstream or downstream) in B.
meta
:map
Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]
input_1
:file
The file to find the closest features of
*.{bed,vcf,gff}(.gz)?
input_2
:list
The input file(s) to find the closest features from
fasta_fai
The index of the FASTA reference. Needed when the argument --sorted is used
--sorted
*.fai
output
*.${extension}
The resulting BED file containing the closest features
*.{bed,vcf,gff}
versions_bedtools
${task.process}
:string
The name of the process
bedtools
The name of the tool
bedtools --version | sed -e 's/bedtools v//g'
:eval
The expression to obtain the version of the tool
versions
A set of tools for genomic analysis tasks, specifically enabling genome arithmetic (merge, count, complement) on various file types.