Skip to content
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

optimizeCbModel returning NaN for solution #2255

Open
3 tasks done
nleroy917 opened this issue Apr 12, 2024 · 0 comments
Open
3 tasks done

optimizeCbModel returning NaN for solution #2255

nleroy917 opened this issue Apr 12, 2024 · 0 comments

Comments

@nleroy917
Copy link

Hello!

I'm having issues running singleGeneDeletion. Speficially, the call to the WT optimizeCbModel returns a solution with NaN, consequently leading to all my growth rate ratios also being NaN. I've believe narrowed it down to line 119 inside singleGeneDeletion.

I've confirmed that changing the line from:

solWT = optimizeCbModel(model,'max','one'); % by default uses the min manhattan distance norm FBA solution.

To:

solWT = optimizeCbModel(model,'max'); % by default uses the min manhattan distance norm FBA solution.

Seems to give something other than NaN, but I don't have the expertise to figure out a.) why this works, and b.) if the solution is still valid.

Any help or insight is appreciated!

I hereby confirm that I have:

  • Tried to solve the issue on my own
  • Retried to run my code with the latest version of The COBRA Toolbox
  • Checked that a similar issue has not already been opened

System specs:

  • latest version of cobra
  • MATLAB2024a
  • macOS Sonoma
  • Using the standard core ecoli model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant