Skip to main content

scplode: a memory-efficient fast accesser for adata files

Project description

scplode

"Scplode" your disk space once and get faster access to your single cell data with less memory.

Why scplode?

  • Disk space is cheap. Time and memory are not.
  • A one-time index pays dividends in faster data access
  • Familiar read_h5ad() and indexing commands for seamless data exploration

How it compares

Tool Pros Cons
Backed AnnData Full-featured Slower access times
BioNeMo Similar memory mapping Heavier weight, unfamiliar API
scplode Fast, memory-efficient, familiar API Requires disk space for index

Installation

pip install scplode

Quick Start

import scplode as sp

# Your familiar workflow, now faster
adata = sp.read_h5ad('your_data.h5ad')

Examples

Located in examples directory:

  • 00_example: Demonstrates use of scplode, and tests for equivalent results
  • 01_benchmark: Compares scplode and anndata for random and contiguous indexing
  • 02_state_benchmark: Compares scplode and anndata when using scplode with the Arc Institute State Model

Requirements

  • Python 3.8+
  • AnnData
  • Pandas
  • Numpy

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

scplode-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

scplode-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scplode-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for scplode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43f1cdab350f2fb633894d9cd56b3074b271270df19a23d5c749631e80cfb61b
MD5 0d1a6744c98ee75c63c5e873570f0192
BLAKE2b-256 9a6bfc560ea0d772356bafe40f851b925eaa4e56db9fac63cc467f52e8af6a94

See more details on using hashes here.

File details

Details for the file scplode-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scplode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for scplode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 018465ef74c134be84d462c946d0cefb2a04848cf3bbc6beafec490fdf522f42
MD5 fb61a74365ead0bd03e671bcb6ea4dd8
BLAKE2b-256 ba0b2e363791122cdbe09340882f1dcdd88a0e1c246a2be0617ebbd92b88baaf

See more details on using hashes here.

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