bedtools/bedtools_random

genomics
random
intervals
simulation
control
sampling
null-dataset

Description

Generate random intervals among a genome.

bedtools random generates a specified number of random intervals with a defined length
across a reference genome. This tool is useful for creating random genomic regions for
statistical analysis, generating null datasets for enrichment testing, or creating
control datasets for comparative genomics studies.

This tool is commonly used for:

  • Creating random control regions for enrichment analysis

  • Generating null datasets for statistical testing

  • Producing background intervals for comparative studies

  • Creating random sampling of genomic space

  • Building control datasets for machine learning applications

  • Testing genomic analysis pipelines with known random data

Type

bash_script

License

MIT

Keywords

genomics
random
intervals
simulation
control
sampling
null-dataset

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.bed"  
length: [ 100 ]  
number: [ 1000000 ]  
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_random/main.nf \  
  -params-file params.yaml  

Inputs

Name
Type & Properties
--genome
-g
file
required

Outputs

Name
Type & Properties
--output
file
required
output

Options

Name
Type & Properties
--length
-l
integer
--number
-n
integer
--seed
integer

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.