[Bio] / FigKernelScripts / pg_get_models.pl Repository:
ViewVC logotype

View of /FigKernelScripts/pg_get_models.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (as text) (annotate)
Thu Mar 21 20:20:48 2013 UTC (6 years, 8 months ago) by overbeek
Branch: MAIN
CVS Tags: rast_rel_2014_0729, rast_rel_2014_0912, HEAD
add gapfilling

use strict;
use Data::Dumper;
use Getopt::Long;
use SeedEnv;
use JSON::XS;

my $usage = "usage: pg_get_models -d Data\n";
my $dataD;
my $rc  = GetOptions('d=s' => \$dataD,);

if ((! $rc) || (! -d $dataD)) { print STDERR $usage; exit }

foreach $_ (`cat $dataD/MODEL-ID`)
{
        if ($_ =~ /^(\S+)\t(\S+)/) {
            my($genome,$mid) = ($1,$2);
            my $cmd = "kbfba-getmodels $mid KBworkspace -p > $dataD/Models/gapfilled.$mid.json";
            system($cmd);
        }
}

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3