Skip to main content

Library for inspection, summarization, and statistics of AnnData h5ad files

Project description

hca-anndata-tools

Library for inspection, summarization, and statistics of AnnData h5ad files.

Installation

pip install hca-anndata-tools

Usage

from hca_anndata_tools import get_summary, get_descriptive_stats, locate_files

# Find h5ad files
files = locate_files("/path/to/data")

# Get structural overview
summary = get_summary("/path/to/my_atlas.h5ad")

# Get column statistics
stats = get_descriptive_stats("/path/to/my_atlas.h5ad", columns=["cell_type"], value_counts=True)

API

  • locate_files - Find all .h5ad files in a directory
  • get_summary - Structural overview: cell/gene counts, columns, embeddings, layers
  • get_storage_info - HDF5 compression, chunking, sparse format details
  • get_descriptive_stats - Descriptive statistics and value counts for obs/var columns
  • view_data - View slices of any attribute (obs, var, X, obsm, uns, etc.)
  • plot_embedding - UMAP/PCA scatter plots as base64 PNG
  • get_cap_annotations - Inspect CAP cell annotation metadata

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

hca_anndata_tools-0.5.1.tar.gz (934.2 kB view details)

Uploaded Source

Built Distribution

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

hca_anndata_tools-0.5.1-py3-none-any.whl (943.3 kB view details)

Uploaded Python 3

File details

Details for the file hca_anndata_tools-0.5.1.tar.gz.

File metadata

  • Download URL: hca_anndata_tools-0.5.1.tar.gz
  • Upload date:
  • Size: 934.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hca_anndata_tools-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5a76034802946043bd2608215da4b9ab88c7fd8a0c9b06d4a829d7e91e3d8679
MD5 e9ef472b6f94efe41b41da9555f27a03
BLAKE2b-256 aacfd9a7d21a120197e03d86f944f8c42d3679c7de390e9bfe578c7282638678

See more details on using hashes here.

Provenance

The following attestation bundles were made for hca_anndata_tools-0.5.1.tar.gz:

Publisher: release-please.yml on clevercanary/hca-validation-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hca_anndata_tools-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hca_anndata_tools-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90f8a11cbb668aa7f078f223ace43a087a2a0a0f9d7f8cfd26521afa2867d30b
MD5 7e657243dc30e786e51e75236d1736a2
BLAKE2b-256 777ef8853044689962c3443bec2861d767d7d7e1f74f39d12ac551ed73c8f6f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hca_anndata_tools-0.5.1-py3-none-any.whl:

Publisher: release-please.yml on clevercanary/hca-validation-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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