{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Predict gene knockout strategies\n", "\n", "In cameo we have two ways of predicting gene knockout targets: using evolutionary algorithms (OptGene) or linear programming (OptKnock)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
Failed to display Jupyter Widget of type HBox
.
\n", " If you're reading this message in Jupyter Notebook or JupyterLab, it may mean\n", " that the widgets JavaScript is still loading. If this message persists, it\n", " likely means that the widgets JavaScript library is either not installed or\n", " not enabled. See the Jupyter\n", " Widgets Documentation for setup instructions.\n", "
\n", "\n", " If you're reading this message in another notebook frontend (for example, a static\n", " rendering on GitHub or NBViewer),\n", " it may mean that your frontend doesn't currently support widgets.\n", "
\n" ], "text/plain": [ "HBox()" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "Finished after 05:13:14\n" ] } ], "source": [ "result = optgene.run(target=model.reactions.EX_ac_e, \n", " biomass=model.reactions.BIOMASS_Ec_iJO1366_core_53p95M,\n", " substrate=model.metabolites.glc__D_e,\n", " max_evaluations=5000,\n", " plot=False)" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "scrolled": false }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "2164424c8b9344d0be7a09f2e2e61fc3", "version_major": 2, "version_minor": 0 }, "text/html": [ "Failed to display Jupyter Widget of type HBox
.
\n", " If you're reading this message in Jupyter Notebook or JupyterLab, it may mean\n", " that the widgets JavaScript is still loading. If this message persists, it\n", " likely means that the widgets JavaScript library is either not installed or\n", " not enabled. See the Jupyter\n", " Widgets Documentation for setup instructions.\n", "
\n", "\n", " If you're reading this message in another notebook frontend (for example, a static\n", " rendering on GitHub or NBViewer),\n", " it may mean that your frontend doesn't currently support widgets.\n", "
\n" ], "text/plain": [ "HBox()" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n", " | reactions | \n", "genes | \n", "size | \n", "fva_min | \n", "fva_max | \n", "target_flux | \n", "biomass_flux | \n", "yield | \n", "fitness | \n", "
---|---|---|---|---|---|---|---|---|---|
0 | \n", "(ATPS4rpp,) | \n", "((b3734,), (b3737,)) | \n", "1 | \n", "0.0 | \n", "14.187819 | \n", "-0.000000 | \n", "0.402478 | \n", "-0.000000 | \n", "-0.000000 | \n", "
1 | \n", "(SUCTARTtpp, ATPS4rpp, TARTt2_3pp) | \n", "((b3733, b4123),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.731688 | \n", "0.402478 | \n", "1.373169 | \n", "0.552670 | \n", "
2 | \n", "(RHAT1, ATPS4rpp) | \n", "((b3629, b3733),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.942932 | \n", "0.402478 | \n", "1.394293 | \n", "0.561172 | \n", "
3 | \n", "(PSP_L, ATPS4rpp) | \n", "((b3733, b4388),) | \n", "2 | \n", "0.0 | \n", "14.976296 | \n", "14.801391 | \n", "0.388365 | \n", "1.480139 | \n", "0.574834 | \n", "
4 | \n", "(PHEMEabcpp, ATPS4rpp) | \n", "((b3733, b2199), (b3733, b2198)) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.731688 | \n", "0.402478 | \n", "1.373169 | \n", "0.552670 | \n", "
5 | \n", "(EDTXS4, EDTXS2, ATPS4rpp) | \n", "((b1855, b3733),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "0.234472 | \n", "0.402478 | \n", "0.023447 | \n", "0.009437 | \n", "
6 | \n", "(SULFACabcpp, ETHSO3abcpp, ATPS4rpp, MSO3abcpp) | \n", "((b0933, b3733),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.731688 | \n", "0.402478 | \n", "1.373169 | \n", "0.552670 | \n", "
7 | \n", "(CITL, ATPS4rpp) | \n", "((b0614, b3733),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.942932 | \n", "0.402478 | \n", "1.394293 | \n", "0.561172 | \n", "
8 | \n", "(ATPS4rpp, NMNPtpp) | \n", "((b3733, b0751),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.731688 | \n", "0.402478 | \n", "1.373169 | \n", "0.552670 | \n", "
9 | \n", "(ATPS4rpp, GHMT2r, THFAT) | \n", "((b3733, b2551),) | \n", "2 | \n", "0.0 | \n", "14.644674 | \n", "14.260853 | \n", "0.393362 | \n", "1.426085 | \n", "0.560968 | \n", "
10 | \n", "(ATPS4rpp, G6PDA) | \n", "((b3733, b0678),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.731688 | \n", "0.402478 | \n", "1.373169 | \n", "0.552670 | \n", "
11 | \n", "(ATPS4rpp,) | \n", "((b3386, b3733), (b0186, b3733)) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "12.751857 | \n", "0.402478 | \n", "1.275186 | \n", "0.513234 | \n", "
12 | \n", "(COLIPAKpp, ATPS4rpp) | \n", "((b2174, b3733),) | \n", "2 | \n", "0.0 | \n", "14.187819 | \n", "13.942932 | \n", "0.402478 | \n", "1.394293 | \n", "0.561172 | \n", "
13 | \n", "(SUCTARTtpp, ATPS4rpp, TARTt2_3pp) | \n", "((b4123, b3733, b4219),) | \n", "3 | \n", "0.0 | \n", "14.187819 | \n", "12.751857 | \n", "0.402478 | \n", "1.275186 | \n", "0.513234 | \n", "
14 | \n", "(PPCSCT, ATPS4rpp) | \n", "((b2920, b3733, b4219),) | \n", "3 | \n", "0.0 | \n", "14.187819 | \n", "12.751857 | \n", "0.402478 | \n", "1.275186 | \n", "0.513234 | \n", "
15 | \n", "(PSP_L, ATPS4rpp) | \n", "((b3733, b4388, b4219),) | \n", "3 | \n", "0.0 | \n", "14.976296 | \n", "12.802175 | \n", "0.388365 | \n", "1.280218 | \n", "0.497192 | \n", "
16 | \n", "(FEENTERabcpp, ATPS4rpp, FE3DHBZSabcpp) | \n", "((b0592, b2224, b3733),) | \n", "3 | \n", "0.0 | \n", "14.187819 | \n", "-0.000000 | \n", "0.402478 | \n", "-0.000000 | \n", "-0.000000 | \n", "
17 | \n", "(NMNPtpp, ATPS4rpp, MTRPOX, SARCOX) | \n", "((b2291, b0751, b3733, b1059),) | \n", "4 | \n", "0.0 | \n", "14.187819 | \n", "13.942932 | \n", "0.402478 | \n", "1.394293 | \n", "0.561172 | \n", "
Failed to display Jupyter Widget of type HBox
.
\n", " If you're reading this message in Jupyter Notebook or JupyterLab, it may mean\n", " that the widgets JavaScript is still loading. If this message persists, it\n", " likely means that the widgets JavaScript library is either not installed or\n", " not enabled. See the Jupyter\n", " Widgets Documentation for setup instructions.\n", "
\n", "\n", " If you're reading this message in another notebook frontend (for example, a static\n", " rendering on GitHub or NBViewer),\n", " it may mean that your frontend doesn't currently support widgets.\n", "
\n" ], "text/plain": [ "HBox()" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n", " | reactions | \n", "size | \n", "EX_ac_e | \n", "biomass | \n", "fva_min | \n", "fva_max | \n", "
---|---|---|---|---|---|---|
0 | \n", "{ATPS4rpp} | \n", "1 | \n", "13.94293 | \n", "0.402477 | \n", "0.0 | \n", "14.187819 | \n", "