From 9d4704426d7993b78cfc97a53be835415fd520c5 Mon Sep 17 00:00:00 2001
From: Alexis  CRISCUOLO <criscuol@pasteur.fr>
Date: Mon, 20 Feb 2023 17:34:44 +0100
Subject: [PATCH] 1.5

---
 GenoLayout.sh | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/GenoLayout.sh b/GenoLayout.sh
index 2dba052..aac0a30 100755
--- a/GenoLayout.sh
+++ b/GenoLayout.sh
@@ -4,7 +4,7 @@
 #                                                                                                            #
 #  GenoLayout: linear maps (showing conserved orthologous fragments) between genomes                         #
 #                                                                                                            #
-   COPYRIGHT="Copyright (C) 2022 Institut Pasteur"                                                           #
+   COPYRIGHT="Copyright (C) 2022,2023 Institut Pasteur"                                                      #
 #                                                                                                            #
 #  This program  is free software:  you can  redistribute it  and/or modify it  under the terms  of the GNU  #
 #  General Public License as published by the Free Software Foundation, either version 3 of the License, or  #
@@ -32,7 +32,10 @@
 # = VERSIONS =                                                                                               #
 # ============                                                                                               #
 #                                                                                                            #
-  VERSION=1.4.220405ac                                                                                       #
+  VERSION=1.5.230220ac                                                                                       #
+# + updating finalizers for BLAST+ version >= 2.13.0                                                         #
+#                                                                                                            #
+#  VERSION=1.4.220405ac                                                                                      #
 # + GSCALE is computed to always obtain SVG files of fixed width 5000 px                                     #
 #                                                                                                            #
 # VERSION=1.3.220307ac                                                                                       #
@@ -302,8 +305,8 @@ INFO2=$(randfile $OUTFILE.info2);
 
 ## defining traps ############################################################################################
 finalizer() {
-  rm -f $FRAG1 $FRAG1.ndb $FRAG1.nhr $FRAG1.nin $FRAG1.not $FRAG1.nsq $FRAG1.ntf $FRAG1.nto ;
-  rm -f $FRAG2 $FRAG2.ndb $FRAG2.nhr $FRAG2.nin $FRAG2.not $FRAG2.nsq $FRAG2.ntf $FRAG2.nto ;
+  rm -f $FRAG1 $FRAG1.ndb $FRAG1.nhr $FRAG1.nin $FRAG1.njs $FRAG1.not $FRAG1.nsq $FRAG1.ntf $FRAG1.nto ;
+  rm -f $FRAG2 $FRAG2.ndb $FRAG2.nhr $FRAG2.nin $FRAG2.njs $FRAG2.not $FRAG2.nsq $FRAG2.ntf $FRAG2.nto ;
   rm -f $OUT1 $OUT2 $TMP1 $TMP2 $INFO1 $INFO2;
 }
 echoxit() {
@@ -441,8 +444,8 @@ do
   
   echo " [ok]" >&2 ;
 
-  rm -f $FRAG1.ndb $FRAG1.nhr $FRAG1.nin $FRAG1.not $FRAG1.nsq $FRAG1.ntf $FRAG1.nto ;
-  rm -f $FRAG2.ndb $FRAG2.nhr $FRAG2.nin $FRAG2.not $FRAG2.nsq $FRAG2.ntf $FRAG2.nto ;
+  rm -f $FRAG1.ndb $FRAG1.nhr $FRAG1.nin $FRAG1.njs $FRAG1.not $FRAG1.nsq $FRAG1.ntf $FRAG1.nto ;
+  rm -f $FRAG2.ndb $FRAG2.nhr $FRAG2.nin $FRAG2.njs $FRAG2.not $FRAG2.nsq $FRAG2.ntf $FRAG2.nto ;
 done
 
 rm -f $FRAG1 $FRAG2 ;
-- 
GitLab