Bug-fixes in sequence repository code and projects code
[htsworkflow.git] / htswanalysis / scripts / SummarizeProject2.pm
index ead12c8c184b90705e883d531a0a458cfd6df323..b509ac32480c326114883337b0d2ad5b501907d5 100755 (executable)
@@ -41,6 +41,7 @@ for my $i (0..scalar(@{$xml->{PeakCalling}})-1) {
     $desc{Summary} = `$root_dir/scripts/SummarizeMACS.pm $peakfile $negpeakfile`;
     $desc{outfile} = "$caller_dir/".$name."_peaks.bed";
     $desc{fasta} = "$caller_dir/".$name."_peaks.fasta";
+    $desc{primer_design} = "$caller_dir/ValidationPrimers.html";
   }
 
   if($genome eq "scer") { $genome = "sacCer1"; }
@@ -196,6 +197,7 @@ for(@peak_calling) {
   print "<TR BGCOLOR=$color><TD><B>$hash{Name}</B></TD>";
   print "<TD>$hash{Caller}</TD><TD>$hash{Summary}</TD>\n";
   print "<TD><A HREF=$hash{outfile}>BED file</A><BR><A HREF=http://genome.ucsc.edu/cgi-bin/hgTracks?db=$hash{Genome}&hgt.customText=http://171.65.76.194/Tasks/$hash{Task}/$hash{outfile}>View in Genome Browser</A></TD><TD><A HREF=$hash{fasta}>FASTA</A></TD>\n";
+  if(exists($hash{primer_design})) { print "<TD><A HREF=$hash{primer_design}>Validation Primers</A></TD>\n"; }
   print "</TR>\n";
 }
 }