Skip to content

Commit

Permalink
Merge pull request #18 from SysBioChalmers/fix/masterScript
Browse files Browse the repository at this point in the history
Fix: only annotate model before SBML export
  • Loading branch information
haowang-bioinfo authored Oct 10, 2022
2 parents 3fa4b07 + c35bd01 commit 53fac6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/masterScriptMouseGEM.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
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');
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
exportModel(mouseGEM, '../model/Mouse-GEM.xml');

0 comments on commit 53fac6b

Please sign in to comment.