changeset 21:f6afd1efb86b draft default tip

Uploaded
author dereeper
date Thu, 27 Feb 2025 17:57:52 +0000
parents e23149f1f55c
children
files generateConfig.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/generateConfig.pl	Fri Jan 31 13:57:57 2025 +0000
+++ b/generateConfig.pl	Thu Feb 27 17:57:52 2025 +0000
@@ -48,11 +48,11 @@
 	}
 	close(LS);
 
-	open(LS,"ls *fasta |");
+	open(LS,"ls *fasta.gz |");
         while(my $line = <LS>){
                 chomp($line);
                 my $concat = "$zip.genomeszip/".$line;
-                if ($line =~/(.*)\.fasta/){
+                if ($line =~/(.*)\.fasta\.gz/){
                         my $name = $1;
                         if ($concat =~/\w+/){
 				$data{"input_genomes"}{"$name"}{"fasta"} = "$concat";