You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm actually using Seurat v5 and trying to follow the tutorial "Sketch integration using a 1 million cell dataset from Parse Biosciences" (https://satijalab.org/seurat/articles/parsebio_sketch_integration) and apply him on my seurat object which have a size of more than 1.3 millions of cells with 24 different counts layers from different studies. But it systematically gave me an error.
I've already tried to update, install/uninstall Matrix, irlba, and RSpectra packages, but it didn't succeed.
Moreover, it's in the context of an internship in the first year of Master's degree. So I'm working with a conda environment that I share with colleagues, and when I've tried this method and I've broken two different environments, I am now "forbidden" to install or update packages as I wish.
If someone has a functional alternative.
The text was updated successfully, but these errors were encountered:
Hi @CDdumortier , unfortunately this is a bug that is present in the Matrix (and subsequent) packages that are currently compiled in the bioconda repository. It’s due to a recent change in Matrix on October 2023 (https://stat.ethz.ch/pipermail/r-sig-mac/2023-October/014890.html) combined with the way R-packages compilation works. It breaks multiple packages that rely on Matrix (the standard for dealing with sparse matrixes in R). Examples:
Currently, the only solution is to recompile Matrix and the subsequent packages (irlba, TFBSTools, etc) by using the command install.packages("packagename", type = "source", force = TRUE). Unfortunately as you noticed, this often have unintended consequences inside conda environments and can break them. On my side I managed to fix it by using the following command when I install something:
install.packages(
"https://cran.r-project.org/src/contrib/Archive/Matrix/Matrix_1.6-5.tar.gz", # path to exact version of Matrix I already haverepos=NULL,
type="source",
lib="path/to/condaenv/library", # directory with conda environment, visible with .libPaths()INSTALL_opts= c('--no-lock')
)
If you’re not allowed to install anything, the only solution is probably to clone the shared conda environment to your user space, and experiment on it with the command above, leaving the shared environment untouched.
I’m note sure if all the conda packages that rely on Matrix will be fixed at some point, but currently it’s really a pain with workflow managers that rely on conda for reproducibility (snakemake for instance).
Hello,
I'm actually using Seurat v5 and trying to follow the tutorial "Sketch integration using a 1 million cell dataset from Parse Biosciences" (https://satijalab.org/seurat/articles/parsebio_sketch_integration) and apply him on my seurat object which have a size of more than 1.3 millions of cells with 24 different counts layers from different studies. But it systematically gave me an error.
There is my code:
for my session:
I've already tried to update, install/uninstall Matrix, irlba, and RSpectra packages, but it didn't succeed.
Moreover, it's in the context of an internship in the first year of Master's degree. So I'm working with a conda environment that I share with colleagues, and when I've tried this method and I've broken two different environments, I am now "forbidden" to install or update packages as I wish.
If someone has a functional alternative.
The text was updated successfully, but these errors were encountered: