You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert: 10x HDF5 (Cell Ranger *_feature_bc_matrix.h5), import and export #23
Part of #20. Depends on #21. Equivalent of scanpy.read_10x_h5.
Import
v3 layout (Cell Ranger ≥ 3): /matrix/{data,indices,indptr,shape,barcodes} and /matrix/features/{id,name,feature_type,genome}.
The stored matrix is genes × cells in CSC — byte-for-byte the same as cells × genes in CSR — so data/indices/indptr copy straight across with no transpose.
v2 layout: /<genome>/{data,indices,indptr,shape,barcodes,genes,gene_names}. Select with --genome (error listing the available genomes if ambiguous).
Mapping
obs_names ← barcodes
var gets gene_ids, feature_types, genome (same column names as scanpy)
var_names ← name or id via --var-names gene_symbols|gene_ids; --make-unique
Activity
adata convertto and from h5ad/zarr #20