bedtools/bedtools_unionbedg

genomics
bedgraph
union
intervals
coverage
merge

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

genomics
bedgraph
union
intervals
coverage
merge

Contributors

Run this component

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  

Inputs

Name
Type & Properties
--files
-i
file
required
multiple

Outputs

Name
Type & Properties
--output
file
required
output

Options

Name
Type & Properties
--header
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.