rsomics-bed-shift
Shift BED coordinates by a fixed offset — bedtools shift equivalent in pure Rust.
Install
Usage
Options
| Flag | Description |
|---|---|
-s <INT> |
Bases to shift (positive = downstream, negative = upstream; default: 0) |
-p <INT> |
Per-strand override: shift for + strand features |
-m <INT> |
Per-strand override: shift for - strand features |
-g <FILE> |
Genome sizes file (chrom<TAB>size); clamps coordinates and drops off-end records |
--out <FILE> |
Output path (default: stdout) |
Origin
This crate is an independent Rust reimplementation of bedtools shift based on:
- The bedtools2 documentation
- The BED format specification
- Black-box behaviour testing against
bedtools shift
License: MIT OR Apache-2.0
Upstream credit: bedtools2 (MIT)