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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1854046903f028dccffed1202dca1f9af44283ef6692b5a3adbb234633f4963a
|
|
| MD5 |
b7259e39249fb7e6ec3a177ecdd71b6d
|
|
| BLAKE2b-256 |
849fdd24839a3fc641d4405e6b080d9c86f9e8ea84e058e3d30b4d91a6e739c5
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hca_anndata_tools-0.4.0.tar.gz -
Subject digest:
1854046903f028dccffed1202dca1f9af44283ef6692b5a3adbb234633f4963a - Sigstore transparency entry: 1355849589
- Sigstore integration time:
-
Permalink:
clevercanary/hca-validation-tools@d297a4f74010a6f7bed42e41165a4f8920d9dfac -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clevercanary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@d297a4f74010a6f7bed42e41165a4f8920d9dfac -
Trigger Event:
push
-
Statement type:
File details
Details for the file hca_anndata_tools-0.4.0-py3-none-any.whl.
File metadata
- Download URL: hca_anndata_tools-0.4.0-py3-none-any.whl
- Upload date:
- Size: 942.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9968fd0b2f89dc3fe8d69ea515f7b9417aa8ba48ab476e5a9590f882e73d14ed
|
|
| MD5 |
4d06b7397cb0e3a58498277a9e63819c
|
|
| BLAKE2b-256 |
c303b505eeb41a31046af21ae71da5569583afac78e5e3e698aff87636b39b9a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hca_anndata_tools-0.4.0-py3-none-any.whl -
Subject digest:
9968fd0b2f89dc3fe8d69ea515f7b9417aa8ba48ab476e5a9590f882e73d14ed - Sigstore transparency entry: 1355849606
- Sigstore integration time:
-
Permalink:
clevercanary/hca-validation-tools@d297a4f74010a6f7bed42e41165a4f8920d9dfac -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clevercanary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@d297a4f74010a6f7bed42e41165a4f8920d9dfac -
Trigger Event:
push
-
Statement type: