-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map mets/rxns in the model to have MNX IDs #167
Conversation
Upload the function mapIDsViaMNXref.m and GetMNXID.m which are used for getting the MNX IDs for mapping the KEGGid and CHEBIID to MetaNetX ID. A reference file as MNX.mat was also uploaded, and two mapping lists from yeast7.6MNXmodel also uploaded to the database file.
Run the code: model = loadYeastModel model = GetMNXID(model,'mets',2) to get the met annotation for mets. 2 stands for also include the yeast7.6 MNX model information.
Run the code: model = loadYeastModel model = GetMNXID(model,'rxns',2) to get the met annotation for rxns. 2 stands for also include the yeast7.6 MNX model information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @feiranl please see my comments in my review for complying with the standard of the repo and making some sections simpler
comply with repo format rewrite the load MNXref data structure part add more annotation to the function remove conflicting part
move these two functions
fix a bug in function
fix a bug for windows
* corrected matching of slash character in the toolbox path * fixed for loops in the level=1 case * proper indentation of functions * switched RAVEN to master (after 2.0.4 release)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a couple fixes, including fixing the for loops in the level=1 case. @feiranl note that after the new release of RAVEN you can switch back your branch to master
for any new PRs and it should work fine
Main improvements in this PR:
Adresses issue #154
Yeast7.6MNXRxnMappingList.tsv
andYeast7.6MNXMetMappingList.tsv
GetMNXID.m
.mapIDsViaMNXref.m
, which would load MNX database file from RAVEN toolboxI hereby confirm that I have:
devel
as a target branch (top left drop-down menu)