Use when you need to shift genomic intervals in BED/GFF/VCF files by a specified number of base pairs, either uniformly or strand-specifically.
shiftBed -i <bed/gff/vcf> -g <genome> -s <int>/home/vimalinx/miniforge3/envs/bio/bin/shiftBedreferences/help.md-p and -m.-pct.# 1) Shift every interval 100 bp
shiftBed \
-i peaks.bed \
-g genome.sizes \
-s 100
# 2) Shift plus and minus strands in opposite directions
shiftBed \
-i transcripts.bed \
-g genome.sizes \
-p 500 \
-m -500
# 3) Shift by 10% of each feature length
shiftBed \
-i intervals.bed \
-g genome.sizes \
-s 0.10 \
-pct
.fai) so bedtools can clamp shifted features to chromosome bounds.-s or strand-specific with -p and -m.-pct.-i and -g are both required.-s alone or -p together with -m; those modes are mutually exclusive.-pct, values like 0.10 mean 10% of feature length, not 0.10 bp.-h for help; GNU-style --help and --version emit wrapper errors before usage text.