Skip to content
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

Feat/new formats #88

Merged
merged 8 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ComplementaryScripts/saveYeastModel.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% saveYeastModel(model)
% Saves model as a .xml and .txt file. Also updates complementary files
% (boundaryMets.txt and dependencies.txt).
% Saves model as a .xml, .txt and .yml file. Also updates complementary
% files (boundaryMets.txt and dependencies.txt).
%
% Benjam�n J. S�nchez
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand All @@ -17,6 +17,7 @@ function saveYeastModel(model)
%Save changes to current model:
writeCbModel(model,'sbml','../ModelFiles/xml/yeastGEM.xml');
writeCbModel(model,'text','../ModelFiles/txt/yeastGEM.txt');
writeYaml(model,'../ModelFiles/yml/yeastGEM.yml');

%Detect boundary metabolites and save them in a .txt file:
fid = fopen('boundaryMets.txt','wt');
Expand All @@ -29,7 +30,7 @@ function saveYeastModel(model)
fclose(fid);

%Retrieve RAVEN version:
RAVENver = getVersion('checkInstallation.m','version.txt');
RAVENver = getVersion('ravenCobraWrapper.m','version.txt');

%Retrieve latest COBRA commit:
COBRApath = which('initCobraToolbox.m');
Expand Down
Loading