Closed Rachita-Kumar closed 2 days ago
It appears that some reactions from KEGG are not annotated to any pathways, which results in empty subSystems with incorrect formatting ([]
instead of {{''}}
). checkModelStruct
throws this as an error, while exportModel
throws a warning but continues writing the SBML file anyway (note the difference between error and warning, the latter not being critical). Importing the SBML model solves this problem, as the subSystems
field is constructed anew. Another solution is the following workaround:
emptySubSystem = cellfun(@isempty, model.subSystems);
model.subSystems(emptySubSystem) = {{''}};
The getKEGGModelForOrganism
function will be modified to avoid this issue in future releases.
Thank you for your response, I really appreciate it. I was wondering if you could also help me resolve the warning regarding the objective, I followed your suggestion mentioned in a previous discussion https://github.com/SysBioChalmers/RAVEN/issues/423#issuecomment-1156125961 however I received the following warning
model=setParam(model,'obj','Growth',1)
WARNING: Reaction Growth is not present in the reaction list
I was trying to locate the biomass reaction to set as the objective, however could not identify it.
Further, I get the following error when I try to use a different database and was wondering if you could help me resolve it
model=getKEGGModelForOrganism('sce','sce.fa','euk100_kegg94','output',false,false,false,false,10^-30,0.8,0.3,-1);
*** The model reconstruction from KEGG based on the protein homology search against KEGG Orthology specific HMMs ***
Error using getKEGGModelForOrganism
Pre-trained HMMs set is not recognised. If you want download RAVEN provided sets, it should match any of the following: euk90_kegg105 or prok90_kegg105
I am following tutorial 5 as described here
Thank you for your help and suggestions, Rachita
With setParam
you can set an existing reaction as objective function, it seems like your model does not have a reaction that has the reaction identifier 'Growth' (see model.rxns
). Indeed, models generated from KEGG do not have a biomass reaction, this should be manually defined. For sake of being able to import the model in other software (the problem that was raised in #426), you can take any reaction as objective function (for instance the first one), but be aware that you should likely change it before doing any FBA simulations, otherwise the results likely are not very informative.
If you want to define a biomass equation, I suggest you look other model publications to see how they did this; refer to the RAVEN 1 paper; or explore tools like BOFdat.
Regarding your second question, the error message clarifies that the HMM set should be euk90_kegg105
or prok90_kegg105
. You used euk100_kegg94
, but this was the version used before RAVEN 2.6.0.
Description of the issue:
Hello, I am trying to reconstruct genome-scale metabolic models using RAVEN. I tried the following approaches:
In both methods I tried to reconstruct the model for Saccharomyces cerevisiae (sce). However, I encountered issues when I tried to export the model and further when I checked the model structure I received the following error:
The error I receive when I export the model using
exportModel
is as follows:I would really appreciate your help with resolving this issue. Thanks in advance, Rachita
Reproducing this issue:
System information
I hereby confirm that I have: