biocommons.seqrepo
Non-redundant, compressed, journalled, file-based storage for biological sequences
Decision gist · record as of 2026-08-14
Yes, if you need local, versioned biological sequence storage for bioinformatics pipelines. The package is well-maintained (active commits, no vulnerabilities), has low install friction, and solves a real problem in genomics workflows. Caveat: last release was 513 days ago and development is aging; verify that the snapshot versions and reference data you need are current before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires rsync binary for CLI-based snapshot acquisition; writing sequences requires bgzip from htslib (Ubuntu: install tabix package).
- Mac users must install rsync from HomeBrew as openrsync lacks required functions.
- Low install friction with a pure-Python wheel and eight runtime dependencies.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2025-03-19 (513 days) · last repo commit 2025-11-10 · 52 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,356 downloads/mo, #14,449 on PyPI
Alternatives
Verify before relying
pip install biocommons.seqrepo
from biocommons.seqrepo import SeqRepo
sr = SeqRepo("/usr/local/share/seqrepo/latest")
sequence_slice = sr["NC_000001.11"][780000:780020]- Performance characteristics for very large sequence queries or concurrent access patterns
- Compatibility with non-Ubuntu/non-macOS systems beyond stated development platforms
- Scalability limits for repository size or number of snapshots
What it is and what it does
SeqRepo is a Python package for managing local collections of biological sequences with efficient, non-redundant storage. It solves the problem of maintaining multiple reference genomes and sequence databases locally by providing a compressed, indexed repository that supports fast random access to sequence regions. Sequences are stored using Block GZipped Format (BGZF) compression and identified via multiple namespace conventions (RefSeq, Ensembl, hash digests), allowing callers to refer to sequences using familiar accessions like NM_000551.3 or GRCh38:1.
The package is designed for bioinformatics workflows where reproducible access to versioned sequence snapshots is critical. It supports timestamped, read-only snapshots that can be mirrored from public sources or maintained locally via CLI or API. Dependencies include bioutils, pysam (for BGZF access), requests, yoyo-migrations, and utility libraries like coloredlogs and tqdm. The repository structure uses SHA-512 truncation for deduplication and SQLite for alias mapping, making it suitable for chromosome-scale sequences and multi-snapshot deployments.
Use it for
- Build a local mirror of RefSeq and Ensembl genomes for reproducible variant annotation pipelines
- Resolve sequence identifiers from multiple naming conventions to a canonical sequence in a single query
- Retrieve arbitrary slices of large reference genomes without loading entire sequences into memory
- Maintain versioned snapshots of reference data for compliance or reproducibility in clinical genomics workflows
- Serve sequences via REST API using seqrepo-rest-service for distributed bioinformatics applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need local, versioned biological sequence storage for bioinformatics pipelines.
The package is well-maintained (active commits, no vulnerabilities), has low install friction, and solves a real problem in genomics workflows. Caveat: last release was 513 days ago and development is aging; verify that the snapshot versions and reference data you need are current before committing to production use.
Install
biocommons-seqrepo on PyPI
Before you install
Low install friction with a pure-Python wheel and eight runtime dependencies. Maintenance status is aging—last release was 513 days ago—but the repository remains active with recent commits and no archived status.
Requires rsync binary for CLI-based snapshot acquisition; writing sequences requires bgzip from htslib (Ubuntu: install tabix package). Mac users must install rsync from HomeBrew as openrsync lacks required functions.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install biocommons.seqrepo
from biocommons.seqrepo import SeqRepo
sr = SeqRepo("/usr/local/share/seqrepo/latest")
sequence_slice = sr["NC_000001.11"][780000:780020]
Verify before relying
- Performance characteristics for very large sequence queries or concurrent access patterns
- Compatibility with non-Ubuntu/non-macOS systems beyond stated development platforms
- Scalability limits for repository size or number of snapshots
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesbioutilscoloredlogsipythonpysamrequeststqdmtyping-extensionsyoyo-migrations |
| Maintenance | Aging 513 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,356 / month, #14,449 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12 |
Evidence: biocommons.seqrepo-0.6.11-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “biological sequence storage”
- biocommons.seqrepoSeqRepo stores and retrieves biological sequences in a non-redundant,…
- scikit-bioscikit-bio provides data structures, algorithms, and educational…
- biopythonBiopython provides Python tools for computational molecular biology,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pyensembl · biotite · deepbiop · bx-python · pyfaidx · refgenconf · refgenie · scikit-bio · biom-format · bioversions