File backed objects for array and matrix like data
Project description
FileBackedArray
Python package to support file backed arrays and matrices stored in H5 file. Will soon support tiledb and zarr based formats.
Install
Package is published to PyPI
pip install filebackedarray
Usage
from filebackedarray import H5BackedAssay
matrix = H5BackedAssay("tests/data/tenx.sub.h5", group="matrix")
# get the dimensions of the matrix
print("matrix shape: ", matrix.shape)
# slice the matrix
matrix_slice = matrix[0:100, 1:101]
For more use cases including subset, checkout the documentation
Note
This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.
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
FileBackedArray-0.0.2.tar.gz
(986.0 kB
view hashes)
Built Distribution
Close
Hashes for FileBackedArray-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d10e82cd218f3bc3f1fd2df9237e0abcf0d0edf12112eccb772610668e53ed77 |
|
MD5 | a5c446844d7b57c4047fb6e07fe24961 |
|
BLAKE2b-256 | bd0ff4e2714751ce183b79a0785f63b33d623f9a40e1b6a5ab33c6ad3d96e06a |