TianLab-Bioinfo / AtacAnnoR

An accurate and robust cross-modality cell type annotation method for scATAC-seq data
MIT License
5 stars 2 forks source link

Error in pb_counts[features, ] : subscript out of bounds #2

Closed HaixJiang closed 7 months ago

HaixJiang commented 7 months ago

Dear software author, I encountered the following error. How can I resolve it?I'm using the one-step analysis in ArchR to perform the analysis (running AtacAnnoR in ArchR).

> query_ArchRproj <- RunAtacAnnoR_ArchR(query_ArchRproj = projHeme2,
                                      ref_mtx = ppp[['RNA']]@counts,
                                      ref_celltype = ppp$celltype)
ArchR logging to : ArchRLogs/ArchR-getMatrixFromProject-2f991e7b9f19-Date-2024-02-27_Time-06-26-12.135542.log
If there is an issue, please report to github with logFile!
2024-02-27 06:29:41.104226 : Organizing colData, 3.483 mins elapsed.
2024-02-27 06:29:42.27003 : Organizing rowData, 3.502 mins elapsed.
2024-02-27 06:29:42.284369 : Organizing rowRanges, 3.503 mins elapsed.
2024-02-27 06:29:42.314028 : Organizing Assays (1 of 1), 3.503 mins elapsed.
2024-02-27 06:31:00.146849 : Constructing SummarizedExperiment, 4.8 mins elapsed.
2024-02-27 06:31:07.684949 : Finished Matrix Creation, 4.926 mins elapsed.
ArchR logging to : ArchRLogs/ArchR-getMatrixFromProject-2f991769c8198-Date-2024-02-27_Time-06-31-07.696941.log
If there is an issue, please report to github with logFile!
2024-02-27 06:33:15.111565 : Organizing colData, 2.124 mins elapsed.
2024-02-27 06:33:16.118804 : Organizing rowData, 2.14 mins elapsed.
2024-02-27 06:33:16.166438 : Organizing rowRanges, 2.141 mins elapsed.
2024-02-27 06:33:16.20628 : Organizing Assays (1 of 1), 2.142 mins elapsed.
2024-02-27 06:33:52.762678 : Constructing SummarizedExperiment, 2.751 mins elapsed.
2024-02-27 06:34:36.334646 : Finished Matrix Creation, 3.477 mins elapsed.
Pre-processing...
Keep 11124 intersect genes
Getting NMF embedding...
Performing TF-IDF normalization...
Performing NMF...
First Round Annotation
Getting global and neighbor markers...
  |==========================================                                                              |  40%, ETA 05:04
Error in pb_counts[features, ] : subscript out of bounds
In addition: Warning message:
In mclapply(X, function(...) { :
  all scheduled cores encountered errors in user code
TianLab-Bioinfo commented 7 months ago

I'v solved this issue. Please reinstall the newest version of AtacAnnoR and try again🙏