Description
Shift genomic intervals by a specified number of base pairs.
bedtools shift moves genomic intervals (BED/GFF/VCF) by a user-specified number of base pairs.
The tool can shift all features by the same amount, or apply strand-specific shifts to features
on the positive and negative strands separately. Shifts can be absolute values or proportional
to feature length.
This tool is commonly used for:
Adjusting genomic coordinates for analysis offsets
Creating flanking regions around features
Simulating experimental bias or systematic shifts
Generating control regions at specified distances
Converting between different coordinate systems
Modeling positional uncertainty in genomic 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.2 \
-main-script target/nextflow/bedtools/bedtools_shift/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 |
|---|---|
--shift -s | double |
--plus_shift -p | double |
--minus_shift -m | double |
--percentage -pct | boolean_true |
Name | Type & Properties |
|---|---|
--header | boolean_true |