Permalink
Browse files

Check for .dbtype in blastpgp.sh #160

  • Loading branch information...
martin-steinegger committed Feb 7, 2019
1 parent 0efc279 commit 94bedc7ddf59171f65e04f84d3580707470e45f6
Showing with 2 additions and 2 deletions.
  1. +2 −2 data/blastpgp.sh
@@ -27,7 +27,7 @@ STEP=0
[ -z "$NUM_IT" ] && NUM_IT=3;
while [ $STEP -lt $NUM_IT ]; do
# call prefilter module
if notExists "$TMP_PATH/pref_$STEP"; then
if notExists "$TMP_PATH/pref_$STEP.dbtype"; then
PARAM="PREFILTER_PAR_$STEP"
eval TMP="\$$PARAM"
# shellcheck disable=SC2086
@@ -49,7 +49,7 @@ while [ $STEP -lt $NUM_IT ]; do
fi

# call alignment module
if notExists "$TMP_PATH/aln_$STEP"; then
if notExists "$TMP_PATH/aln_$STEP.dbtype"; then
PARAM="ALIGNMENT_PAR_$STEP"
eval TMP="\$$PARAM"
STEPONE=$((STEP+1))

0 comments on commit 94bedc7

Please sign in to comment.