opencobra / cobratoolbox

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

Warning in prepareFastgapfill #2055

Open pengqiannan opened 1 year ago

pengqiannan commented 1 year ago

*Warning in the function 'prepareFastGapFill', it throws out the following warning: Warning: Reaction rxn00001has more than one replicate Error in checkDuplicateRxn (line 95) Error in mergeTwoModels (line 158) Error in generateSUXComp (line 82) Error in prepareFastGapFill (line 86)

I also tried to run 'runGapFill_example.m' with the example model, but the same waring was also throws out.

I hereby confirm that I have:

(Note: You may replace [ ] with [X] to check the box)

rmtfleming commented 1 year ago

model.rxns should not have any duplicates. It seems like a problem with your model. How many model.rxn{i} are rxn00001 ?

On Sun, 30 Oct 2022 at 08:39, nystati @.***> wrote:

*Warning in the function 'prepareFastGapFill', it throws out the following warning: Warning: Reaction rxn00001has more than one replicate Error in checkDuplicateRxn (line 95) Error in mergeTwoModels (line 158) Error in generateSUXComp (line 82) Error in prepareFastGapFill (line 86)

I also tried to run 'runGapFill_example.m' with the example model, but the same waring was also throws out.

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

(Note: You may replace [ ] with [X] to check the box)

— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/2055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOXYZPBADM73A7QNO3TWFYX3BANCNFSM6AAAAAARSFWFEA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

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

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.)

pengqiannan commented 1 year ago

Thanks for your response, But in my model, there were no duplicate rxns, while these rxns, such as rxn00001, were in my database (myreaction.lst), but they are not duplicate reactions in the database. After run 'prepareFastgapfill', I can also obtain 'consistModel', 'consistMatricesSUX' and 'BlockedRxns'. But there were no exchange and transport reactions in 'consistMatricesSUX'.