Skip to content

Commit

Permalink
reduce anndata size
Browse files Browse the repository at this point in the history
  • Loading branch information
jashapiro committed May 9, 2024
1 parent 11ccf64 commit f942846
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions modules/merge-sce/resources/usr/bin/move_counts_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
# move logcounts to X and rename
object.X = object.layers["logcounts"]
object.uns["X_name"] = "logcounts"
del object.layers["logcounts"]

# export object
object.write_h5ad(args.anndata_file, compression="gzip" if args.compress else None)
1 change: 0 additions & 1 deletion modules/merge-sce/resources/usr/bin/sce_to_anndata.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ if (opt$feature_name == "cellhash") {
warning("Conversion of altExp data from multiplexed data is not supported.
The altExp will not be converted.")
quit(save = "no")
# convert altExp
}

# check for output file
Expand Down

0 comments on commit f942846

Please sign in to comment.