-
Notifications
You must be signed in to change notification settings - Fork 18
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
BPCells matrix to sparse matrix #40
Comments
Hi Dario, glad it's been working well for you! You can just run I'll add something to the docs so this is a bit more obvious |
Thank you for your reply, however I can't manage to do this because
Maybe this is a consequence of the expression matrix in question being stored in a v5 Seurat object that has been processed, saved as RDS and loaded, multiple times. Do you think this is a problem caused by Seurat processing? |
To start with troubleshooting, some basic things to check:
It is possible this has to do with Seurat processing, as they are overloading the Could you let me know what the results are of the troubleshooting steps I listed above? |
After updating BPcells, the error is now indicating that too many matrices are opened. Indeed, this seurat object was created from a list of 92 BPCells matrices.
I am running MacOS Ventura 13.3.1 |
Hi Dario, I see your issue in the Seurat repo -- for the BPCells-specific part of this discussion I think we can keep things here. Thanks for checking up on those details. I was not aware that Macs also sometimes had a max open files issue, but at least this source claims the default limit is 256, which is too low to handle 92 matrices at once with BPCells right now. There are two directions you could go for solutions:
It's a bit tricky for BPCells to decrease the number of open files in these cases, so one of those two workarounds is likely your best option in the near term. Let me know if one of those works for you. |
Hello there, although this is not the exact same issue I've decided to reply here because it's basically the same thing, just with a different error
|
The cause here appears to be that the file you're loading was created on an earlier version of BPCells, before the In this case, assuming that Given that there have been similar issues from a different update in #79, it seems I should look into making a helper function to help update BPCells objects from the old versions to the latest version. |
I've been using this package for some weeks now and it's amazing how it allows to process big datasets in R. After doing some work, I need to export a trimmed verison of the dataset in the usual sparse matrix format, for compatibility reasons, but I am failing to find a way to do so, would you be so kind to point me into the right direction?
The text was updated successfully, but these errors were encountered: