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

Speed up for carnival #43

Closed
hmkim opened this issue Oct 23, 2020 · 2 comments
Closed

Speed up for carnival #43

hmkim opened this issue Oct 23, 2020 · 2 comments

Comments

@hmkim
Copy link

hmkim commented Oct 23, 2020

Hi,

Is any method of speed up the analysis in carnival?

  • Would you suggest the best speed solver? (cbc or cplex)

  • multi-processing/threading or anything

Thank you in advance!

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

@ivanovaos
Copy link
Member

ivanovaos commented Oct 23, 2020

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
Copy link
Author

hmkim commented Oct 27, 2020

@ivanovaos Thank you!

I already checked it (tutorial in your mentioned)

I'll check the cplex on cluster.

@hmkim hmkim closed this as completed Oct 27, 2020
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

2 participants