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
per-droplet latents → obs columns, scattered by barcode_indices_for_latents; NaN for droplets not analysed
gene_expression_encoding → obsm["X_cellbender"]
ambient_expression → var["ambient_expression"]
scalar globals and metadata → uns["cellbender"]
Options
--raw RAW.h5 adds the raw Cell Ranger counts as layers["raw"], aligned by barcode (like cellbender.remove_background.downstream.load_anndata_from_input_and_output)
--filtered keeps only barcodes with cell_probability > 0.5 when converting the unfiltered file (threshold configurable)
Gotchas
CellBender 0.3.0 wrote h5 files that scanpy failed to read until 0.3.2 added a ptrepack fix. Accept both 0.2.x and 0.3.x layouts.
Tests
h5py fixtures mimicking 0.2 and 0.3 outputs; verify against a real CellBender run from cellgeni tickets; compare X with scanpy.read_10x_h5 on the same file.
Activity
adata convertto and from h5ad/zarr #20