Speed up Seurat FindClusters execution?
2
0
Entering edit mode
8 months ago
CTLong ▴ 120

Hi all,

I am processing a scRNA-seq dataset of 200k cells, and am at the stage of finding clusters with a resolution of 2. The FindClusters function from Seurat seems to take a long time to run. Wondering if anyone have any ideas how to speed up the execution, and which method is most efficient (with less tradeoff in the clustering quality). Currently, I have three alternatives in mind:

1) Decreasing the resolution from 2 to 0.8 or even lower

2) Use sparse matrix with do.sparse = TRUE (but this is no longer available in Seurat V5, is there a workaround?)

3) Process it on HPC (my computer is quite powerful (64Gb RAM) and the HPC queueing usually takes a long time if a lot of resources are demanded, also prone to error hence re-queueing).

Thanks for the help.

Seurat • 1.1k views
ADD COMMENT
0
Entering edit mode
8 months ago
fracarb8 ★ 1.7k

Unfortunately, FindClusters works in parallel (future) only when multiple resolution are passed ( I assume 1 cpu x resolution). That was true for seurat v4, and I am not sure if it is still true with seurat 5, as they remvoed that vignette

ADD COMMENT
0
Entering edit mode
5 months ago
Picasa ▴ 650

any solutions ?

ADD COMMENT
0
Entering edit mode

I overcame this by running it on HPC

ADD REPLY

Login before adding your answer.

Traffic: 1920 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6