This release is a pre-release and may not be stable for production use.
GeneWire
An open protocol for efficient, secure, and resumable genomic data exchange.
Genomics · Networking · Systems Engineering
Experimental · Alpha candidate 0.1.0a1 | Apache-2.0 | Contributions welcome
Architecture · Roadmap · Contribute · Security
Current status: experimental Rust core and synchronous Python binding, built and tested locally and in Linux/macOS CI. The narrow M2 reference path has passed its engineering gates. D026 adopts the verified BAM job subset as this cycle's M3 operational contract. Candidate 0.1.0a1 adds a complete command-line workflow and source-derived installation checks; qualification and actual runner/artifact results are recorded in the alpha ledger. Published artifact status and exact source/support scope are recorded in that ledger. No general conformance result or speedup claim is made. The tagline states the project's goal, not an achieved guarantee.
Current focus: regional retrieval and streaming for analysis tools, with an owner-selected Rust core and a possible Python high-level integration. The owner authorized advancing M0's direction into M1 design. RFC 0001 proposes a narrow htsget-oriented BAM stream with explicit failure/completion semantics. A first local implementation now exercises part of that design. See local development and observed evidence/gaps.
Overview
GeneWire is an open infrastructure project exploring reliable genomic access between research systems and analysis tools. The current question is how to deliver the intended regional result with explicit completion, bounded resource use and recoverable progress.
Rust is the chosen core direction; Python can provide a convenient analysis and workflow interface. The local prototype uses Tokio and a synchronous PyO3/maturin integration. Observed Linux/macOS evidence is scoped to the recorded targets and CPython 3.14; broader support remains unqualified. The first proposed subset reuses existing HTTP/htsget behavior; no GeneWire binary wire format, endpoint or port is assigned.
Run the BAM workflow
Use the candidate wheel and hash-locked analysis requirements described in the
installation and CLI guide. The installed command supports
fetch, recover, inspect, clean and a complete synthetic example:
genewire demo --directory ./synthetic-example
The example requires a new directory and creates only original synthetic BAM, private configuration and loopback traffic. Real jobs use an explicit private JSON configuration and operator-approved service/IP pins. Recovery requires an externally trusted digest; the tool does not invent source authenticity.
The problem
A regional stream can produce decodable output before a later failure reveals that the analysis result is incomplete. A downstream workflow also needs the right source, reference context and query semantics. After interruption, systems need a precise answer to a practical question: which work can be safely reused, and which result is actually complete?
GeneWire proposes making query intent, dependencies, integrity, and recovery explicit. The initial standards review identifies htsget and direct HTSlib access as essential baselines. The feasibility recommendation favors reuse-first design. No superiority over existing tools is claimed.
Why genomic exchange is different
| Concern | Design question |
|---|---|
| Related objects | How should a dataset, its index, and required references remain consistent? |
| Format boundaries | When is an opaque byte range safe, and when is format-aware access necessary? |
| Scientific meaning | How are reference identity, coordinate conventions, and provenance preserved? |
| Sensitive metadata | What might filenames, manifests, and access patterns reveal? |
| Recoverable progress | How can a restart avoid accepting stale or corrupted checkpoint state? |
These are design questions. A general byte-transfer layer cannot establish biological validity, consent, or permission to share a dataset.
Proposed architecture
The proposed M1 subset separates an existing ticket/data service, a bounded Rust stream engine, the Python boundary and a supervised analysis consumer. Transport completion, successful analysis and an independent oracle match are different outcomes. Read the draft contracts for their limits.
| Proposed layer | Responsibility | Status |
|---|---|---|
| Upstream adapter | Existing htsget request, ticket and ordered data blocks | Local prototype |
| Rust stream engine | Bounded delivery, exposure-based retry, cancellation and terminal reports | Local prototype |
| Python integration | Owned byte chunks, typed errors and explicit close | Local prototype |
| Analysis boundary | Full decode/filter and separate analysis-completion outcome | Local supervised BAM adapter with provisional staging |
| Network/security policy | Credential isolation, destination checks and finite budgets | Local controls; further review required |
View the conceptual protocol layers
No GeneWire frame, message identifier, port or cryptographic scheme is assigned. The client profile reuses upstream behavior and intentionally supports a subset; these diagrams mix the design target with partial local components. The evidence ledger defines what has actually been exercised.
Planned capabilities
- Local prototype: pull-based byte reads, bounded chunks, cancellation and deadlines.
- Local prototype: bounded retries before ticket acceptance or current-block exposure; failure reports retain the phase and mark exposed partial output.
- Local prototype: supervised full BAM decode/overlap filtering and staged output; five synthetic queries matched an independent local htsget server and HTSlib clients. See the evaluation ledger.
- M3 job subset: SHA-256-pinned complete BAM spools and locked job receipts recover processing/publication after a process crash. Partial input starts a fresh query; see scope and evidence.
- M3 job subset: cooperative cancellation interrupts blocked input and supervised analysis; publication admission preserves accepted output and cleanup completion is reported separately. Verified on the observed CI runners.
- M3 storage follow-up: read-only job inspection and recoverable source cleanup preserve the accepted output, receipt and lock. The storage ledger records successful Linux/macOS CI and its exact fault-test scope.
- Qualified BAM job scope: expanded span/flag/multiplicity/field checks and accepted-output recovery passed CI. The concrete current backlog is complete; further milestone scope needs replanning.
- Later / under research: byte-offset resume, object manifests, multi-object recovery and broader storage/durability qualification.
- Under research: authenticated transport and authorization integration.
- Under research: format-aware extensions without changing scientific content.
- Planned: reproducible interoperability, correctness, and performance tooling.
Genomic formats roadmap
Synthetic BAM byte streams have been exercised with an external HTSlib decoder. There is no released format-support or real-server compatibility promise. Opaque transfer and semantic interpretation will be specified separately.
| Format family | Intended exploration | Earliest target |
|---|---|---|
| SAM / BAM | Synthetic indexed BAM is the proposed first regional-evaluation fixture; SAM provides decoded context | Tiny BAM oracle exercised locally; broader extensions at M4 |
| CRAM | Reference arrangements and index relationships need separate review | P1 evaluation · Under research |
| VCF / BCF | Variant overlap, indexes and coordinate semantics need explicit fixtures and baseline checks | P1 evaluation · Under research |
| FASTA / FASTQ | Reference lookup or secondary opaque-object exchange; no assumed reference-coordinate FASTQ API | Later / secondary · Under research |
| BED | Feature intervals and coordinate conventions | Later extension · Under research |
Existing standards such as htsget, refget, and Crypt4GH will inform the feasibility review. GeneWire does not claim conformance to, endorsement by, or replacement of those projects. See the primary references.
Proposed protocol lifecycle
- Validate the supported interval, service configuration and finite budgets.
- Obtain and validate an existing htsget ticket.
- Apply destination and credential policy to every data request.
- Deliver ordered encoded bytes while enforcing backpressure.
- Retry only when current-block exposure and remaining budgets allow it.
- Drain output before reporting transport completion.
- Report analysis success only through the separate decoder/consumer gate.
- Close and join owned work; report unfinished cleanup truthfully.
This is a draft local lifecycle, not a new wire protocol. P0 has no persistent checkpoint, transparent cross-query resume or exactly-once analysis guarantee. The optional M3 job layer adds complete- source reuse and publication receipts without changing that byte-stream contract.
Design principles
Correctness before throughput. Transfer success must have explicit meaning. Recovery without ambiguity. Persisted progress must be bound to the intended objects and peer context. Bounded resources. Untrusted lengths and stalled peers must not imply unlimited memory or work. Scientific precision. Preserve format and reference semantics. Interoperability. Document wire behavior so independent implementations can agree. Evidence before claims. Publish reproducible methods before making performance claims.
Development roadmap
| Milestone | Exit evidence |
|---|---|
| M0 · Research and Feasibility | Published; owner authorized the reuse-first direction for M1 |
| M1 · Protocol Specification | Design direction adopted locally; 30 candidate scenarios with partial executable evidence |
| M2 · Core Protocol | Narrow BAM reference path passed real-server/HTSlib, failure/resource and Linux/macOS CI checks |
| M3 · BAM Operational Contract | Verified RFC 0002 subset adopted for this cycle; broader recovery targets deferred explicitly |
| M4 · Complete BAM Workflow | CLI lifecycle, private configuration, signals and synthetic example |
| M5 · Installable Artifacts | Source-derived wheel, isolated installation and recorded platform/interpreter scope |
| M6 · Alpha Preparation | Focused security/dependency review, repeated measurements and qualified artifact evidence |
M1 remains provisional beyond the implemented subset; M2's narrow engineering gate is complete; D026 defines the scoped BAM alpha cycle. The alpha ledger distinguishes actual local/CI qualification from preparation. There are no delivery-date commitments. See the full roadmap, status, and task register.
Contribute across disciplines
Software engineers, protocol engineers, bioinformaticians, geneticists, computational biologists, security researchers, technical writers, and performance engineers are welcome. Useful early work includes sharpening requirements, reviewing terminology, identifying existing standards, and proposing reproducible experiments with synthetic data.
Start with CONTRIBUTING.md, follow our Code of Conduct, and use an appropriate issue form. Substantial protocol changes begin with a lightweight RFC. For questions, see SUPPORT.md and GOVERNANCE.md.
Security and privacy
GeneWire is experimental and has not undergone a security audit. There is no supported software release. Do not use it for clinical decisions or real patient data. Do not submit identifiable genomic data, credentials, or sensitive metadata in issues, pull requests, logs, or fixtures.
The prototype requires verified HTTPS outside explicit loopback tests. Successful transport does not establish genomic completeness or cryptographic source integrity. Dataset access decisions, consent, retention policy, and authorization remain deployment responsibilities to be addressed explicitly in future design work. Report vulnerabilities privately using SECURITY.md.
License
GeneWire's original code, protocol specifications, documentation, and branding
assets use the Apache License 2.0, SPDX Apache-2.0. Third-party
material retains its stated license; the Contributor Covenant is attributed
separately in CODE_OF_CONDUCT.md. See
licensing decisions.
References
Primary sources for future research; listing a source does not imply conformance:
- GA4GH HTS specifications — format and related transfer specifications.
- htsget — existing genomic data retrieval protocol.
- refget — reference sequence retrieval.
- Crypt4GH specification — encryption container for genomic files.
- IETF RFC 8446 — TLS 1.3, a candidate security building block.
- IETF RFC 9000 — QUIC, a candidate transport for evaluation.
Open design. Explicit state. Verifiable progress.
Metadata
Release files for genewire 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| genewire-0.1.0a1.tar.gz | 115.0 kB | With provenance | Details for genewire-0.1.0a1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genewire-0.1.0a1-cp310-abi3-manylinux_2_38_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.38+ x86-64 | Details for genewire-0.1.0a1-cp310-abi3-manylinux_2_38_x86_64.whl |
| genewire-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for genewire-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl |
Total release size: 6.7 MB
Release files / genewire-0.1.0a1.tar.gz
| Download URL | genewire-0.1.0a1.tar.gz |
|---|---|
| Size | 115.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d99f88b8943ee3c59093b0d81510dcbb440ad672067c4563a0205149e5e6e67
|
|
BLAKE2b-256 checksum How to use checksums |
ef354e1d0541db8d2f19d7a38c067dce98da243662dbb69b58545960128dfb9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / genewire-0.1.0a1-cp310-abi3-manylinux_2_38_x86_64.whl
| Download URL | genewire-0.1.0a1-cp310-abi3-manylinux_2_38_x86_64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.10 Linux glibc 2.38+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e4427fa8d8a3f4e1db789206da09ef1bb77f64312310c4774c8a3b88338bcb6b
|
|
BLAKE2b-256 checksum How to use checksums |
c3dd1d400835c9b92f7d8c36c14b5a25bc96287d596f42e4091ff75ce867e0cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / genewire-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | genewire-0.1.0a1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f22ae41c02ab19599da6415baf61dbe1cd39514b35d892352cff7937a319dcca
|
|
BLAKE2b-256 checksum How to use checksums |
9189162b679196d54cc831458b048737133a504d5ed1c5ef47cda8adf6bc2a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for genewire 0.1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for genewire-0.1.0a1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.