[Bio] / Sprout / KbaseTest.pl Repository:
ViewVC logotype

View of /Sprout/KbaseTest.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (as text) (annotate)
Wed Apr 18 19:33:19 2012 UTC (7 years, 4 months ago) by parrello
Branch: MAIN
CVS Tags: rast_rel_2014_0729, mgrast_version_3_2, rast_rel_2014_0912, HEAD
Changes since 1.2: +1 -1 lines
Updated a CDMI use statement.

### Test program for Ross's project.

use strict;
use SeedUtils;
use Bio::KBase::CDMI::CDMI;

    my $kb = CDMI->new(dbhost => 'localhost', port => 3322, DBD => 'C:/Users/Bruce/FIG/FIG/KBaseCDMI/KSaplingDBD.xml');

my $fid_constraint = 'Feature(id) IN (?)';
my $fids = [
          'kb|g.227.peg.1'
        ];
    my @res = $kb->GetAll('Concerns ProteinSequence IsProteinFor Feature IsOwnedBy Genome',
                          $fid_constraint,
                          $fids,
                          'Feature(id) Genome(scientific-name) Feature(function) Feature(sequence-length) Concerns(from-link)'
                          );
print &Dumper(\@res);

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3