8000
Skip to content

Repository files navigation

bio-rs

CI Release Benchmark Contracts License: MIT/Apache-2.0

bio-rs is an AI-ready biological data I/O, validation, and tokenization engine for biological researchers and research agents. It prepares model-ready inputs, checks packages and artifacts, and emits reproducible JSON contracts across CLI, MCP, Rust, Python, WASM, local services, and backend integration surfaces.

Promoted local workflows run without uploading biological data. No API keys, tokens, secrets, credentials, or network access are required for validation, model-input preparation, package checks, local service use, or MCP tool calls. Defaults are no telemetry, no biological data upload, and no external model calls.

What It Does

  • Validates protein, DNA, RNA, FASTQ, PDB, SMILES, SDF, and MOL2 inputs.
  • Builds tokenizer IDs, attention masks, model-input payloads, reports, and pipeline locks.
  • Checks package manifests, model artifacts, checksums, fixtures, and runtime bridge plans.
  • Exposes the same local-first contracts through the CLI, Rust, Python, WASM, MCP, and local HTTP/service schemas.

See docs/sequence-kind-support.md before making broad DNA/RNA support claims. DNA/RNA package manifest validation and explicit package init --tokenizer-config skeletons are supported, but arbitrary Python/Hugging Face project conversion remains a protein-tokenizer preview.

Quickstart

cargo install biors --version 1.0.0
biors --version
biors doctor
biors seq validate --kind auto testdata/sequences/multi.fasta
printf '>dna\nACGT\n' | biors workflow --profile dna-iupac --max-length 128 -
biors package validate testdata/protein-package/manifest.json
biors service contract

More examples: docs/quickstart.md

Evidence

Committed benchmark artifacts track release regressions across CLI, Python, WASM, MCP, and optional backend smoke paths. They are reproducible guardrails, not universal throughput claims.

Current checked-in examples include:

Main Docs

Development

scripts/check-fast.sh
scripts/check.sh

License

Dual licensed under MIT OR Apache-2.0. If you use bio-rs in research software or publications, cite the repository and version via CITATION.cff.

About

AI-ready biological data I/O, validation, and tokenization engine

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages

0