Skip to content

Commit

Permalink
fix: add annotation info before exporting to xml, for fixing bug #13
Browse files Browse the repository at this point in the history
  • Loading branch information
haowang-bioinfo committed Apr 2, 2022
1 parent ba21fe5 commit 3fa4b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/masterScriptMouseGEM.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
exportTsvFile(metAssoc,'../model/metabolites.tsv');
end

mouseGEM = annotateGEM(mouseGEM,'../model',{'rxn','met'}); % add annotation data to structure
mouseGEM.id = regexprep(mouseGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O
save('../model/Mouse-GEM.mat', 'mouseGEM');
exportYaml(mouseGEM, '../model/Mouse-GEM.yml');
exportModel(mouseGEM, '../model/Mouse-GEM.xml');
Expand Down

0 comments on commit 3fa4b07

Please sign in to comment.