Description
Combine multiple BEDGRAPH files into a single file reporting the union of all intervals.
bedtools unionbedg combines multiple BEDGRAPH files into a single file, reporting the union
of all intervals and their values across files. For each genomic position, it reports the
values from each input file, using '0' for positions not covered in a particular file.
This tool is commonly used for:
Combining coverage tracks from multiple samples
Creating unified coverage matrices for comparative analysis
Merging signal tracks for visualization
Preparing data for multi-sample analysis workflows
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.bedgraph"
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_unionbedg/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--files -i | file required multiple |
Name | Type & Properties |
|---|---|
--output | file required output |
Name | Type & Properties |
|---|---|
--header | boolean_true |