Repository navigation
Conversation
…tune The loader, the condition simulation and the distance live in geckopy.experiments, where the kcat tuning and the flux constraints of the protein step can both use them. The data files are fluxData.tsv, maxGrowth.tsv and zeroFlux.tsv, and the weight column is called weight. The tutorial's fluxData.tsv holds the single protein-step condition with weight 0 next to the tuning conditions.
…en-toolbox FluxData, load_flux_data, load_experiment_data, simulate_conditions, experiment_distance and compute_carbon_weights are in raven_toolbox.experiments, and apply_flux_data_constraints calls the function of the same name there and adds the biomass reaction and the carbon source of the model adapter. load_experiment_data takes the data folder instead of the adapter.
The functions of geckopy.solver_support are in raven_toolbox.utils.solver. EcModel still repairs the scipy problem whenever model.solver is read.
They are in raven_toolbox.utils.protein and raven_toolbox.annotation, and geckopy.databases exports them from there. find_met_smiles needs cache_path.
This was referenced Nov 20, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
geckopy takes the functions that need no enzymes from raven-toolbox (CompMetEng/raven-toolbox#204).
This is a draft. It needs a release of raven-toolbox with these functions first, and the
raven-toolboxrequirement inpyproject.tomlhas to name that release.FluxData,load_flux_data,load_experiment_data,simulate_conditions,experiment_distanceandcompute_carbon_weightsare inraven_toolbox.experiments, andgeckopy.databasesstill exportsFluxDataandload_flux_data.apply_flux_data_constraintscalls the function of the same name in raven-toolbox and takes the biomass reaction and the carbon source from the model adapter.experiment_dataandmax_growth,FluxData.weightis the weight of a condition, and the files arefluxData.tsv,maxGrowth.tsvandzeroFlux.tsv.load_experiment_datatakes the data folder instead of the adapter. The columnevotuneRMSEweightraises an error that namesweight. In the tutorialfluxData.tsvholds the condition of the protein step as its first row, with weight 0, so the tuning leaves it out.geckopy.solver_supportis removed; its functions are inraven_toolbox.utils.solver.EcModelstill repairs the scipy problem whenevermodel.solveris read.calculate_mw,find_met_smilesandmet_smilesare in raven-toolbox, andgeckopy.databasesexports them from there.find_met_smilesneedscache_path.The MATLAB side is CompMetEng/GECKO#38 and CompMetEng/RAVEN#28.