This program writes a metabolic reaction network to a file suitable for flux balance analysis..
🔙 To the main page of anvi’o programs and artifacts.
The reaction-network-json file output contains sections on the metabolites, reactions, and genes constituting the reaction-network that had been predicted from the genome. An “objective function” representing the biomass composition of metabolites in the “core metabolism” of E. coli is automatically added as the first entry in the “reactions” section of the file and can be deleted as needed. An objective function is needed for flux balance analysis.
anvi-get-metabolic-model-file -c contigs-db \ -o /path/to/ouput.json
An existing file at the target output location must be explicitly overwritten with the
anvi-get-metabolic-model-file -c contigs-db \ -o /path/to/output.json \ -W
--remove-missing-objective-metabolites must be used to remove metabolites in the E. coli core biomass objective function from the output file if the metabolites are not produced or consumed by the predicted reaction-network. COBRApy, for instance, cannot load the JSON file if metabolites in the objective function are missing from the genomic model.
anvi-get-metabolic-model-file -c contigs-db \ -o /path/to/output.json \ --remove-missing-objective-metabolites
Edit this file to update this information.
Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the
__resources__ tag in this file to see an example.