-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
featureA new function or new functionality for an existing functionA new function or new functionality for an existing function
Description
RAVEN should support writing a cobrapy-compatible yaml format, as this format is very concise.
- make
writeYamlfunction that writes a text file, and parses through the model structure. - remove old Yaml-export functionality
- modify
exportForGitto support new writeYaml function - confirm that output from this function is identical to cobrapy-yaml (except for RAVEN-unique fields)
A few considerations:
- Use the correct format. This example is old, rather use this example of the yeast consensus network.
- Do not reformat any ids to replace non-standard characters. This is done when writing SBML, as SBML doesn't support certain characters. But the YAML file should represent the model as it is in MATLAB.
- Include as many annotations as possible:
For each metabolite, include:
metsmetNamesmetCompsinchismetFormulasmetMiriams(any)metChargesunconstrainedrxnFrom(?)
For each reaction, include:
rxnsrxnNamesrxnComps- metabolites and their stoichiometry
grRulessubSystemseccodesrxnMiriams(any)rxnNotesrxnConfidenceScores
For each compartment, include:
compscompNamescompOutsidecompMiriams
For each gene, include:
genesgeneCompsgeneMiriamsgeneShortNames
But of course only write those fields if they are present in the model.
Metadata
Metadata
Assignees
Labels
featureA new function or new functionality for an existing functionA new function or new functionality for an existing function