From 34934fa409e4dec79d708a05c2a744658891d2d1 Mon Sep 17 00:00:00 2001 From: Milot Mirdita Date: Tue, 15 Dec 2020 00:36:23 +0100 Subject: [PATCH] Squashed 'lib/mmseqs/' changes from 457cacabd5..bad16c765a bad16c765a Check correctly for existing of binary tax dump in createtaxdb git-subtree-dir: lib/mmseqs git-subtree-split: bad16c765aac60d84a8fde3548adbb06b34980bd --- data/workflow/createtaxdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/workflow/createtaxdb.sh b/data/workflow/createtaxdb.sh index 4bd16be..c1adce1 100755 --- a/data/workflow/createtaxdb.sh +++ b/data/workflow/createtaxdb.sh @@ -54,7 +54,7 @@ downloadFile() { fail "Could not download $URL to $OUTPUT" } -if notExists "${TAXDBNAME}_names.dmp" || notExists "${TAXDBNAME}_nodes.dmp" || notExists "${TAXDBNAME}_merged.dmp"; then +if { [ "${DBMODE}" = "1" ] && notExists "${TAXDBNAME}_taxonomy"; } || { [ "${DBMODE}" = "0" ] && { notExists "${TAXDBNAME}_names.dmp" || notExists "${TAXDBNAME}_nodes.dmp" || notExists "${TAXDBNAME}_merged.dmp"; }; }; then if [ "$DOWNLOAD_NCBITAXDUMP" -eq "1" ]; then # Download NCBI taxon information if notExists "${TMP_PATH}/ncbi_download.complete"; then