]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/list_genomes
refactoring of assemble_pairs
[biopieces.git] / bp_bin / list_genomes
index 2c8fb1d79e313f8ae928a8fe8672d29d1d4cc50c..accaffe9ca1e4953d8e3e57caa17a54225aa172f 100755 (executable)
@@ -26,7 +26,9 @@
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
+use Term::ANSIColor;
 use Maasha::Common;
 use Maasha::Biopieces;
 
@@ -70,9 +72,9 @@ foreach $genome ( sort keys %hash )
     foreach $format ( sort keys %found )
     {
         if ( exists $hash{ $genome }{ $format } ) {
-            push @row, "yes";
+            push @row, colored( "yes", "green" );
         } else {
-            push @row, "no";
+            push @row, colored( "no", "red" );
         }
     }