How to make DiffBind Run Faster?
1
0
Entering edit mode
6 weeks ago
B.N. ▴ 10

Wondering how to make diffbind run faster. Am on an RStudio server on a linux machine. I set bParallel = TRUE in dba.count(). However, it still seems to be taking a very long time. I notice it's only using 1.5 to 2 GB of RAM max. Is there any way I can further optimize this and make it utilize more RAM? Also, is there any way to see how many cores it's utilizing and make it use more cores too?

DiffBind ATAC-seq • 458 views
ADD COMMENT
2
Entering edit mode
6 weeks ago

Set the number of cores for your dba object. For example, if your dba object is named tamoxifen:

tamoxifen$config$cores <- 12

Note the parallelization in DiffBind does not work on Windows.

You might also give csaw a try, as it's much quicker and generally more flexible (though as a result requires more adjustments and thought).

ADD COMMENT
0
Entering edit mode

Hello Jared. Thank you for the response. I tried implementing the change and R studio only reports using 1.5 to 2 GB still. Do you have any ideas to make R use more memory for diffbind and would it speed up the process that seems to be taking many many hours?

ADD REPLY
1
Entering edit mode

Without more code or details, not much more we can provide. Why do you think using more RAM is going to make anything faster?

Regardless, DiffBind is not quick. rtracklayer and csaw can generate read counts much quicker as mentioned.

ADD REPLY

Login before adding your answer.

Traffic: 1698 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