bedtools/bedtools_slop

genomics
intervals
extend
flanking
slop
expand
regions

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

genomics
intervals
extend
flanking
slop
expand
regions

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.1 \  
  -main-script target/nextflow/bedtools/bedtools_slop/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--input
-i
file
required
--genome
-g
file
required

Outputs

Name
Type & Properties
--output
file
required
output

Extension Options

Name
Type & Properties
--both
-b
double
--left
-l
double
--right
-r
double
--strand_aware
-s
boolean_true
--percentage
-pct
boolean_true

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.