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

convert MC to Seuratobject format #72

Open
jadewu77 opened this issue Jul 3, 2024 · 5 comments
Open

convert MC to Seuratobject format #72

jadewu77 opened this issue Jul 3, 2024 · 5 comments

Comments

@jadewu77
Copy link

jadewu77 commented Jul 3, 2024

Hi metacell team,

When I used the metacell package, I generated metacells, but I am not used to the storage format of MC. Is there a way to convert MC to Seurat object format? Thank you.

@aviezerl
Copy link

aviezerl commented Jul 3, 2024

Hi,

We currently recommend using metacell2 - the metacells python package, that supports export from anndata objects. Unfortunately, we do not yet support conversion to Seurat.

Aviezer

@jadewu77
Copy link
Author

jadewu77 commented Jul 4, 2024

I initially tried using Metacell2 for my analysis, but I encountered an issue where the task keeps getting suspended when using the mc.pl.collect_metacells function. The traceback suggests that the problem is related to thread and core management. I attempted to set the maximum number of threads, but this did not resolve the issue. Could you provide some guidance or suggest a solution for this problem? Thank you. @aviezerl

Untitled

@aviezerl aviezerl transferred this issue from tanaylab/metacell Jul 4, 2024
@orenbenkiki
Copy link
Collaborator

Parallelism in Python seems fragile; whetever the problem is, it seems somewhere in the internals?

One thing you can do is to disable parallelism during collect_metacells using mc.ut.set_processors_count- that however would make it take much longer time. Alternatively, you might use a lower number of threads than the maximal and still get away with it.

@zoan128
Copy link

zoan128 commented Sep 11, 2024

Hi, I used metacell on Rstudio to analysis my Seurat data.
I find I can use scm_export_mat_to_sce to turn the ‘mat’ to ‘sce’,
but how can I add the 'mc.Rda' and 'mc2d.Rda' into my mat?

@orenbenkiki
Copy link
Collaborator

Not sure what the question is. The metacells package uses the AnnData format - imports/exports to/from this format are handled by the AnnData package.

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

4 participants