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
I obtained the seurat.h5ad file with cell type information using Scanpy analysis. There is only one sample, so I didn't use OBSsample='batch'. However, after running the above command, I encountered the following error:
ValueError: Bin edges must be unique: Index([nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], dtype='float64'). You can drop duplicate edges by setting the 'duplicates' kwarg
Our method requires the use of the raw_feature_bc_matrix, but the seurat.h5ad file with cell type information has been filtered. Does this mean the number of cells is different? Could this be the reason for the issue? How should this problem be resolved?
Additionally, do we need to perform filtering during Scanpy analysis?
Thank you very much for your response.
The text was updated successfully, but these errors were encountered:
Thank you for your testing. Could you artificially add the 'batch' variable to the obs of the cell object? The values in it are the sample names and can be confirmed by reading 'outputs/raw_cellranger_patient1.h5ad' and viewing its adata.obs['batch']. Then re-run it and see if it reports an error.
If it still reports an error, please copy the full error for reference.
The adata_cell does not require the use of raw_feature_bc_matrix, instead it is recommended to follow the regular single cell analysis process and use the filtered_feature_bc_matrix. Only the first step requires the raw_feature_bc_matrix.
Hello, respected author, I have the following questions to ask you. I used the following command:
SEVtras.ESAI_calculator(adata_ev_path='outputs/raw_cellranger_patient1.h5ad', adata_cell_path='seurat.h5ad', out_path='./outputs', Xraw=False, OBScelltype='celltype')
I obtained the seurat.h5ad file with cell type information using Scanpy analysis. There is only one sample, so I didn't use OBSsample='batch'. However, after running the above command, I encountered the following error:
ValueError: Bin edges must be unique: Index([nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], dtype='float64'). You can drop duplicate edges by setting the 'duplicates' kwarg
Our method requires the use of the raw_feature_bc_matrix, but the seurat.h5ad file with cell type information has been filtered. Does this mean the number of cells is different? Could this be the reason for the issue? How should this problem be resolved?
Additionally, do we need to perform filtering during Scanpy analysis?
Thank you very much for your response.
The text was updated successfully, but these errors were encountered: