Skip to main content

Python bindings to the Bigtools Rust library for high-performance BigWig and BigBed I/O

Project description

The pybigtools python package wraps the bigtools Rust library and allows effecient reading and writing of bigWig and bigBed files.

Documenation

Documentation is available on readthedocs.

Examples

(Replace <path> with the path to a bigWig file or url)

Iterator of intervals

import pybigtools
b = pybigtools.open(<path>)
i = b.intervals("chr1")
print(next(i))

Numpy array of values

import pybigtools
b = pybigtools.open(<path>)
a = b.values("chr1")
print(a.shape)

Open a file-like object

import pybigtools
b = pybigtools.open(open(<path>, 'rb'))
a = b.values("chr1")
print(a.shape)

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

pybigtools-0.2.2.tar.gz (9.5 MB view hashes)

Uploaded Source

Built Distributions

pybigtools-0.2.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-pp37-pypy37_pp73-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp312-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

pybigtools-0.2.2-cp312-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.12 Windows x86

pybigtools-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp312-cp312-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp312-cp312-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pybigtools-0.2.2-cp312-cp312-macosx_10_12_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

pybigtools-0.2.2-cp311-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pybigtools-0.2.2-cp311-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.11 Windows x86

pybigtools-0.2.2-cp311-cp311-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp311-cp311-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp311-cp311-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pybigtools-0.2.2-cp311-cp311-macosx_10_12_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

pybigtools-0.2.2-cp310-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pybigtools-0.2.2-cp310-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.10 Windows x86

pybigtools-0.2.2-cp310-cp310-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp310-cp310-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp310-cp310-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pybigtools-0.2.2-cp310-cp310-macosx_10_12_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

pybigtools-0.2.2-cp39-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pybigtools-0.2.2-cp39-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.9 Windows x86

pybigtools-0.2.2-cp39-cp39-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp39-cp39-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp39-cp39-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pybigtools-0.2.2-cp39-cp39-macosx_10_12_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

pybigtools-0.2.2-cp38-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

pybigtools-0.2.2-cp38-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.8 Windows x86

pybigtools-0.2.2-cp38-cp38-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp38-cp38-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

pybigtools-0.2.2-cp37-none-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.7 Windows x86-64

pybigtools-0.2.2-cp37-none-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.7 Windows x86

pybigtools-0.2.2-cp37-cp37m-manylinux_2_28_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.28+ x86-64

pybigtools-0.2.2-cp37-cp37m-manylinux_2_28_aarch64.whl (1.5 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.28+ ARM64

Supported by

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