RAVEN icon indicating copy to clipboard operation
RAVEN copied to clipboard

Error in getModelFromHomology function

Open SANDRA-ui-rgp opened this issue 3 months ago • 3 comments

Description of the issue:

An existing function, "getModelFromHomology," is not working. I am attempting to create a draft metabolic model of Plasmodium vivax. I have conducted BLAST searches on the sequences of P. berghei and P. vivax, which I have saved as "blast." "ipbeliver" is my reference model, with 'pberg' and 'pvp01' serving as the reference model and target model IDs, respectively.

Code:

modelpviv = getModelFromHomology({ipbeliver}, blast, 'pvp01',{'pberg'})

Error: Standardizing grRules of template model with ID "pberg" ... done The logical indices contain a true value outside of the array bounds.

Error in deleteUnusedGenes (line 45) reducedModel.geneFrom=reducedModel.geneFrom(toKeep);

Error in getModelFromHomology (line 541) draftModel=deleteUnusedGenes(draftModel,0);

System information

Installing from location C:\Users\Swapnam\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\RAVEN Toolbox Checking RAVEN release 2.8.6 Latest RAVEN release available 2.8.7 Instructions on how to upgrade here Checking MATLAB release 2023b Checking system architecture win64 Set RAVEN in MATLAB path Pass Save MATLAB path Pass

SANDRA-ui-rgp avatar Mar 12 '24 16:03 SANDRA-ui-rgp