Memory issue while using "quickcluster" and "computeSumFactors" functions on single cell RNA seq dataset with 7-9 lac cells
1
0
Entering edit mode
amlanjyoti • 0
@1343cca5
Last seen 8 days ago
India

This is the code I am using for perform cluster based size factor normalization on a single cell RNA seq data with around 7 - 9 lac cells

set.seed(123) param <- SnowParam(workers = 5, type = "SOCK", progressbar = TRUE, RNGseed = 123) clusters <- quickCluster(sce_object, block=cut(seq_len(ncol(counts(sce_object))), 25), block.BPPARAM = param) sce_object <- computeSumFactors(sce_object, clusters = clusters, BPPARAM = param)

However, its taking too much time and ultimately getting "Killed" due to memory constraint. Could you please suggest some alternative or do you think random downsampling of cells is the only solution?

Many thanks and regards Amlan.

scran • 729 views
ADD COMMENT
0
Entering edit mode

What is lac cells? You mean 7000-9000 cells? Please check first that the function runs OOM even without any of these multicore options set. How much memory is available?

ADD REPLY
0
Entering edit mode
@james-w-macdonald-5106
Last seen 4 hours ago
United States

The obvious solution is to use cloud computing, which is likely cheaper than getting more RAM for your computer.

Login before adding your answer.

Traffic: 455 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
OSZAR »