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

View of /Sprout/SapServerTest4.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (download) (as text) (annotate)
Mon Oct 3 20:34:51 2011 UTC (7 years, 11 months ago) by parrello
Branch: MAIN
CVS Tags: mgrast_dev_12152011, mgrast_release_3_1_2, mgrast_dev_10262011
Changes since 1.3: +4 -6 lines
Fix to ERDB documentation page.

### Test program for Ross's project.

use strict;
use SeedEnv;
use Tracer;
use Sapling;
use ALITREserver;

    my ($sap, $sapObject, $altObject);
    if ($ENV{SAS_SERVER} eq 'localhost') {
        $sap = Sapling->new(dbName => 'pubseed_sapling_07', dbhost => 'localhost', port => 3399);
#        $sap = Sapling->new(dbName => 'pseed_sapling_07', dbhost => 'localhost', port => 3333);
        $sapObject = SAPserver->new(sapDB => $sap, url => 'localhost');
#        $altObject = ALITREserver->new(sapDB => $sap, url => 'localhost');
        $FIG_Config::orgCache = "P:/vol/public-pseed/SharedData/OrgCache";
    } else {
        $sapObject = SAPserver->new();
#        $altObject = ALITREserver->new();
    }
    my $genomes = $sapObject->all_genomes();
    print scalar(keys %$genomes) . " genomes found.\n";

1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3