GreenleafLab / ArchR

ArchR : Analysis of Regulatory Chromatin in R (www.ArchRProject.com)
MIT License
384 stars 137 forks source link

Error in addgeneexpressionmatrix for multimodal 10x #499

Closed cnk113 closed 3 years ago

cnk113 commented 3 years ago

ArchR-addGeneExpressionMatrix-27cd6ce94d9b-Date-2021-01-18_Time-22-16-01.log

ArchR logging to : ArchRLogs/ArchR-addGeneExpressionMatrix-27cd6ce94d9b-Date-2021-01-18_Time-22-16-01.log
If there is an issue, please report to github with logFile!
2021-01-18 22:16:01 : Overlap w/ scATAC = 0.2
2021-01-18 22:16:01 : Overlap Per Sample w/ scATAC : lane1=1851,lane2=0,lane3=0,lane4=0,lane5=0,lane6=0
2021-01-18 22:16:04 : Batch Execution w/ safelapply!, 0 mins elapsed.
Error in (function (..., threads = 1, preschedule = FALSE)  : 
Error Found Iteration 2 : 
    [1] "Error in .logError(e, fn = \".addGeneExpressionMat AddToArrow\", info = sampleName,  : \n  Exiting See Error Above\n"
    <simpleError in .logError(e, fn = ".addGeneExpressionMat AddToArrow", info = sampleName,     errorList = errorList, logFile = logFile): Exiting See Error Above>
Error Found Iteration 3 : 
    [1] "Error in .logError(e, fn = \".addGeneExpressionMat AddToArrow\", info = sampleName,  : \n  Exiting See Error Above\n"
    <simpleError in .logError(e, fn = ".addGeneExpressionMat AddToArrow", info = sampleName,     errorList = errorList, logFile = logFile): Exiting See Error Above>
Error Found Iteration 4 : 
    [1] "Error in .logError(e, fn = \".addGeneExpressionMat AddToArrow\", info = sampleName,  : \n  Exiting See Error Above\n"
    <simpleError in .logError(e, fn = ".addGeneExpressionMat AddToArrow", info = sampleName,     errorList = errorList, logFile = logFile): Exiting See Error Above>
Error Found Iteration 5 : 
    [1] "Error in .logErro
In addition: Warning message:
In mclapply(..., mc.cores = threads, mc.preschedule = preschedule) :
  5 function calls resulted in an error

I'm following the tutorial, specifically up to the part of loading the gene expression from the cellranger output. However when I add the gene expression matrix I get the error attached above. Also when loading multiple individual runs, I get a similar issue as #350 where the matrices fail to merge by row so I'm currently trying to individually add each run.

rcorces commented 3 years ago

You are getting the above errors when following the tutorial code using the tutorial dataset or using your own datasets? If you are using the tutorial data, can you post the commands that you are using?

cnk113 commented 3 years ago

This is my own dataset. But the commands are pretty much identical to the tutorial.

rcorces commented 3 years ago

My assumption is that your gene expression data must not be in the correct format. The error you are getting is quite opaque though. If that is the case, then we should figure out how to throw a more informative error.

rcorces commented 3 years ago

closing due to inactivity. feel free to comment if you are still having issues and I will re-open