X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Fresults_to_table;h=24c94004380c993627d9b3819574c340c840b64b;hp=04f2f6df3a01419025bba29390888401e7a80df3;hb=a4b9214b7939fbe990f2373684dfd7aa1f9e77e2;hpb=0486e6434cd182e8b30ba008d98ad3d3f008d2ab diff --git a/bin/results_to_table b/bin/results_to_table index 04f2f6d..24c9400 100755 --- a/bin/results_to_table +++ b/bin/results_to_table @@ -75,12 +75,14 @@ while (<$search_results_fh>) { $databases{total}{total}{count}++; } -our ($keyword,$gct,$hvt,$nct,$t); +our ($keyword,$gct,$hvt,$nct,$t) = ('Keyword','GeneCards','Harvester','NCBI','Total'); format STDOUT = @<<<<<<<<<<<<<<<<<<<<<< & @>>>>>>>>>> & @>>>>>>>>>> & @>>>>>>>>>> & @>>>>>>>>>> \\ $keyword, $gct, $hvt, $nct, $t . -for$keyword (sort keys %terms) { +write; + +for $keyword (sort keys %terms) { ($gct,$hvt,$nct,$t) = map { if (not defined $_) {