draeger-lab / SPECIMEN

Automated pipeline for strain-specific metabolic modeling based on a high-quality template model.
GNU General Public License v3.0
5 stars 1 forks source link

Integrate refinegems #1

Closed cb-Hades closed 4 months ago

cb-Hades commented 1 year ago

The idea is to export the utility functions of SPECIMEN to refinegems and have SPECIMEN load refinegems to use those. In other words, SPECIMEN will focus on the pipeline for building the strain-specific model automatically, while refinegems is the toolbox containing the functionalities applicable to more than just SPECIMEN.

Overview:

Updated Modules:


🔴 WARNING 🔴 Due to restructuring of refinegems, recheck all import and connection to ensure it still works properly.


cb-Hades commented 10 months ago

Regarding analysis.py module: all parts have been added to refinegems save for the statistical report.

The statistical report in its current form is quite rigidly bound to SPECIMEN, however one idea 🟦 might be to create a super class in refinegems that can be extended in SPECIMEN.

Overall, reports were reduced to statistical only, rest as added successfully to refinegems.

cb-Hades commented 10 months ago

Functionalities of util.io were added to the io submodule of refinegems in their entirety.,

cb-Hades commented 9 months ago

The medium submodule was complete transferred to refinegems and connected to the newly established media database of refinegems.

cb-Hades commented 9 months ago

util.util - functions about DIAMOND and NCBI mapping are kept in SPECIMEN (too specific), function for BiGG namespace have been transferred to refine gems and merged with the existing database that contains the BiGG names and mapping.

same goes for set_up.py - testing still required after deleting all BiGG

cb-Hades commented 9 months ago

🟥 Warning 🟥 started further adjustment to the new changes in refinegems - including the media_config, biomass_presence, namespace option and more.
â–¶ this means that the programs - all the run functions - will no longer work as expected
🟧 extensive TESTING - and probably bug-fixing - required

cb-Hades commented 4 months ago

SPECIMEN = Workflows; refineGEMs = Toolbox

successful separation