merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
432 stars 145 forks source link

anvi-estimate-metabolism --metagenome-mode memory fix #2229

Closed ivagljiva closed 7 months ago

ivagljiva commented 7 months ago

This PR addresses the memory issues with --metagenome-mode from #2228 with the solutions proposed therein, namely:

I have tested the fix as described in #2228, and it enables the program to run in --metagenome-mode without being killed for excessive memory usage on a large metagenome with 20Gb of memory.