kbase/KBaseFBAModeling — pull request #2 by samseaver (2014-07-25 20:02:57+00:00)
Title: Modelreactionreagents

Adding functions for finding modelreactions that contain a specific modelcompound as a reagent.

Tested using this code:

my $modelObj = $FBAImpl->_get_msobject("FBAModel","seaver:PlantRecModels","Evidenced-Arabidopsis-Model");

my $cpd = $modelObj->getObject("modelcompounds","cpd00067_c0");

my $reactions = $modelObj->findModelReactionsWithModelCompound($cpd->id());

print scalar(@$reactions),"\n";