cytozip: index-free, chunk-compressed storage for scalable single-cell DNA methylation analysis
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 |
Usage
Example dataset
https://figshare.com/articles/dataset/cytozip_example_data/32095567
Metadata
Release files for cytozip 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cytozip-0.4.4.tar.gz | 473.8 kB | Without provenance | Details for cytozip-0.4.4.tar.gz |
Release files / cytozip-0.4.4.tar.gz
| Download URL | cytozip-0.4.4.tar.gz |
|---|---|
| Size | 473.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abd613f88cfd20cf9ef588ea3e5d473067c52d398da2266f38780eed6dad6e69
|
|
BLAKE2b-256 checksum How to use checksums |
3005d09a3153a1a7b9fb4d29d3014932c3eacfb2b13eb74c0ff7a1fa74bb4577
|
| 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.4
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.