Question about sampleCbModel()

146 views
Skip to first unread message

shuyong

unread,
Apr 24, 2018, 2:22:50 PM4/24/18
to COBRA Toolbox
Hi

I got errors when I run 

"[modelSampling, samples] = sampleCbModel(model_GIMME,[], [], options)"
Could anyone tell me what the problem is? 
Thank you.

The errors are:

Checking for width 0 facets...
Currently (P.A, P.b) are in 3898 dimensions
Checking for width 0 facets...
Found 3438 degenerate reactions, adding them to the equality subspace.

Warning: Rank deficient, rank = 3879, tol =  3.298208e-09. 
>In preprocess (line 169)
  In chrrSampler (line 110)
  In sampleCbModel (line 162)
 
Now in 19 dimensions after restricting
Removed 412 zero rows
Preconditioning A with gmscale
Rounding...

Error using mve_chkdata (line 26)
x0 is not interior

Error in mve_run_cobra (line 31)
    mve_chkdata(A,b,x0);

Error in preprocess (line 220)
        [T_shift, Tmve,converged] = mve_run_cobra(P.A,P.b, x0,1e-8);

Error in chrrSampler (line 110)
    [roundedPolytope] = preprocess(P,options);

Error in sampleCbModel (line 162)
        [samples, modelSampling] = chrrSampler(model, nStepsPerPoint, nPointsReturned, toRound,
        modelSampling, useFastFVA,optPercentage);
 
IdleTimeout has been reached.
Parallel pool using the 'local' profile is shutting down.

Thomas Pfau

unread,
Apr 26, 2018, 1:23:35 AM4/26/18
to cobra-...@googlegroups.com

Hi,

Could you provide us with the model you are using for this in order to reproduce the error?

Best

Thomas


On 2018-04-24 20:22, shuyong wrote:

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/11LBRhdDI-MPStAG-odOph6ANog7f_4EHWv-ub-CtehXqwCWP2E2bUP31MteDhKmpWRDpzgyNuj4xknlIn7BPFtWwiYoWtmhVF7bfp2ZwB8dJ9gKJaj3I_OCa3Imv1daxEYlYCcmF7QPek3Ax2zxN7CFobhNI1eHdSyS_yADScwEG2DRjqzQrfdKZlV2rbatZoRiDkQP4TZ8wGq8AT3wc8F4rGM7LJqC03bB7QqBWidcL6BVm-1CiAeIG9S9ETdckOtlu1xDhy4_f2QKrZ7oEcEI3rH04h72lewaOwMTX7TbegJaohXBMxyPXwVgdc-wwkI0nXvbTjARQPaSNqbbTY6zskksqqnbeyMxcpWbPD3vbrwBJqDahlIJo4_1Lfcxa/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

shuyong

unread,
Apr 26, 2018, 11:57:03 AM4/26/18
to COBRA Toolbox
model_GIMME_immuneCold_and_Hot.mat

Thomas Pfau

unread,
Apr 27, 2018, 1:17:32 AM4/27/18
to cobra-...@googlegroups.com

Hi Shuyong,

One likely reason for your problem is that your model has unbounded reactions (i.e. ub/lb = inf/-inf).

That makes sampling difficult, and often enough impossible, as there is no range in which to place the values.
You could try to set the bounds to some large value (1000/-1000 is often used in FBA, but you can opt for something higher)

Give it a try

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.

shuyong

unread,
Apr 27, 2018, 12:29:17 PM4/27/18
to COBRA Toolbox
Hi Thomas,

Thanks very much for the help! I will get it a try.
Wish you a good day.

Best regards,
Shuyong
Reply all
Reply to author
Forward
0 new messages