]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/list_genomes
refactoring of assemble_pairs
[biopieces.git] / bp_bin / list_genomes
index f5e6d4d8e4ec1f27675127829e28af25a5ed97b6..accaffe9ca1e4953d8e3e57caa17a54225aa172f 100755 (executable)
@@ -28,6 +28,7 @@
 
 use warnings;
 use strict;
+use Term::ANSIColor;
 use Maasha::Common;
 use Maasha::Biopieces;
 
@@ -71,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" );
         }
     }