Description
Extend genomic intervals by adding flanking sequences (slop) to each feature.
bedtools slop increases the size of genomic intervals by adding a specified number
of base pairs to the start and/or end coordinates. The extension can be symmetric
(same on both sides) or asymmetric (different amounts on each side), and can be
strand-aware for directional features.
This tool is commonly used for:
Creating flanking regions around features of interest
Expanding intervals for motif discovery or regulatory analysis
Generating extended regions for ChIP-seq peak calling
Creating buffer zones around genomic features
Preparing regions for downstream intersection analysis
Converting point features to intervals with context
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_slop/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
--genome -g | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
Name | Type & Properties |
|---|---|
--both -b | double |
--left -l | double |
--right -r | double |
--strand_aware -s | boolean_true |
--percentage -pct | boolean_true |
Name | Type & Properties |
|---|---|
--header | boolean_true |