Minor typos fixes
authorTim Reddy Tim <treddy@hudsonalpha.org>
Fri, 29 Aug 2008 18:27:42 +0000 (18:27 +0000)
committerTim Reddy Tim <treddy@hudsonalpha.org>
Fri, 29 Aug 2008 18:27:42 +0000 (18:27 +0000)
htswanalysis/scripts/SummarizeProject2.pm
htswanalysis/src/qPCR.cpp

index 546dd45af2e5a1aece1f14d38ad0b49d1b3fd8e7..ead12c8c184b90705e883d531a0a458cfd6df323 100755 (executable)
@@ -105,12 +105,11 @@ for my $i (0..scalar(@{$xml->{CompareLibraries}})-1) {
   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"; }
   }
index 1750b56ffdbd26d790522a746f8891ad47bda648..a0ec4c8e4a36c706612034e040341a6fc1dfa124 100755 (executable)
 
 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 {