-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for export to cobrapy-compatible yaml format #77
Comments
Another consideration. If you look at the example from yeast consensus network, metabolite names are appended with |
@edkerk sounds good! I will write the |
Yups, I'll push devel to it, to ensure latest changes. (done: #80) |
A writeYaml function has been added in branch fix/export_functions: 23bb1f7 @BenjaSanchez a few points:
|
@edkerk RE the first point, this is because I was using a COBRA structure, which does not support RE the second point, that I can also address once we have the improved |
|
Irrespective, pubmed IDs don't need to be prefixed with |
actually now testing with COBRA not even |
Perhaps then also start an issue at Cobra, because they do state that |
Could you give me an example for this in the COBRA toolbox? |
As far as I know the yaml format from RAVEN and cobrapy are not identical.
|
RAVEN should support writing a cobrapy-compatible yaml format, as this format is very concise.
writeYaml
function that writes a text file, and parses through the model structure.exportForGit
to support new writeYaml functionA few considerations:
For each metabolite, include:
mets
metNames
metComps
inchis
metFormulas
metMiriams
(any)metCharges
unconstrained
rxnFrom
(?)For each reaction, include:
rxns
rxnNames
rxnComps
grRules
subSystems
eccodes
rxnMiriams
(any)rxnNotes
rxnConfidenceScores
For each compartment, include:
comps
compNames
compOutside
compMiriams
For each gene, include:
genes
geneComps
geneMiriams
geneShortNames
But of course only write those fields if they are present in the model.
The text was updated successfully, but these errors were encountered: