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 }}
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
Describe the bug
Any sample put through the file converter with duplicate genes will cause the pipeline to crash because of this line: https://github.com/vib-singlecell-nf/vsn-pipelines/blob/master/src/utils/bin/sc_file_converter.py#L139
The sort fails because of the duplicate elements.
Adding
adata.var_names_make_unique()
before this line (https://anndata.readthedocs.io/en/stable/anndata.AnnData.var_names_make_unique.html) adds a suffix to the gene names and allows the sort.To Reproduce
Steps to reproduce the behavior:
Must be done on a sample with duplicate gene names
Lost the error in scroll history, but it was during the converter step and the error was that it could not be reindexed with duplicate values
Expected behavior
Continuation with no error
Please complete the following information:
The text was updated successfully, but these errors were encountered: