satijalab / azimuth

A Shiny web app for mapping datasets using Seurat v4
https://satijalab.org/azimuth
GNU General Public License v3.0
108 stars 31 forks source link

RunAzimuth error, Error in `.rowNamesDF<-`(x, value = value) : duplicate 'row.names' are not allowed #178

Open Cathy94 opened 1 year ago

Cathy94 commented 1 year ago

Dear Team,

I have successfully executed RunAzimuth with "human_cd34_bone_marrow.h5ad". But when I used my data, it is giving following error: Running UMAP projection 17:10:40 Read 64830 rows 17:10:40 Processing block 1 of 1 17:10:40 Commencing smooth kNN distance calibration using 1 thread with target nneighbors = 20 17:10:40 Initializing by weighted average of neighbor coordinates using 1 thread 17:10:41 Commencing optimization for 67 epochs, with 1296600 positive edges Using method 'umap' 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **| 17:11:08 Finished Warning: No assay specified, setting assay as RNA by default. Error in .rowNamesDF<-(x, value = value) : duplicate 'row.names' are not allowed In addition: Warning messages: 1: In RunUMAP.default(object = neighborlist, reduction.model = reduction.model, : Number of neighbors between query and reference is not equal to the number of neighbors within reference 2: Cannot add objects with duplicate keys (offending key: UMAP), setting key to 'ref.umap_' 3: non-unique values when setting 'row.names': ‘CGTCCATAGGAATTAC-1_3’, ‘TCAGGTATCTCTGCTG-1_7’

Could you help me solve this problem? Thank you.

mihem commented 1 year ago

Not a seurat team member. But as the error says you have tuplicate row names, but on the Seurat github channel you'll find several related issue https://github.com/satijalab/seurat/issues/1710

Cathy94 commented 12 months ago

Not a seurat team member. But as the error says you have tuplicate row names, but on the Seurat github channel you'll find several related issue satijalab/seurat#1710

Thank you for reply. I tried make.uniqe(), but failed. I think my seurat.obj don't have duplicate row.names. And this could help me: #https://github.com/satijalab/azimuth/issues/138