my $name2 = $xml->{CompareLibraries}->[$i]->{Library}->[1]->{Library};
my $outfile = "../../Tasks/".$task.'/'.$name1."_".$name2.".compare";
$libs{$name1} = 0; $libs{$name2} = 0;
- my $correlation;
+ my $correlation; my $color;
if( !(-e $outfile) ) { $correlation = "In Progress..."; $color = "#FFBBBB"; }
else {
- if(-e $outfile) { $correlation = `cat $outfile | awk '{print \$8}'`; }
- my $color;
- elsif($correlation > 0.9) { $color = "#BBFFBB"; }
+ $correlation = `cat $outfile | awk '{print \$8}'`;
+ if($correlation > 0.9) { $color = "#BBFFBB"; }
elsif($correlation > 0.6) { $color = "#BBBBFF"; }
else { $color = "#FFBBBB"; }
}
using namespace std;
-
-void int_to_chromstr(int chrom, char* chr);
-int chromstr_to_int(string chrom);
-
void split (const string& text, const string& separators, vector<string>& words);
class Read {