Skip to main content

Ultralight local and remote POD5 connector

Project description

podfish

Fish reads directly from POD5 files located in public cloud bucket without downloading the whole object.

Quick start

pip install podfish

Fish a single read:

import numpy as np
import matplotlib.pyplot as plt
import podfish as pf

example_pod5 = "https://s3.amazonaws.com/foo/bar.pod5"
selected_read_id = "12345-67890"

with pf.Reader(example_pod5) as reader:
    read = next(reader.reads(selection=[selected_read_id]))
    sample_rate = read.run_info.sample_rate
    signal = read.signal
    time = np.arange(len(signal)) / sample_rate
    plt.plot(time, signal)

Fish the first ten reads:

with pf.Reader(example_pod5) as reader:
    for count, read in enumerate(reader.reads(limit=10), start=1):
        signal = read.signal
        time = np.arange(len(signal)) / read.run_info.sample_rate

        print(count, read.read_id)
        plt.figure(figsize=(4, 2))
        plt.plot(time, signal)
        plt.show()
        plt.close()

Acknowledgement

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

podfish-0.1.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distributions

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

podfish-0.1.0-cp310-abi3-win_amd64.whl (325.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

podfish-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl (654.0 kB view details)

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

podfish-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl (581.4 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

podfish-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (480.0 kB view details)

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

podfish-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (378.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

podfish-0.1.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (718.1 kB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file podfish-0.1.0.tar.gz.

File metadata

  • Download URL: podfish-0.1.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for podfish-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f5a1eae47a4a171333319e6af9c8dfc8da72766bb6e0f6f16f2f1491be905e3
MD5 0b0169253bf65228d03daa04ae80f513
BLAKE2b-256 e5dbd911e25202273877253a801006c84ce6cde2509b2bbd5cb55c1c495ec553

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0.tar.gz:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: podfish-0.1.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 325.1 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for podfish-0.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c95601de8f24116589b67581b5b1f708433e82616d3f8480fa8d70f371b1f74e
MD5 d1ae8afae07ea331f890b3edbf9f9e1b
BLAKE2b-256 1da14fdaac5ea6ab7381a94596cc427e08aac5558744c8acf4ee687c11022a94

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for podfish-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a4e3aa39ceb919db36973b1fb523690cac08a655d1620096fa2c97181765bf1
MD5 a2cfb1bab507e7604692735b846afd5d
BLAKE2b-256 c38fe0ee4ce11dbb7b6964916ba1166ec992af2dbc9401c07bed25a5c1aac513

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for podfish-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 17698fd5235d8618818df53d835cdfff5b91b3eded58e9dcb928f3d2809581e8
MD5 94305c5316836870f3cf39df23b00c9a
BLAKE2b-256 3bb2dcad50c73b2f84f15d6f204882145694c99eee32c4747fc9417031832d51

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for podfish-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c9dcf9713933b55ae5a00aafa5036042e5d351ba13ec6767215dd8b188f3e61
MD5 a8c8fbd7c35426b1e10e79fdc9281946
BLAKE2b-256 b916ce895a8c6e878ef695dcc77799ada3efbd2d6b04ef21daa25b19efc8bff3

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for podfish-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0aa2677d7c5f56d1bdd9694d1794dddafb6cb8b6cc1196f0da46aa3cedf05e1c
MD5 b095febcaa339df7849125c4952c2272
BLAKE2b-256 95d135608ffc89812fb213f361c6524f5ea34d716b7ecb062d7e5c598e174aa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on satriobio/podfish

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

File details

Details for the file podfish-0.1.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for podfish-0.1.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 572b064de5bd8c5e336b813dd00ded07bc6ddaf07f43b0416ee7076208566353
MD5 5368b3394fd1bb490f5b480292a735f0
BLAKE2b-256 231d0af033000e3c3888c9455c1e90bf96acdb964efef76f4d3d1382c12676a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for podfish-0.1.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release.yml on satriobio/podfish

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