From 7d5590649b370126d3f5c99e7e821ea4f800061a Mon Sep 17 00:00:00 2001 From: Jonathan Robinson Date: Mon, 10 Oct 2022 18:11:22 +0200 Subject: [PATCH] fix: annotate model after .mat and .yml export, but before .xml export --- code/masterScriptFruitflyGEM.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/masterScriptFruitflyGEM.m b/code/masterScriptFruitflyGEM.m index 971363f..7590ab0 100644 --- a/code/masterScriptFruitflyGEM.m +++ b/code/masterScriptFruitflyGEM.m @@ -44,10 +44,10 @@ exportTsvFile(metAssoc,'../model/metabolites.tsv'); end -fruitflyGEM = annotateGEM(fruitflyGEM,'../model',{'rxn','met'}); % add annotation data to structure -fruitflyGEM.id = regexprep(fruitflyGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O save('../model/Fruitfly-GEM.mat', 'fruitflyGEM'); exportYaml(fruitflyGEM, '../model/Fruitfly-GEM.yml'); +fruitflyGEM = annotateGEM(fruitflyGEM,'../model',{'rxn','met'}); % add annotation data to structure +fruitflyGEM.id = regexprep(fruitflyGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O fruitflyGEM.genes = strcat('G_',fruitflyGEM.genes); exportModel(fruitflyGEM, '../model/Fruitfly-GEM.xml');