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.3.0.tar.gz (921.8 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.3.0-py3-none-any.whl (927.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hca_anndata_tools-0.3.0.tar.gz
  • Upload date:
  • Size: 921.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 cbd89fc0dbcbcf8fb0b69e3d0d9a6fbecfe1c20dfa2076b200bc16ac1de14480
MD5 68043900c60958fec42735340ca687fd
BLAKE2b-256 97547d5ee3c2e30f2ae0e7dd7a625f36a32500375216af3ae6aa2f0414b90a2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hca_anndata_tools-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fa4bd9671955efb6548c9ac2bb86c6e31a215ff276993d02313219999d563bf
MD5 8e769ce15dc818da54de99bd749aaa6f
BLAKE2b-256 1ab51731b3c8da7f3dbd8ef3fa5fe6faea9a72b98c6d2ceb9a8cb591da762fa4

See more details on using hashes here.

Provenance

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