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
Contributors
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.0 \
-main-script target/nextflow/bedtools/bedtools_merge/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
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 |