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

Annotation of /FigKernelScripts/export_ACH_resolution_DB.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download) (as text)

1 : overbeek 1.1
2 :     use FIG;
3 :     my $fig = new FIG;
4 :    
5 :     my $rdbH = $self->db_handle;
6 :    
7 :     &FIG::verify_dir("$FIG_Config::data/ACHresolution");
8 :     if (open(DIFFS,">$FIG_Config::data/ACHresolution/diffs")
9 :     {
10 :     my $relational_db_response = $rdbH->SQL("SELECT expertF,ourF,status FROM ACHres_diffs");
11 :     foreach my $tuple (@$relational_db_response)
12 :     {
13 :     print DIFFS join("\t",@$tuple),"\n";
14 :     }
15 :     close(DIFFS);
16 :     }
17 :    
18 :     if (open(COMMENTS,">$FIG_Config::data/ACHresolution/comments")
19 :     {
20 :     my $relational_db_response = $rdbH->SQL("SELECT expertF,ourF,status FROM ACHres_comments");
21 :     foreach my $tuple (@$relational_db_response)
22 :     {
23 :     print COMMENTS join("\t",@$tuple),"\n";
24 :     }
25 :     close(COMMENTS);
26 :     }
27 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3