-
I converted a cobra model to RAVEN model and then used that model with GECKO package.
It removed the suffix in the .genes field and when converting to RAVEN it also applied the change to .grRules, but there are repeated genes in .genes (e.g. '10327'; '10327' in rows 31 and 32) and in the some rows of .grRules (e.g. '231 or 10327 or 10327' in row 4974). When doing unique to genes after getting rid of suffixes it changed the gene ids in the .grRules, for e.g. in the same row 4974, the rule is now '259230 or 10351 or 10331':
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
What evidence do you have that e.g. If the versioning is not informative and |
Beta Was this translation helpful? Give feedback.
Right, my suggested workaround does not work as
ravenCobraWrapper
uses therules
field to identify it as a COBRA model. Without this field,ravenCobraWrapper
thinks that it is a RAVEN model that should be converted to COBRA instead of vice versa, as you observed.The long-term fix is implemented here. In essence, it is this change that fixes it: SysBioChalmers/RAVEN@f8b0c44. If you temporarily make this same change in your local
ravenCobraWrapper
, then it should work without needing to delete therules
field.A new RAVEN version with this fix included will probably be released in 1-2 weeks time.