bedtools/bedtools_map

genomics
intervals
map
statistics
aggregate
annotate
overlap
scores

Description

Apply statistical functions to columns from overlapping genomic intervals.

This tool maps values from intervals in file B onto overlapping intervals in file A
by applying statistical operations (sum, mean, median, etc.). For each interval in A,
it finds all overlapping intervals in B and applies the specified function to the
specified column(s). Useful for aggregating scores, computing statistics over
genomic regions, or annotating intervals with quantitative data.

Type

bash_script

License

MIT

Keywords

genomics
intervals
map
statistics
aggregate
annotate
overlap
scores

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.bed"  
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_map/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input_a
-a
file
required
--input_b
-b
file
required

Outputs

Name
Type & Properties
--output
file
required
output

Mapping Options

Name
Type & Properties
--columns
-c
string
--operations
-o
string
--delimiter
-delim
string
--precision
-prec
integer

Overlap Options

Name
Type & Properties
--min_overlap_a
-f
double
--min_overlap_b
-F
double
--reciprocal
-r
boolean_true
--either
-e
boolean_true

Strand Options

Name
Type & Properties
--same_strand
-s
boolean_true
--opposite_strand
-S
boolean_true

Format Options

Name
Type & Properties
--split
boolean_true
--bed_output
--bed
boolean_true
--header
boolean_true

Advanced Options

Name
Type & Properties
--genome
-g
file
--no_name_check
--nonamecheck
boolean_true
--no_buffer
--nobuf
boolean_true
--io_buffer
--iobuf
string

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.