Skip to content
Snippets Groups Projects
Commit b9380298 authored by Alexis  CRISCUOLO's avatar Alexis CRISCUOLO
Browse files

1.1

parent bf3c8375
Branches main
Tags 1.1
No related merge requests found
...@@ -32,7 +32,11 @@ ...@@ -32,7 +32,11 @@
# = VERSIONS = # # = VERSIONS = #
# ============ # # ============ #
# # # #
VERSION=1.0.220321ac # VERSION=1.1.230220ac #
# + updating finalizers for BLAST+ version >= 2.13.0 #
# + fixed bug when the reference contains multiple sequences #
# #
# VERSION=1.0.220321ac #
# # # #
############################################################################################################## ##############################################################################################################
...@@ -264,7 +268,7 @@ TMP=$(randfile $OUTFILE.tmp); ...@@ -264,7 +268,7 @@ TMP=$(randfile $OUTFILE.tmp);
## defining traps ############################################################################################ ## defining traps ############################################################################################
finalizer() { finalizer() {
rm -f $DB $DB.ndb $DB.nhr $DB.nin $DB.not $DB.nsq $DB.ntf $DB.nto ; rm -f $DB $DB.ndb $DB.nhr $DB.nin $DB.njs $DB.not $DB.nsq $DB.ntf $DB.nto ;
rm -f $FRAG $TMP ; rm -f $FRAG $TMP ;
} }
echoxit() { echoxit() {
...@@ -311,7 +315,9 @@ fi ...@@ -311,7 +315,9 @@ fi
echo " window size (-w) $WSIZE" ; echo " window size (-w) $WSIZE" ;
## formatting reference sequences ############################################################################ ## formatting reference sequences ############################################################################
$MKBNDB -in $REFFILE -out $DB &>/dev/null ; echo ">ref" > $FRAG ;
grep -v "^>" $REFFILE >> $FRAG ;
$MKBNDB -in $FRAG -out $DB &>/dev/null ;
## checking no. threads ###################################################################################### ## checking no. threads ######################################################################################
[ $NTHREADS -lt 1 ] && NTHREADS=1; [ $NTHREADS -lt 1 ] && NTHREADS=1;
...@@ -341,7 +347,7 @@ do ...@@ -341,7 +347,7 @@ do
INFO=$(randfile $FASTA.info); INFO=$(randfile $FASTA.info);
INFOFILES="$INFOFILES $INFO"; INFOFILES="$INFOFILES $INFO";
finalizer() { finalizer() {
rm -f $DB $DB.ndb $DB.nhr $DB.nin $DB.not $DB.nsq $DB.ntf $DB.nto ; rm -f $DB $DB.ndb $DB.nhr $DB.nin $DB.njs $DB.not $DB.nsq $DB.ntf $DB.nto ;
rm -f $FRAG $TMP ; rm -f $FRAG $TMP ;
rm -f $INFOFILES ; rm -f $INFOFILES ;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment