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
Contributors
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 Name | Type & Properties |
|---|---|
--genome -g | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
Name | Type & Properties |
|---|---|
--length -l | integer |
--number -n | integer |
--seed | integer |