×

nf-core/bedtools/closest @ 0.0.0-6c4ed3a

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

Latest version: 0.0.0-6c4ed3a
Total downloads: 12
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-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:05:29 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fbedtools%2Fclosest/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bedtools/closest/blobs/sha256:4bc975a6ada303d0214df628e9ccb04b7a070e2fcf67b216a5f752bb2ede07b7
Size 2.8 KB
Checksum sha256:4bc975a6ada303d0214df628e9ccb04b7a070e2fcf67b216a5f752bb2ede07b7
Downloads 5
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:05:29 (UTC) 5 2.8 KB
0.0.0-3fc6d40 22 Apr 2026 15:03:34 (UTC) 4 2.8 KB
0.0.0-0c7146d 08 Apr 2026 18:46:47 (UTC) 3 2.7 KB