-
Notifications
You must be signed in to change notification settings - Fork 889
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
Converting Seurat to Loom #4514
Comments
Piggybacking on the question. When we convert a Seurat object to loom, it will only change the data type/class to loom data type. But if we want to have spliced/unspliced counts to perform Velocity analysis, we still need go back to the FASTQ/BAM files? If so, what is the main reason why we want to convert the object? Thank you for your help! |
Hi, Not member of the dev team but hopefully can be helpful.
In regards to the error that you are receiving can you provide a reproducible example where this happens (using object from SeuratData package for instance). I am able to use both I'm sure that @mojaveazure or another member of the Seurat team can confirm but I believe that loomr is deprecated and now fully replaced by SeuratDisk. As note to @mojaveazure & Seurat team if this is the case then link and text Tutorial vignette should be changed to avoid confusion ("For more details about interacting with loom files in R and Seurat, please see loomR on GitHub."). @denvercal1234GitHub Yes the format of your object (Seurat, SCE, loom, AnnData, etc) does not have anything to do with RNA velocity measures unless you have run Velocyto or other package on the raw sequencing data and incorporated those into your object first. In terms of why to use the loom object that is going to be package dependent and I would direct you to this link provided in conversion vigentte to Linnarsson lab website explaining loom format: http://linnarssonlab.org/loompy/format/index.html Best, |
Thanks for the detailed response! I just have a few follow-up questions:
|
We are closing this issue now as we are no longer prioritizing support for loom conversion. In Seurat v5, we include support for the v5 assay class, which can flexibly store data in a variety of formats (including disk-backed formats). We include multiple examples for disk-backed analysis using the BPCells package from Ben Parks . |
Hi, I'm trying to convert Seurat objects to loom files but I'm confused as to which functions work now and which functions are deprecated. I first tried the
as.loom()
function described in this vignette here and it works. However, if I'm understanding things correctly, this function is now deprecated and the preferred approach should be using the functions fromSeuratDisk
?Yet when I read the documentation for
SeuratDisk
and functions related to converting Seurat objects to loom, I see there is also anas.loom()
function as well asSaveLoom()
function. Yet when I attemptSaveLoom()
I get this error messageOn top of all of that, the vignette here for
loomR
suggests using theConvert()
function as such:But it seems the
Convert()
function has been updated and is no longer applicable to operating with anything that is related to loom files (or isloomR
completely deprecated)? I've tried to look at theSeuratDisk
page articles but it seems there is not a lot of explanation on how to deal with loom file type. I'm currently using Seurat version 3.2.2 (if the version matters) as all of the current analysis was done before the update. I would appreciate any guidance and explanation on the various functions (which still works or which no longer works) and what is the best way to convert Seurat to loom, many thanks!The text was updated successfully, but these errors were encountered: