From 3ad7f584389e03fee7502b449543a7c5337826f7 Mon Sep 17 00:00:00 2001 From: "Falk Hildebrand (QIB)" Date: Tue, 16 Jan 2024 09:45:39 +0000 Subject: [PATCH] lmbda idx build --- lotus2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotus2 b/lotus2 index d36a697..bffa457 100755 --- a/lotus2 +++ b/lotus2 @@ -5249,7 +5249,7 @@ sub doDBblasting($ $ $) { printL "Rewriting taxonomy DB to Lambda3 > 3.0 version\n", 0; systemL "rm -rf $DB.*;"; } - if ( !-f "$DB.lba" && !-f "$DB.lba.gz" ) { + if ( !-f "$DB.lba.gz" || -s "$DB.lba.gz" < 100 ) { printL "\n\nBuilding LAMBDA index anew for $DB (this only happens the first time you use this ref DB, it may take several hours to build)..\n\n",0; #die($DB.".dna5.fm.sa.val");