Skip to main content

Fast Python reader/writer for Oxford Nanopore POD5 files, backed by a pure Rust engine

Project description

escapepod

Fast Python reader/writer for Oxford Nanopore POD5 files, backed by a pure Rust engine (the same engine as the escpod CLI). It mirrors the API of Oxford Nanopore's official pod5 package closely enough to be a mostly drop-in replacement, while reading and writing considerably faster.

Alpha quality and under active development. APIs and output formats may change without notice. Verify results against the official ONT pod5 tools before relying on it for anything important.

Install

pip install escapepod

Wheels are published for CPython 3.9+ (abi3) on Linux (x86_64/aarch64, manylinux + musllinux) and macOS (x86_64/arm64).

Usage

import escapepod

with escapepod.Reader("experiment.pod5") as reader:
    print(f"{reader.read_count} reads")
    for read in reader:
        signal = reader.get_signal(read)          # raw ADC (int16)
        print(read.read_id, read.num_samples, signal.mean())

See the documentation for the full API.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

escapepod-0.6.2.tar.gz (286.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

escapepod-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

escapepod-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

escapepod-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

escapepod-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

escapepod-0.6.2-cp39-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

escapepod-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file escapepod-0.6.2.tar.gz.

File metadata

  • Download URL: escapepod-0.6.2.tar.gz
  • Upload date:
  • Size: 286.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for escapepod-0.6.2.tar.gz
Algorithm Hash digest
SHA256 f253ede78fa054649bb2312cbf4d491c4d77180026c972a6658f5780310b222d
MD5 bfbfbdf5c193f982be77e8ce0be430d7
BLAKE2b-256 782f2243231fdda373c66a279c865e35658ede34cef46ee508185837d5a050ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2.tar.gz:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a6bcc4d724c902f97677663b3b32eb8bb078065d2278aff6e55190e00f6f2954
MD5 f60d799360c69033e1447f9d6721c14e
BLAKE2b-256 178d8c423a44a4c62a5b4c89ab901aa885e0f761bcf596846f26dfdb0547a987

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fbfb7b9e5023af29e0a672a836a9f3f37ac95f8d833162e1af5a1ae92fef969c
MD5 b2bb342e2c6bfdd6901a0d62188b2b82
BLAKE2b-256 f88de5a451f7647ab772b2a3deff72dbc1130216a5631575b3994ba382ab8a25

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28720ae004e3ba3a1870216f9c7d679c7a610c26b2c5e2e0fca7158080fc2754
MD5 e7672668cb60f5a01ac63108ee8a954f
BLAKE2b-256 800923cc1f745b88140ee7a2d6251e5c13f20699044d3fd169ef1e9196fcc8f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8a0d279fac3ae389c8d6934eb58642ea6b2ad9351e9503b05c0845c2e4fb0b85
MD5 ddefa1b37dbfdfebe1d542b2c6ff1629
BLAKE2b-256 48149a2105aabba51c8f7bc34576abc27ea023b6262cd1d35fae5dbd044cb835

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57680175322dd558565a156ad243a17871342c84b4ced270d376b9ea087ed435
MD5 231b35c7cdcb5299a2c68bed3bff6ccf
BLAKE2b-256 3767ddd5c57c58eba71de1bfbb85cc868ecd3108e3ac358fa8dbe427b3a6e6c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file escapepod-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d2273e8ccf54948957b99e5dcf299c5271fa21f290c3894185103b71a154baaa
MD5 b95246c9b5d9de91281071111a8bb10f
BLAKE2b-256 f6a911c1538c209a9fd2736dd5653804fc7288f468041474e1c114f11d3ebcc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.2-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page