×

nf-core/bedtools/closest @ 0.0.0-0c7146d

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

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @nvnieuwk
Maintainers: @nvnieuwk

Summary

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

Get started

Add the following snippet to your workflow script to include this module.

include { BEDTOOLS_CLOSEST } from 'nf-core/bedtools/closest'

License

MIT License

Process
Name BEDTOOLS_CLOSEST
Input 2 channels
#1 tuple
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

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

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

*.fai
Output 2 channels
#1 output tuple
meta map

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

*.${extension} file

The resulting BED file containing the closest features

*.{bed,vcf,gff}
#2 versions_bedtools tuple
${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

Tool Description Homepage
bedtools A set of tools for genomic analysis tasks, specifically enabling genome arithmetic (merge, count, complement) on various file types. n/a
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:26:05 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fbedtools%2Fclosest/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/bedtools/closest/blobs/sha256:387a74ab20e093b8ec7f10b956f4a0e2e6c693872a0fbc9811d6116c7502f16d
Size 2.7 KB
Checksum sha256:387a74ab20e093b8ec7f10b956f4a0e2e6c693872a0fbc9811d6116c7502f16d
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:26:05 (UTC) 1 2.7 KB -