Hi Michel.
This model is thoroughly broken, or rather, the mat struct is
really badly curated.
The rules field in this model is simply wrong, and needs to be
refilled from the grRules, as it references positions which are
outside the model.genes field.
you can use:
model = generateRules(model)
on it to try and restore the rules field, but I can't tell if the grRules field is correct on this model neither, so this is only something to correct the structural error, not sure if it actually corrects the model itself....
Best
Thomas
Unsubscribe
It appears that you have subscribed to commercial messages from this sender. To stop receiving such messages from this sender, please unsubscribe
--
---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
For more options, visit http://secure-web.cisco.com/1F2RrDPGmqkC9aWiKZ39lk7rtMJsP7P2oog809O4heTSCOdwnbOb2zY1UaGVyIgZmDlayG_apj5ZeKygnThYyHbZzhWhY7vWNR0ScubrEFd9YPIee3s72gIgkMTBWZCzKp4qzrivI38BUpwuA0B0xnrVWhvTjlfMzqSh8_OG2SaQmI52bbvfOoSpv5N4Cicje8-I6dPizgpyrJq38_q27zgNfeZ19A0EyXpngn412cJc5_Ea5cnXUP14ZJKEyTKkStwmJcn6aeeAp0FTXWi1i8c4lmIbnUVXcwh8JRagZ8LUFYva01pQsHf3yvVWUKoEodj57do0SKSqRRp1EDbGKCf4l890ygbTG2f6C69FjPqzQQxrAJQVk42BrSKuKnuIODK82gVzoSOPT0e01e7FM5Z6SyVibOxyJMU3ql7_9Jr0/l34%3Ahttps%3A%2F%2Fgroups.google.com%2Fd%2Foptoute.
-- Université du Luxembourg Faculté des Sciences, de la Technologie et de la Communication Campus Belval, Biotech II 115 6 avenue du Swing L-4367 Belvaux Tel: (+352) 46 66 44 5309 Email: thoma...@uni.lu
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbox+unsubscribe@googlegroups.com.
Hi Michel,
This error is due to the model containing on Integer charges, along with formulas containing non integer compositions. While this is allowed in the COBRA structure, the SBML FBC package does not allow non integer charge values. This has been a point of debate in the past, but it was, in general, agreed that non integer charges don't make a lot of sense, and that it would be preferable to adjust the corresponding coefficients.
The only situations this comes up (under normal conditions), is
when trying to assign Formulas/Charges to "artificial" compounds
such as biomass, or biomass parts (which is exactly what is
happening in this model). Assigning these values is a design
question, but they are definitely inconsistent with SBML
specifications. Personally, I don't see much use in these
charge/formula definitions, as they can directly be derived from
the reactions, and the compounds commonly represent something that
is not existing as a compound but rather as a placeholder to
distribute the biomass formation information (which can help in
model curation).
I have implemented a check for these instances in the writeSBML
function (which will be submitted once github is back up), which
discards these "invalid" values. The fix also removes invalid
metFormulas fields in order to assure that we produce valid SBML
files.
This currently means, that the SBML IO will loose some information, but there is already a suggestion from the FBC package developers that will allow us to retain this type of information.
Best
Thomas
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.