[Bio] / DomReg / scripts / add_RegulatorAction_FIGRegulons.pl Repository:
ViewVC logotype

View of /DomReg/scripts/add_RegulatorAction_FIGRegulons.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (as text) (annotate)
Fri Apr 20 20:38:16 2007 UTC (12 years, 10 months ago) by mkubal
Branch: MAIN
CVS Tags: HEAD
v1

#!/usr/bin/env /home/bartels/FIGdisk/env/cee/bin/perl

#use strict;
#use warnings;

use lib '/home/mkubal/PPO/';
use lib '/home/mkubal/DomReg/';

use DBMaster;

my $dbmaster = DBMaster->new('FIGRegulons');

open(IN,"/home/mkubal/DomReg/data/RegulatorAction.txt");
while($_ = <IN>){
    @parts = split("\t",$_);
    $name = $parts[0];
    $description = $parts[1];
    print "$name\t$description\n";
#    $ra_objs =  $dbmaster->RegulatorAction->get_objects( { 'name' => $family } );
#    if(!scalar(@$ra_objs)){
#	$ra_obj = $dbmaster->RegulatorAction->create( { 'name'    => $name,
#							'description' => $description 
#							} );
#    }
}

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3