Seurat V5 on MERFISH data #7170
Replies: 4 comments 2 replies
-
I have the same question. It seems output from Vizgen MERSCOPE experiments will no longer provide a cell_boundaries folder with .hdf5 files. Instead, the output will include a "cell_boundaries.parquet" file. Are there any plans to update the LoadVizgen() function for use with a parquet file? |
Beta Was this translation helpful? Give feedback.
-
It seems that you have Cellpose output. I submitted a PR handle Cellpose output #7190 |
Beta Was this translation helpful? Give feedback.
-
Hello. I am having issues using LoadVizgen() and ReadVizgen() with my MERFISH dataset still. I know there was a PR made for this, but I am still confused on how to fix the parquet issue. When I use the code below, vizgen.obj <- ReadVizgen(data.dir = "E:\111124_MS_MB_Merfishy", transcripts = "E:\111124_MS_MB_Merfishy\cell_by_gene.csv", spatial = "E:\111124_MS_MB_Merfishy\cell_metadata.csv", molecules = "E:\111124_MS_MB_Merfishy\detected_transcripts.csv", type = "segmentations", mol.type = "microns", z=3L) I get the error "Warning in ReadVizgen(data.dir = data_dir, transcripts = transcripts_path, : There were 50 or more warnings (use warnings() to see the first 50)". I am assuming that is because there is no hfad file anymore (replaced by parquet). What code am I supposed to run instead? |
Beta Was this translation helpful? Give feedback.
-
Thank you! That appeared to work, however I now cannot run the
vizgen.obj <- SCTransform(vizgen.obj, assay = "Vizgen") function due to the class = list.
I know I need this to be a Seurat Object in matrix form. Is there a way to fix that?
Thanks,
Maycie
Maycie Schultz
Sun Lab
Biomedical Sciences Graduate Student
University of Wyoming, Biological Sciences 1000 E University Ave, Laramie, WY 82071
…________________________________
From: Alik Huseynov ***@***.***>
Sent: 14 November 2024 02:55
To: satijalab/seurat ***@***.***>
Cc: Maycie Schultz ***@***.***>; Comment ***@***.***>
Subject: Re: [satijalab/seurat] Seurat V5 on MERFISH data (Discussion #7170)
◆ This message was sent from a non-UWYO address. Please exercise caution when clicking links or opening attachments from external sources.
Hi. try to install this PR for Seurat5 devtools::install_github(repo = "alikhuseynov/seurat", ref = "vizgen_seurat5")
try to use this loading script<https://github.com/alikhuseynov/add-on_R/blob/develop/R/example_read_load_vizgen_v2.R>
vizgen.obj <- ReadVizgen(data.dir = "E:\111124_MS_MB_Merfishy", transcripts = "E:\111124_MS_MB_Merfishy\cell_by_gene.csv", spatial = "E:\111124_MS_MB_Merfishy\cell_metadata.csv", molecules = "E:\111124_MS_MB_Merfishy\detected_transcripts.csv", type = "segmentations", mol.type = "microns", z=3L)
ReadVizgen doesn't make the object, it reads the data in a list, LoadVizgen needs to be used. Make sure that parquet file is somewhere/within your E:\111124_MS_MB_Merfishy directory.
hope this helps.
—
Reply to this email directly, view it on GitHub<#7170 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFH4BBAK3KBNAXP62H5TH7D2ARXSDAVCNFSM6AAAAABRXNTKJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMRVGIZDKNA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am planning to use Seurat V5 on a MERFISH dataset. The tutorial uses
LoadVizgen
function to read the files. However, I don't have hdf5r files from segmentation. Therefore, I won't be able to useLoadVizgen
. I can read the data usingReadVizgen
but it results in a plain list instead of a Seurat object. Any idea on how to read MERFISH data without segmentation information into a Seurat object?Beta Was this translation helpful? Give feedback.
All reactions