Closed shreyanshumale closed 3 years ago
Hi Shreyansh,
Yes that is normal, the --global
mode in SMETANA should run much quicker than the --detailed
mode.
--detailed
does not parallelize efficiently, so running with 1 or 2 cores should be enough (you would likely be wasting or under-using resources with 30 cores). I do not think that there is a way to ensure parallelization due to the implementation, but @cdanielmachado is probably the best person to ask.I am curious: Are your 93 MAGs/GEMs from the same sample? What environment was the sample generated from?
Best, Francisco
Hello Francisco!
Thanks for your reply!
I see! I will try this approach out!!
Yeah, all 93 MAGs are from the same sample. This sample is from a deep-sea hydrothermal vent.
I had another related question. When I use the carve rule, all my models have really high growth rates (30-50), which I found out was because the models were not initialized with any medium. I wanted to know if I should use the 'initialized' models or the unconstrained ones given by the metaGEM out of the box for my smetana analyses? (Or it does not make a difference?)
Please let me know!
Hi Shreyansh,
I suspect that the -i
flag would not make a difference in your case, since SMETANA constrains/initializes the models based on the desired input simulation media. If you wanted to check for yourself then you could carve a set of MAGs with and without the -i
flag, then simulate each community to verify that the interactions are the same. Note that there is some stochasticity in the carving process, so you may get slightly different GEMs for the same MAG due to multiple/equivalent solutions.
Apologies for the super late response! Best, Francisco
Hello Francisco!
I obtained around 93 MAGs from the metaGEM workflow and ran smetana for these 93 organisms using smetana. Even though I assigned 30 cores for this job, it seems that the CPU utilization indicates otherwise (shows only one core is used). Is there a way to ensure that the parallel processing smoothly functions for smetana as the runtime has already been upwards of 4 days for a single media (M11)? I independently tried running smetana in 'global' mode with the communities.tsv file having multiple different sized communities, and it turns out the CPU utilization shows active parallel processing and runtimes are much lower.
I know that detailed mode is expected to take higher runtimes but is there:
Please let me know!
Thanks, Shreyansh