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.1.tar.gz (925.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.3.1-py3-none-any.whl (931.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hca_anndata_tools-0.3.1.tar.gz
  • Upload date:
  • Size: 925.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.3.1.tar.gz
Algorithm Hash digest
SHA256 44c414dff5c03cfe831dd02dd351f312cef8ce200b5b8bffe91e4f898dcb7056
MD5 890cce9e3c82db1fe9d69ceb79a0c2f0
BLAKE2b-256 c7467e8a569bdddffbef1edd771ed38143851f080762d16c1360612389980847

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hca_anndata_tools-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecba8efc647e7f5b01bc03eccb6f163d93b2eb4bb4ed35723c9c1a52fc8353a7
MD5 ae6fe9f859ef3c9b89f6fa58b382c2f8
BLAKE2b-256 36797e3ffac1e73b47eb6283199745b99a3a49a482c02fb245073b45d8155422

See more details on using hashes here.

Provenance

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