From d83201fd2fea2a7f9f36cf36e9b1b9b431a980ae Mon Sep 17 00:00:00 2001 From: alain viari Date: Sat, 14 Nov 2015 15:16:16 +0100 Subject: [PATCH] minor bug in chlorodb Former-commit-id: 7017655ac86e7b7837c7b581bf8a1abb86c08b30 Former-commit-id: dcedd4e32e3c7ce302eed94abd2b975a4506df97 --- detectors/cds/tools/chlorodb/go_chlorodb.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/detectors/cds/tools/chlorodb/go_chlorodb.sh b/detectors/cds/tools/chlorodb/go_chlorodb.sh index fafc04a..49e73d3 100755 --- a/detectors/cds/tools/chlorodb/go_chlorodb.sh +++ b/detectors/cds/tools/chlorodb/go_chlorodb.sh @@ -36,7 +36,7 @@ cd $DB_BASE/info if (! -e $DB_BASE/parameters.sh) then Notify "no $DB_BASE/parameters.sh found : creating one for you" - @ n = `find $DB_BASE/download -depth 1 -type f -print | wc -l` + @ n = `find $DB_BASE/download -maxdepth 1 -type f -print | wc -l` @ cor_cutoff = $n / 2 @ atg_cutoff = $n / 10 @ dbs_cutoff = $n / 4 @@ -85,7 +85,7 @@ source $DB_BASE/parameters.sh # temporarily uncompress # -set ff = `find $DB_BASE/download -depth 1 -name \*.gz -print` +set ff = `find $DB_BASE/download -maxdepth 1 -name \*.gz -print` if ($#ff != 0) then Notify "uncompressing $#ff entries" @@ -98,7 +98,7 @@ endif # convert gbk/embl to fasta # -set ff = `find $DB_BASE/download -depth 1 \( -name \*.gbk -or -name \*.embl \) -print` +set ff = `find $DB_BASE/download -maxdepth 1 \( -name \*.gbk -or -name \*.embl \) -print` Notify "convert $#ff gbk/embl entries to fasta" @@ -241,7 +241,7 @@ endif # recompress entries # -set ff = `find $DB_BASE/download -depth 1 -type f -print` +set ff = `find $DB_BASE/download -maxdepth 1 -type f -print` if ($#ff != 0) then Notify "recompressing $#ff entries" @@ -252,7 +252,7 @@ endif # compress fasta -set ff = `find $DB_BASE/fasta -depth 1 -name \*.fst -print` +set ff = `find $DB_BASE/fasta -maxdepth 1 -name \*.fst -print` if ($#ff != 0) then Notify "compressing $#ff fasta entries"