lobolab / mergem

mergem is a python package and command-line tool for merging, comparing, and translating genome-scale metabolic models
https://lobolab.umbc.edu/mergem/
GNU General Public License v3.0
11 stars 0 forks source link

Possibility of Parelarization #5

Closed ggmirandac closed 1 month ago

ggmirandac commented 2 months ago

Hi,

I am using you software to combine different models into one big meta-metabolic network. And I am wondering if there is a way to paralelize the process specially in the bottle neck that is the generation of the models (For example when they are stored in a SBML file). Then once created they merge them all.

Bests,

Gabriel

dnlobo commented 1 month ago

Hi Gabriel,

I've never tried, but I think you could load all the models in parallel using the multiprocessing package in Python, and after that call the merge function. See the first example here:

https://docs.python.org/3/library/multiprocessing.html

Good luck!