Skip to content

Commit

Permalink
Implements #49
Browse files Browse the repository at this point in the history
  • Loading branch information
lentendu committed Sep 19, 2018
1 parent 99593d1 commit 139dae9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/deltamp.main
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ then
fi
fi

DBALIGN=$DB.align
if ( [ $TARG == "18S" ] || [ $TARG == "16S" ] ) && [ $CUT_DB == "yes" ]
then
if [ $TECH == "454" ] && [ $FLIP == "true" ]
Expand All @@ -265,11 +266,6 @@ then
else
DBCUT=$FWD_NAME.$RVS_NAME.$DB
fi
fi

DBALIGN=$DB.align
if [ -f $DBFOLD/$DBALIGN.fasta ] && [ $CUT_DB == "yes" ]
then
DBCHOP=$DBCUT.align
fi

Expand All @@ -287,7 +283,7 @@ fi

if [ $PRECLUST == "mothur" ]
then
if [ ! -f $DBFOLD/$DBALIGN.fasta ]
if [ ! -f $DBFOLD/$DBCHOP.fasta ] && [ ! -f $DBFOLD/$DBALIGN.fasta ]
then
error_doc "the mothur pre-clustering method could only be used if an aligned version of the reference database is available." 1
fi
Expand Down

0 comments on commit 139dae9

Please sign in to comment.