Skip to main content

cytozip: index-free, chunk-compressed storage for scalable single-cell DNA methylation analysis

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

A scalable, cloud-native ecosystem for single-cell and population DNA methylation analysis

Installation

conda

https://anaconda.org/bioconda/cytozip

mamba install -c wubinding -c bioconda -c conda-forge cytozip
# or
conda install -c wubinding -c bioconda -c conda-forge cytozip
# -c wubinding is optional, which may be the latest version
# keep -c conda-forge: without it the solver can pick bioconda's ancient
# anndata-0.6.22 (ModuleNotFoundError: No module named 'pandas.core.index')

pip

# Prerequisites (one of):
conda install -c bioconda htslib libdeflate samtools         # recommended (Linux & macOS)
# apt-get install libhts-dev libdeflate-dev samtools          # Debian/Ubuntu
# brew install libdeflate htslib samtools libomp              # macOS (Homebrew)
pip install cytozip
# or reinstall
pip uninstall -y cytozip && pip install git+http://github.com/DingWB/cytozip

Supported platforms

Linux macOS (Intel / Apple Silicon) Windows
conda / pip install yes yes not supported natively (use WSL)
multi-threaded inflate / DMR (OpenMP) gcc conda-forge clang + llvm-openmp, or Homebrew libomp; plain Apple clang builds a single-threaded fallback –
bam_to_cz fast htslib backend yes yes (htslib from conda/Homebrew); otherwise falls back to samtools mpileup –

On macOS setup.py probes the compiler: with conda-forge compilers (conda install c-compiler llvm-openmp) or Homebrew libomp the extensions are built with OpenMP; with stock Apple clang they build without it (prange loops run serially) — everything still works, only block inflate and DMR permutation run on one core. Windows is not supported because pysam / htslib / samtools have no Windows builds; use WSL2.

Implementation

allcools ballcools cytozip
Format .tsv.gz .ballc .cz
Compression algorithm bgzip bgzip cytozip
Support Random Access ? Yes Yes Yes
Need extra index file for query? Yes yes No
Quickly Merge? No No Yes

img.png

Usage

Documentation

Example dataset

https://figshare.com/articles/dataset/cytozip_example_data/32095567

Metadata

Release files for cytozip 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cytozip 0.4.3
File Size Uploaded Provenance Actions
cytozip-0.4.3.tar.gz 473.0 kB Without provenance Details for cytozip-0.4.3.tar.gz

Release files / cytozip-0.4.3.tar.gz

Download URL cytozip-0.4.3.tar.gz
Size 473.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8ac37589e18d00d3108896278b2c915cab4c5e64360301e41147070bddb77d8d
BLAKE2b-256 checksum
How to use checksums
27d408e0007d8b1cc36dde85561b1365604daf8aa7b2174660ebbb63a1459641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for cytozip 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page