We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a83c2 commit b498ddcCopy full SHA for b498ddc
modules/local/templates/mtx_to_h5ad_star.py
@@ -67,6 +67,7 @@ def input_to_adata(
67
adata.var["gene_symbol"] = adata.var.index
68
adata.var['gene_versions'] = adata.var["gene_ids"]
69
adata.var.index = adata.var['gene_versions'].str.split('.').str[0].values
70
+ adata.var_names_make_unique() # in case user does not use ensembl references, names might not be unique
71
72
# write results
73
adata.write_h5ad(f"{output}")
0 commit comments