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
Contributors
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.1 \
-main-script target/nextflow/bedtools/bedtools_map/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input_a -a | file required |
--input_b -b | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
Name | Type & Properties |
|---|---|
--columns -c | string |
--operations -o | string |
--delimiter -delim | string |
--precision -prec | integer |
Name | Type & Properties |
|---|---|
--min_overlap_a -f | double |
--min_overlap_b -F | double |
--reciprocal -r | boolean_true |
--either -e | boolean_true |
Name | Type & Properties |
|---|---|
--same_strand -s | boolean_true |
--opposite_strand -S | boolean_true |
Name | Type & Properties |
|---|---|
--split | boolean_true |
--bed_output --bed | boolean_true |
--header | boolean_true |
Name | Type & Properties |
|---|---|
--genome -g | file |
--no_name_check --nonamecheck | boolean_true |
--no_buffer --nobuf | boolean_true |
--io_buffer --iobuf | string |