genomic-attribute-index Python bindings
The gai package wraps the Rust Genomic Attribute Index builder and indexed reader.
It provides deterministic GAI construction, TBI/CSI-backed exact or prefix
attribute queries, structured records and metadata, and typed exceptions for
stale or corrupt inputs.
from pathlib import Path
import gai
gai.sort(Path("annotations.gff3.gz"), Path("annotations.sorted.gff3"))
source = Path("annotations.gff3.gz")
tbi = Path("annotations.gff3.gz.tbi")
gai.build_index(source, tbi, Path("annotations.gff3.gz.gai"), ["Name"])
records = gai.query_index(source, tbi, Path("annotations.gff3.gz.gai"), "BRCA1")
prefix_records = gai.query_index(
source, tbi, Path("annotations.gff3.gz.gai"), "BRCA", match="prefix"
)
See the repository README for the complete API and development instructions.
Metadata
Release files for genomic-attribute-index 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genomic_attribute_index-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ x86-64 | Details for genomic_attribute_index-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl |
Release files / genomic_attribute_index-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl
| Download URL | genomic_attribute_index-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0bb8e66bdf04e1ff7000135d940ddc9669ed4c555e5c237ec5822024547e5486
|
|
BLAKE2b-256 checksum How to use checksums |
1a70995e4c2cec778e8ab3a09c49012b5f6e0dd22374defcbac978c7e85b5e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for genomic-attribute-index 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.