Merge curateExchangeRxns branch into devel - #72
Merged
Conversation
Push to master for pre-release v0.6.1
- As discussed in #28, this script aims to address the attempted curations for exchange reactions, Sink and DM reactions.
- As discussed in #43, this new array struct works as an archive to store the nearly identical reactions that will be removed at a certain point.
haowang-bioinfo
approved these changes
Dec 15, 2018
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.
Main improvements in this PR:
Curations to the model exchange reactions (as well as sink and demand reactions) were implemented in the script
curateExchangeRxns.m, and address many of the points addressed in issue #28. Changes implemented by the curation script are summarized below.The current
humanGEMmodel has a mix of exchange reactions that are formulated such that negative flux corresponds to export, whereas others have positive flux corresponding to export. In order to standardize this, all exchange reactions will be converted to the second format (positive flux = export).In the model there are 7 exchange reactions that are duplicated but written in opposite directions. For each pair of duplicates, one reaction was deleted, and the second was made reversible. It was confirmed in advance that none of these reactions are associated with any genes. Before removal, these reactions were stored in a new array structure "redundantRxns" (as explained in Removal/Curation of nearly identical reactions #43) and saved as a plaintext JSON file, in order to migrate this repo to a binary-free mode (Migrating toward a binary-free repo #27).
All sink (
sink_) and demand (DM_) reactions were inactivated by constraining their upper and lower bounds to zero. These reactions will be considered for full deletion in future model versions.The upper and lower bounds of all exchange reactions are set to +/-1000, respectively. As a result, the model is by default completely "open", allowing free exchange of all metabolites.
I hereby confirm that I have:
develas a target branch