Hello,
I hope this email finds you well.
I am currently working on adding a metabolite to a MATLAB model using the addMetabolite function. However, I have encountered an issue where the charge value I input is not being reflected in the model and is instead displaying as 'NaN'. Here are the details of the code I am using:
I obtained the charge value from the BioCyc database for the metabolite.
After running this code, when I inspect the model, the charge for the metabolite appears as 'NaN'. I am unsure of the reason for this discrepancy and would appreciate any guidance or suggestions you might have to resolve this issue.
Thank you for your time and assistance. I look forward to your response.
--
---
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-toolbox/80cfbd24-502f-442a-b278-42250166a6e9n%40googlegroups.com.
Dear Farid,
Thank you for your previous response. I appreciate your help.
I am encountering an issue with the "addMetabolite" function in the COBRA toolbox. While the function is working properly and I can see the added metabolites at the end of the list, I am facing a problem with the charge values. Specifically, when I assign a charge value (e.g., -1), it displays as NaN in the output model.
Below is my complete code where I am adding a new pathway. Although the reactions are balanced, I do not see the flux in the newly added pathway. I have attached the model for your reference.
You received this message because you are subscribed to a topic in the Google Groups "COBRA Toolbox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cobra-toolbox/EYdQNaO4WiU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cobra-toolbo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-toolbox/CACVX4vTd%2BrSGcG52cWAgwd6VNG%2BZjk5zZn7Yy_YKqHHdFMQivg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-toolbox/CAAmRVdHDaezGB_Ft9mM06cRKVuYnUK_wwbk%3Dg88FaneXrTjDcw%40mail.gmail.com.
Hello Farid,
Thank you so much for your suggestions. They were incredibly helpful, and I was able to fix the problem in the code.
I appreciate your support!
To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-toolbox/CACVX4vTOxuOMU9Obhi1cc1FAzLo24a0mvfWmTbvGt5NwZc-SrQ%40mail.gmail.com.