bedtools/bedtools_merge

Merge
Overlapping
BED
GFF
VCF
Intervals

Description

Merges overlapping BED/GFF/VCF entries into single intervals.

This tool combines overlapping or book-ended features in BED, GFF, or VCF
files into single merged intervals. It provides extensive options for
controlling merge behavior, including strand-specific merging, distance
thresholds, and aggregation operations on additional columns.

Default behavior: Merges overlapping and adjacent features regardless of strand
Input requirements: Input file must be sorted by chromosome and start position

Type

bash_script

License

MIT

Keywords

Merge
Overlapping
BED
GFF
VCF
Intervals

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.bed"  
distance: [ 0 ]  
delimiter: [ "," ]  
precision: [ 5 ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.4.1 \  
  -main-script target/nextflow/bedtools/bedtools_merge/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
-i
file
required

Outputs

Name
Type & Properties
--output
file
required
output

Options

Name
Type & Properties
--strand
-s
boolean_true
--specific_strand
-S
string
--distance
-d
integer
--columns
-c
string
--operation
-o
string
--delimiter
-delim
string
--precision
-prec
integer
--bed
boolean_true
--header
boolean_true
--no_buffer
-nobuf
boolean_true

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.