Error in getModelFromHomology function #533
Labels
bug
Bug that needs fixing.
fixed in develop
This issue is fixed and pushed to develop branch. Will be closed when fix appears in master branch.
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:
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
The text was updated successfully, but these errors were encountered: