#testing #bioinformatics #range #spanr #int-spans

bin+lib intspan

Command line tools for IntSpan related bioinformatics operations

38 releases

0.8.7 Apr 6, 2025
0.8.4 Dec 30, 2024
0.8.0 Nov 30, 2024
0.7.7 Jul 19, 2024
0.4.1 Sep 9, 2019

#39 in Biology


Used in nwr

MIT license

4MB
6.5K SLoC

intspan

Publish Build codecov Crates.io Lines of code license

Install

Current release: 0.8.7

cargo install intspan

cargo install --path . --force #--offline

# or
brew install intspan

# test
cargo test -- --test-threads=1

# local docs
cargo doc --open

# build under WSL 2
mkdir -p /tmp/cargo
export CARGO_TARGET_DIR=/tmp/cargo
cargo build

Concepts

IntSpans

An IntSpan represents sets of integers as a number of inclusive ranges, for example 1-10,19,45-48.

The following figure shows the schema of an IntSpan object. Jump lines are above the baseline; loop lines are below it.