Skip to content
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

Cholmod error 'problem too large' #8

Closed
LauRich05 opened this issue May 24, 2021 · 1 comment
Closed

Cholmod error 'problem too large' #8

LauRich05 opened this issue May 24, 2021 · 1 comment

Comments

@LauRich05
Copy link

LauRich05 commented May 24, 2021

Hi there,

I am trying to run STACAS integration on a dataset comprised of ~270,000 cells from 52 samples. I keep running into the error below on the IntegrateData() step. Seurat forums recommend using their new "rpca" integration method to overcome this - but it hasn't performed as well as STACAS on my dataset, and I'm not sure how RPCA would integrate into the STACAS workflow. Do you have any workarounds to overcome this error on large datasets? I am running

Error in .cbind2Csp(x, y) : Cholmod error 'problem too large' at file ../Core/cholmod_sparse.c, line 89 Calls: ... cbind -> cbind2 -> cbind2 -> cbind2sparse -> .cbind2Csp Execution halted

@mass-a
Copy link
Member

mass-a commented May 25, 2021

Hello Laura and thanks for the report.

It looks like your machine is running out of memory on this large dataset - how much RAM do you have?

You could try to downsample your dataset to reduce the number of cells (e.g. see satijalab/seurat#1325), which could even help balancing out samples of very different sizes. But if you want to use all cells for integration, you may have to run the integration step on a machine with more RAM.

STACAS actually uses reciprocal PCA for integration, so I don't expect 'rpca' would be a solution.

Best,
-m

@mass-a mass-a closed this as completed Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants