-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big dataset issue #34
Comments
Hi Dien, Thanks for your comment. When we developed scmap we did not have access to such large datasets, so it was never tested in such conditions. Hence, I have not come across this issue before. It seems as if you are using scmapCell - do you have the same problem with scmapCluster? Also, it is not clear from your message at what step the error occurs, so could you provide some more context? Best regards, |
Hi,
|
Hi, I came up with the same question when calling It seems like the function tried to convert the sparse matrix into a dense object so that it became too large to handle with. the error message is as follow:
|
Is there a solution? |
A potential workaround for people might be here which worked for me on a node with 128G of RAM (this worked the second time I tried it, as the first time my R process was killed for exceeding the memory allocations). I had ~180k cells, so take it as you will. Best, |
Glad you found it works for your case. Actually, I worked on HPC with a memory of 200G, so this should not be a problem to my case. I eventually ended up using Scanpy to move on but still following this case. |
I think the cholmod error can result from your matrix exceeding the maximum allowed data dimensions by the conversion tool used by Matrix package, which would be independent of the amount of RAM you have. The possible solution that I linked provides an alternative way to convert a matrix from sparse to dense that bypasses this problem. If you re-tried with this way, you probably wouldn't get the cholmod error again with a 200G HPC. Best, |
Hi,
Many thanks for creating this tool.
Please may I ask when I work with a big dataset set (say about 100k cells), can I divide the dataset into several smaller subsets and work on those subsets, subsequently merge the annotated cell metadata of those subsets and assign to the original dataset?
I came up with this question because litererally I can not run on the big dataset. The error message is as follow:
"Error in asMethod(object) :
Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105
Calls: run_scmap_seurat ... scmapCell -> as.matrix -> as.matrix.Matrix -> as -> asMethod
Execution halted"
Or please could you advise me any other solutions?
Many thanks.
Regards,
Dien
The text was updated successfully, but these errors were encountered: