-
Thank you for developing the RAVEN toolbox I have a list of KO identifiers from an already functionally annotated genome (used MicrobeAnnotator). My question is - seeing that this toolbox constructs GEMs from the KEGG databases, would it be possible to directly "feed" it the list of KOs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Interesting idea! There is no straightforward way to do this, but with a little bit of coding you could write a function that can do this. To get started, you first want to generate the global KEGG model, containing all KEGG reactions:
Then you want to extract the KEGG Orthology annotations:
Let's remove all reactions without a KEGG Orthology annotation (from the keggModel and your KOannot list), as you would not have any matching genes for those reactions anyway:
Now comes the part where you need to write a custom function. What you basically want to do is go through the KOannot list and replace the KO numbers with the gene identifiers and convert this into gene associations (in
With some combination of In the end, if you've replaced the KOs with the gene identifiers and formatted this as a |
Beta Was this translation helpful? Give feedback.
Interesting idea! There is no straightforward way to do this, but with a little bit of coding you could write a function that can do this.
To get started, you first want to generate the global KEGG model, containing all KEGG reactions:
keggModel = getModelFromKEGG();
Then you want to extract the KEGG Orthology annotations:
KOannot = extractMiriam(keggModel.rxnMiriams, 'kegg.orthology');
Let's remove all reactions without a KEGG Orthology annotation (from the keggModel and your KOannot list), as you would not have any matching genes for those reactions anyway:
Now comes t…