opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
251 stars 316 forks source link

findBlockedReaction #1889

Closed helenaherand closed 2 years ago

helenaherand commented 2 years ago

I am trying to determine those reactions which cannot carry flux in the given simulation condition with findBlockedReaction(model)

model = readCbModel('Human-GEM.mat') findBlockedReaction(model)

but there seems to be something wrong with the SWITCH expression. Why is there an issue?

SWITCH expression must be a scalar or a character vector.

Error in solveCobraLP (line 206) switch solver

Error in fluxVariability (line 209) tempSolution = solveCobraLP(LPproblem, solverVarargin.LP{:});

Error in findBlockedReaction (line 28) [minMax(:, 1), minMax(:, 2)] = fluxVariability(model, 0);

rmtfleming commented 2 years ago

An alternative: https://github.com/opencobra/COBRA.tutorials/tree/master/reconstruction/recon2FBAmodel

On Mon, 29 Nov 2021 at 13:16, helenaherand @.***> wrote:

I am trying to determine those reactions which cannot carry flux in the given simulation condition with findBlockedReaction(model)

model = readCbModel('Human-GEM.mat') findBlockedReaction(model)

but there seems to be something wrong with the SWITCH expression. Why is there an issue?

SWITCH expression must be a scalar or a character vector.

Error in solveCobraLP (line 206) switch solver

Error in fluxVariability (line 209) tempSolution = solveCobraLP(LPproblem, solverVarargin.LP{:});

Error in findBlockedReaction (line 28) [minMax(:, 1), minMax(:, 2)] = fluxVariability(model, 0);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOQ6FXFLYH3YCGQDOI3UON4LNANCNFSM5I7DJYFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

Mr. Ronan MT Fleming B.V.M.S. Dip. Math. Ph.D.

Associate Professor, School of Medicine, National University of Ireland, Galway. & Assistant Professor, Division of Systems Biomedicine and Pharmacology, Leiden Academic Centre for Drug Research, Faculty of Science, Leiden University. https://www.universiteitleiden.nl/en/staffmembers/ronan-fleming & H2020 Project Coordinator, Systems Medicine of Mitochondrial Parkinson’s Disease, http://sysmedpd.eu

Peer-reviewed publications: https://goo.gl/FZPG23 Mobile: +353 852 109 806 Skype: ronan.fleming

(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)