Add your description here
Project description
pod5-random-access
Introduction
A high-performance Python library for efficient random access to nanopore sequencing signals stored in POD5 files. This library creates optimized indexes that enable fast retrieval of specific reads without loading entire files into memory.
Installation
Install from PyPI:
pip install pod5-random-access
Requirements:
- Python 3.10+
Usage
Basic workflow: Build index → Load reader → Fetch signals
# 1. Build index from POD5 files
from pod5_random_access import build_pod5_index
from pathlib import Path
build_pod5_index(
input_pod5_dir=Path("path/to/pod5/files"),
output_index_dir=Path("path/to/index/output")
)
# 2. Load reader with index settings
from pod5_random_access import Pod5RandomAccessReader, IndexSettings
settings = IndexSettings.from_yaml(Path("path/to/index/output/index_settings.yaml"))
reader = Pod5RandomAccessReader()
reader.add_pod5_index_settings(settings)
# 3. Fetch signal data
signal_data = reader.fetch_signal("filename.pod5", "read_uuid") # np.array of int16
offset, scaling = reader.get_calibration("filename.pod5", "read_uuid")
pA_signal = (signal_data + offset) * scaling # converted to pA values
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pod5_random_access-0.5.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc5755a85e1d85d5f9975ec87be159579b6368b3e37bebc37c3a95fa42a4f9ee
|
|
| MD5 |
de1101689c91ba6f4787c98961572a20
|
|
| BLAKE2b-256 |
7715b596c144924dee64d98e6aad4928bf6269707125f1005007a732485e3705
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp313-cp313-win_amd64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp313-cp313-win_amd64.whl -
Subject digest:
dc5755a85e1d85d5f9975ec87be159579b6368b3e37bebc37c3a95fa42a4f9ee - Sigstore transparency entry: 268675963
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 14.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b542a26c7119877e421452f73555eff7f6b9eca6afc1abf110026ed3adc9a606
|
|
| MD5 |
66b98a15272350f0d5ff2a0cc9fecf49
|
|
| BLAKE2b-256 |
fcf5a6dfc6fc7fc7414dda5e37b3b4539ac1e67dff337d438f26a13c45fb8d2c
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl -
Subject digest:
b542a26c7119877e421452f73555eff7f6b9eca6afc1abf110026ed3adc9a606 - Sigstore transparency entry: 268675951
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5809e30ca6776906741736b269f9d3bc5245ae9d3fd9db7459433ef436538121
|
|
| MD5 |
afd4cd59f07993a6333fd7226809de22
|
|
| BLAKE2b-256 |
c02d18d20ca292c6ae7c2eecd78a3bc8006b81e7b811f0f88df764af27cc0fc8
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp312-cp312-win_amd64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp312-cp312-win_amd64.whl -
Subject digest:
5809e30ca6776906741736b269f9d3bc5245ae9d3fd9db7459433ef436538121 - Sigstore transparency entry: 268675956
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 14.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c2045fe5af65b5463d2d6c4e6ea914d445ab16eb03873e8560bbd5e9dad76e4
|
|
| MD5 |
73980323ce5be0a5d2ed3d118435f146
|
|
| BLAKE2b-256 |
ccc48aa8d4ff33044e2eb3369f2e933f66de6e6fd5e4335ef97dc44fe7aa90c2
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl -
Subject digest:
8c2045fe5af65b5463d2d6c4e6ea914d445ab16eb03873e8560bbd5e9dad76e4 - Sigstore transparency entry: 268675960
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bffcf4be93043ab710c21710f359f4cef941170e61ab7476ef5cdc862a6b2569
|
|
| MD5 |
4cba44ecac8af59c1630a9edfbac969a
|
|
| BLAKE2b-256 |
358493528256b788f51e77ce4604b5001af5ebf7f659f9ebd54c8465a5a3da4a
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp311-cp311-win_amd64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp311-cp311-win_amd64.whl -
Subject digest:
bffcf4be93043ab710c21710f359f4cef941170e61ab7476ef5cdc862a6b2569 - Sigstore transparency entry: 268675959
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 14.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54ffcc7ff2915ec13287c203a29eafa9776eb1ec01cc54d804a9c017be9c8554
|
|
| MD5 |
bd6e95b75194390c974dc0e46173a8c2
|
|
| BLAKE2b-256 |
c2f52d3dd3177c3471e683c714661076d2efbe1e4b0c82598cdf761687e99dc1
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl -
Subject digest:
54ffcc7ff2915ec13287c203a29eafa9776eb1ec01cc54d804a9c017be9c8554 - Sigstore transparency entry: 268675947
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6de24b6a65f94f682a25c7e18d0ad8e0f00a3b67aca5881dd5bf905a1b7e24fb
|
|
| MD5 |
0c6e735f1803f6438809be7fdd1edb18
|
|
| BLAKE2b-256 |
44d1204ce468f5c68adfd99af535bd23172a6d5e170265a6c7d889900e8f7539
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp310-cp310-win_amd64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp310-cp310-win_amd64.whl -
Subject digest:
6de24b6a65f94f682a25c7e18d0ad8e0f00a3b67aca5881dd5bf905a1b7e24fb - Sigstore transparency entry: 268675954
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file pod5_random_access-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: pod5_random_access-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 14.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f17634d5ffc7370f1461378bd09f20655a200db429f98e5cc27aea94a38b81
|
|
| MD5 |
5aff8756b066374141e49ff19a8cbe2c
|
|
| BLAKE2b-256 |
d7a8d575cd455bc6f22340cb7d2f4d87944153a987ca110758fd3b69c19f99b0
|
Provenance
The following attestation bundles were made for pod5_random_access-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl:
Publisher:
CI.yml on NoguchiRyo/pod5-random-access
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pod5_random_access-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl -
Subject digest:
d9f17634d5ffc7370f1461378bd09f20655a200db429f98e5cc27aea94a38b81 - Sigstore transparency entry: 268675952
- Sigstore integration time:
-
Permalink:
NoguchiRyo/pod5-random-access@acbd61a68d1780490f665887f145babc71376a4e -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NoguchiRyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@acbd61a68d1780490f665887f145babc71376a4e -
Trigger Event:
push
-
Statement type: