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.2.0.tar.gz (30.7 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.2.0-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hca_anndata_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a4e346544be72a8d35e65a402207770526d90ae8209630c104d50df5be9d3d83
MD5 8e219213afe6fa74eca76766cb5a1e75
BLAKE2b-256 96ec1d5898d43a89dbc9a1cd2dd53a001136a5f60d43b3a50192d5880569e55b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hca_anndata_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7947639a1d074ad2ae332d3f252677a3f20e94f8c051c7c551d3a164d81dd8b
MD5 7a482db15266c421c68e3fe47f872e1a
BLAKE2b-256 ec6ec90648e49f24342a79ff20403e3a141a027d20409312e9c84262c712d386

See more details on using hashes here.

Provenance

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