Initialisation of conserved moiety tutorials
Conserved moiety decomposition consists of several sequential live scripts
- driver_initConservedMoietyPaths.mlx (this script)
- tutorial_buildAtomTransitionMultigraph.mlx
- tutorial_identifyConservedMoieties.mlx
- tutorial_analyseConservedMoieties.mlx
- tutorial_visualiseConservedMoieties.mlx
Decide whether to recompute everything from scratch or try to load cached intermediate results
Define the model that will be used for conserved moiety decomposition
if ~exist('modelName','var')
%modelName = 'centralMetabolism_fastCore';
%modelName = 'centralMetabolism';
%modelName = 'iDopaNeuroC';
Setup the paths
projectDir = strrep(which('tutorial_identifyConservedMoieties'),'/tutorial_identifyConservedMoieties.mlx','')
%projectDir = ['~' filesep 'work' filesep 'sbgCloud' filesep 'programExperimental' filesep 'projects' filesep 'tracerBased']
%projectDir = '~/work/sbgCloud/programReconstruction/projects/exoMetDN/results/codeResults/iDN1/iDopaNeuro1';
projectDir = ['~' filesep 'work' filesep 'sbgCloud' filesep 'programExperimental' filesep 'projects' filesep 'tracerBased']
projectDir = ['~' filesep 'work' filesep 'sbgCloud' filesep 'programExperimental' filesep 'projects' filesep 'tracerBased']
case {'centralMetabolism','centralMetabolism_thermoKernel','centralMetabolism_fastCore'}
projectDir = ['~' filesep 'work' filesep 'sbgCloud' filesep 'programExperimental' filesep 'projects' filesep 'tracerBased']
end
projectDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties'
dataDir = [projectDir filesep 'data']
dataDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties/data'
addpath(genpath(dataDir));
softwareDir = [projectDir filesep 'software']
softwareDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties/software'
visDataDir = [projectDir filesep 'data' filesep 'visualisation']
visDataDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties/data/visualisation'
resultsDir = [projectDir filesep 'results' filesep modelName]
resultsDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties/results/DAS'
A collection of pre-existing chemical table files in vmh namespace, including atom mapped reactions are here: https://github.com/opencobra/ctf, otherwise use a local directory. %ctfRxnfileDir ='~/work/sbgCloud/code/fork-ctf/rxns/atomMapped'
ctfRxnfileDir = [projectDir filesep 'data' filesep 'mini-ctf' filesep 'rxns' filesep 'atomMapped']
%ctfRxnfileDir = [projectDir filesep 'data' filesep 'mini-ctf2' filesep 'rxns' filesep 'atomMapped']
case {'iDopaNeuro1','iDopaNeuroC','centralMetabolism','centralMetabolism_thermoKernel','centralMetabolism_fastCore'}
%rxnfileDir = [resultsDir 'fluxCobra' filesep 'dataBase' filesep 'rxn', filesep 'atomMapped']
%rxnfileDir = '~/work/sbgCloud/programReconstruction/projects/exoMetDN/papers/v20/SM/SM5'; %%% temporal
%rxnfileDir ='~/work/sbgCloud/data/rxnDatabase/explicitH/atomMapped/RDT/rxnFiles'
%system('git clone git@github.com:opencobra/ctf.git ~/work/sbgCloud/code/fork-ctf/rxns/atomMapped')
ctfRxnfileDir ='~/work/sbgCloud/code/fork-ctf/rxns/atomMapped'
end
ctfRxnfileDir = '/home/rfleming/work/sbgCloud/code/fork-COBRA.tutorials/analysis/conservedMoieties/data/mini-ctf/rxns/atomMapped'
if ~exist(resultsDir,'dir')