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