[Bio] / Babel / bin / create_diffs_for_assertions.pl Repository:
ViewVC logotype

View of /Babel/bin/create_diffs_for_assertions.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (as text) (annotate)
Tue Dec 1 15:22:43 2009 UTC (10 years, 7 months ago) by wilke
Branch: MAIN
CVS Tags: mgrast_dev_08112011, mgrast_dev_08022011, mgrast_dev_03052011, mgrast_dev_05262011, mgrast_dev_04082011, mgrast_dev_12152011, mgrast_dev_06072011, mgrast_dev_10262011, mgrast_dev_02212011, mgrast_release_3_0, mgrast_dev_03252011, mgrast_release_3_0_4, mgrast_release_3_0_2, mgrast_release_3_0_3, mgrast_release_3_0_1, mgrast_dev_03312011, mgrast_release_3_1_2, mgrast_release_3_1_1, mgrast_release_3_1_0, mgrast_dev_04132011, mgrast_dev_04012011, mgrast_dev_04052011, mgrast_dev_02222011
initial babel checkin

use Data::Dumper;
use Carp;
use FIG_Config;
use CGI;

my $cgi = new CGI;

use FIG;
my $fig = new FIG;

my $rdbH = $fig->db_handle;

&FIG::verify_dir("$FIG_Config::data/ACHresolution");

# if (open(ASSERTION,">$FIG_Config::data/ACHresolution/diffs_for_assertions"))
{
    my $relational_db_response = $rdbH->SQL("select t1.md5 , t1.function , t2.function from ACH_Assertion as t1 , ACH_Assertion as t2 where t1.md5=t2.md5 and t1.function!=t2.function group by  t1.function ,t2.function , t1.md5;");
    foreach my $tuple (@$relational_db_response)
    {
	print  join("\t",@$tuple),"\n";
    }
    # close(ASSERTION);
}


sub decode {
    my($x) = @_;

    $x =~ s/\\\\/\\/g;
    $x =~ s/\'\'/\'/g;
    return $x;
}


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3