From e76f4ac8db004373372e27c6a9c83f254e8afee0 Mon Sep 17 00:00:00 2001 From: Jonathan Robinson Date: Mon, 10 Oct 2022 18:18:07 +0200 Subject: [PATCH] fix: annotate model after .mat and .yml export, but before .xml export --- code/masterScriptWormGEM.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/masterScriptWormGEM.m b/code/masterScriptWormGEM.m index 209c637..5d711a7 100644 --- a/code/masterScriptWormGEM.m +++ b/code/masterScriptWormGEM.m @@ -43,9 +43,9 @@ exportTsvFile(metAssoc,'../model/metabolites.tsv'); end -wormGEM = annotateGEM(wormGEM,'../model',{'rxn','met'}); % add annotation data to structure -wormGEM.id = regexprep(wormGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O save('../model/Worm-GEM.mat', 'wormGEM'); exportYaml(wormGEM, '../model/Worm-GEM.yml'); +wormGEM = annotateGEM(wormGEM,'../model',{'rxn','met'}); % add annotation data to structure +wormGEM.id = regexprep(wormGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O exportModel(wormGEM, '../model/Worm-GEM.xml');