bedtools/bedtools_closest
Closest
Nearest
Distance
BED
GFF
VCF
Association
Description
Find the closest feature in file B for each feature in file A.
For each interval in file A, this tool identifies the nearest feature in
file B, regardless of whether they overlap. Useful for associating genomic
features with their nearest neighbors, such as finding the closest gene
to each SNP or the nearest regulatory element to each promoter.
Default behavior: Reports closest feature regardless of strand or overlap
Distance reporting: Optional distance calculation with various orientations
Multiple hits: Configurable handling of ties and k-nearest neighbors
Run this component
Run the following command to execute this component with Nextflow:
nextflow run https://packages.viash-hub.com/vsh/biobox.git \
-revision v0.4.2 \
-main-script target/nextflow/bedtools/bedtools_closest/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
bedtools/bedtools_closestbiobox v0.4.2
Uses
0 relationships
No component dependencies found.