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.4.0.tar.gz (933.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.4.0-py3-none-any.whl (942.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hca_anndata_tools-0.4.0.tar.gz
  • Upload date:
  • Size: 933.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.4.0.tar.gz
Algorithm Hash digest
SHA256 1854046903f028dccffed1202dca1f9af44283ef6692b5a3adbb234633f4963a
MD5 b7259e39249fb7e6ec3a177ecdd71b6d
BLAKE2b-256 849fdd24839a3fc641d4405e6b080d9c86f9e8ea84e058e3d30b4d91a6e739c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for hca_anndata_tools-0.4.0.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.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hca_anndata_tools-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9968fd0b2f89dc3fe8d69ea515f7b9417aa8ba48ab476e5a9590f882e73d14ed
MD5 4d06b7397cb0e3a58498277a9e63819c
BLAKE2b-256 c303b505eeb41a31046af21ae71da5569583afac78e5e3e698aff87636b39b9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hca_anndata_tools-0.4.0-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