saezlab / CARNIVAL

CAusal Reasoning for Network Identification with integer VALue programming in R
https://saezlab.github.io/CARNIVAL/
57 stars 29 forks source link

Speed up for carnival #43

Closed hmkim closed 3 years ago

hmkim commented 3 years ago

Hi,

Is any method of speed up the analysis in carnival?

Thank you in advance!

(In my case, there are about 20,000 genes and 171 samples)

ivanovaos commented 3 years ago

Hi @hmkim,

We are currently working on speeding up and improvements for CARNIVAL. Some things like speeding up of writing constraints are planned to be implemented until the end of the year.

Our lab runs CARNIVAL with cplex. It seems to be quite efficient for the majority of the cases if you run it on cluster. We call runCARNIVAL for each sample. 20 000 genes would be "condensed" to the activity of TFs with DoRothEA/Viper or similar, and you can also make your prior knowledge network smaller by selecting e.g. only edges confirmed by lit references or you can also adapt this network to your specific case. Does this help?

P.S. we have a nice tutorial for the whole pipeline of downstream analysis with CARNIVAL

hmkim commented 3 years ago

@ivanovaos Thank you!

I already checked it (tutorial in your mentioned)

I'll check the cplex on cluster.