Build Atom Transition Multigraph
tutorial_initConservedMoietyPaths
rxnfileDir = '~/work/sbgCloud/code/fork-ctf/rxns/atomMapped'
load([resultsDir modelName '_dATM.mat'])
Load the model and input data
load([dataDir 'models' filesep modelName '.mat'])
Find the flux consistent subset
%% Identify the flux consistent set
paramConsistency.epsilon = 1e-5;
paramConsistency.method = 'fastcc';
[~, fluxConsistentRxnBool] = findFluxConsistentSubset(model, paramConsistency);
%remove any flux inconsistent reactions and the corresponding metabolites
%and coupling constraints if necessary
model = removeRxns(model, model.rxns(~fluxConsistentRxnBool),'metRemoveMethod','exclusive','ctrsRemoveMethod','infeasible');
1.2.1. Atom transition multigraph
Calculate the atom transition multigraph in order to follow the path of all the atoms in the network (this may take some time).
dATM = buildAtomTransitionMultigraph(model, rxnfileDir, options);
Atom mappings found for 910 model reactions.
Generating atom transition network for reactions with atom mappings.
Error using buildAtomTransitionMultigraph (line 237)
Transition 3 in reaction 5 maps between atoms of different elements
save([resultsDir modelName '_dATM.mat'],'dATM')