To run the dnngior gapfiller, the Gurobi solver is mandatory.
pip install gurobipyTo use gurobi, you need a license. If you are an acedemic, you may get a license for free.
Once you have successfully installed gurobi, you are ready to install the dnngior gapfiller.
pip install dnngiorOptionally, you may need to also get Tensorflow (or through conda)
in case you would like to use the NN_Trainer.
Gapfilling models is done using the Gapfill class:
import dnngior.gapfill_class.Gapfill
Gapfill(path_to_model)You may find examples of gap-filling a genome scale reconstruction (GEM) with dnngior with a complete or a defined medium in this example notebook. dnngior can gapfill both ModelSEED and BiGG models, to gapfill BiGG models you need to specify modeltype.
Gapfill(path_to_BiGG_model, modeltype='BiGG')By default dnngior uses an universally trained network capable of accurate predictions under most circumstances. If desired, it is possible to change the Neural Network you want to use during gapfilling:
Gapfill(path_to_model, trainedNNPath=path_to_NN)You can train your own Neural Network following this tutorial: example training NN.
Alternatively you can find additional custom Neural Networks for several taxonomic groups: Custom Networks. Upon request additional specially trained networks can be made available for specific biomes or taxonomic groups.
Please see License
The paper that will accompany the tool is can be found here:
https://www.cell.com/iscience/fulltext/S2589-0042(24)02574-4