|
| 1 | +function [gvalue, GR, PR, size1, size2, size3, success] = TrimGdel(model, targetMet, maxLoop, PRLB, GRLB) |
| 2 | +% |
| 3 | +% TrimGdel appropriately considers GPR rules and determines |
| 4 | +% a minimal gene deletion strategies to achieve growth-coupled production |
| 5 | +% for a given target metabolite and a genome-scale model. |
| 6 | +% even in the worst-case analysis (ensures the weak-growth-coupled production). |
| 7 | +% |
| 8 | +% Gurobi is required for this version. |
| 9 | +% The CPLEX version is available on https://github.com/MetNetComp/TrimGdel |
| 10 | +% |
| 11 | +% function [gvalue, GR, PR, size1, size2, size3, success] |
| 12 | +% = TrimGdel(model, targetMet, maxLoop, PRLB, GRLB) |
| 13 | +% |
| 14 | +% INPUTS |
| 15 | +% model COBRA model structure containing the following required fields to perform gDel_minRN. |
| 16 | +% rxns Rxns in the model |
| 17 | +% mets Metabolites in the model |
| 18 | +% genes Genes in the model |
| 19 | +% grRules Gene-protein-reaction relations in the model |
| 20 | +% S Stoichiometric matrix (sparse) |
| 21 | +% b RHS of Sv = b (usually zeros) |
| 22 | +% c Objective coefficients |
| 23 | +% lb Lower bounds for fluxes |
| 24 | +% ub Upper bounds for fluxes |
| 25 | +% rev Reversibility of fluxes |
| 26 | +% |
| 27 | +% targetMet target metabolites |
| 28 | +% (e.g., 'btn_c') |
| 29 | +% maxLoop the maximum number of iterations in gDel_minRN |
| 30 | +% PRLB the minimum required production rates of the target metabolites |
| 31 | +% when gDel-minRN searches the gene deletion |
| 32 | +% strategy candidates. |
| 33 | +% (But it is not ensured to achieve this minimum required value |
| 34 | +% when GR is maximized withoug PRLB.) |
| 35 | +% GRLB the minimum required growth rate |
| 36 | +% when gDel-minRN searches the gene deletion |
| 37 | +% strategy candidates. |
| 38 | +% |
| 39 | +% OUTPUTS |
| 40 | +% gvalue a small gene deletion strategy (obtained by TrimGdel). |
| 41 | +% The first column is the list of genes. |
| 42 | +% The second column is a 0/1 vector indicating which genes should be deleted. |
| 43 | +% 0 indicates genes to be deleted. |
| 44 | +% 1 indecates genes to be remained. |
| 45 | +% GR the maximum growth rate when the obtained gene deletion |
| 46 | +% strategy represented by gvalue is applied. |
| 47 | +% PR the minimum production rate of the target metabolite under |
| 48 | +% the maximization of the growth rate when the obtained gene deletion |
| 49 | +% strategy represented by gvalue is applied. |
| 50 | +% size1 the number of gene deletions after Step1. |
| 51 | +% size2 the number of gene deletions after Step2. |
| 52 | +% size3 the number of gene deletions after Step3. |
| 53 | +% success indicates whether TrimGdel obained an appropriate gene |
| 54 | +% deletion strategy. (1:success, 0:failure) |
| 55 | +% |
| 56 | +% T. Tamura, "Trimming Gene Deletion Strategies for Growth-Coupled |
| 57 | +% Production in Constraint-Based Metabolic Networks: TrimGdel," |
| 58 | +% in IEEE/ACM Transactions on Computational Biology and Bioinformatics, |
| 59 | +% vol. 20, no. 2, pp. 1540-1549, 2023. |
| 60 | +% |
| 61 | +% Comprehensive computational results are accumulated in MetNetComp |
| 62 | +% database. |
| 63 | +% https://metnetcomp.github.io/database1/indexFiles/index.html |
| 64 | +% |
| 65 | +% T. Tamura, "MetNetComp: Database for Minimal and Maximal Gene-Deletion Strategies |
| 66 | +% for Growth-Coupled Production of Genome-Scale Metabolic Networks," |
| 67 | +% in IEEE/ACM Transactions on Computational Biology and Bioinformatics, |
| 68 | +% vol. 20, no. 6, pp. 3748-3758, 2023, |
| 69 | +% |
| 70 | +% Feb. 6, 2025 Takeyuki TAMURA |
| 71 | +% |
| 72 | + |
| 73 | +[gvalue gr pr it success] = gDel_minRN(model, targetMet, maxLoop, PRLB, GRLB) % Step 1 |
| 74 | +if success |
| 75 | + [gvalue, GR, PR, size1, size2, size3] = step2and3(model, targetMet, gvalue) % Step 2 and 3 |
| 76 | +else |
| 77 | + gvalue = []; |
| 78 | + GR = 0; |
| 79 | + PR = 0; |
| 80 | + size1 = 0; |
| 81 | + size2 = 0; |
| 82 | + size3 = 0; |
| 83 | +end |
| 84 | + |
| 85 | +end |
| 86 | + |
0 commit comments