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