diff --git a/etc/run_tblastx b/etc/run_tblastx
index c2b09bb8fbe7a9b37a05368faadd283578de295a..c6af66b624be72eb956a426402354745f2aebff7 100755
--- a/etc/run_tblastx
+++ b/etc/run_tblastx
@@ -6,7 +6,7 @@
 # to customise this script see the function called run_one_prog below
 
 
-RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_tblastx,v 1.2 2004-10-05 16:01:40 tjc Exp $"
+RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_tblastx,v 1.3 2005-06-09 13:40:12 tjc Exp $"
 
 PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'`
 
@@ -62,12 +62,14 @@ run_one_prog () {
     if [ $REMOTE = "Y" ]; then
       WDIR=`pwd`
       export WDIR
-      rsh babel "cd $WDIR; lsrun -v blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p tblastx \
-                             $EXTRA_ARGS >! $OUTPUT_FILE"
+#      rsh babel "cd $WDIR; lsrun -v blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p tblastx \
+#                             $EXTRA_ARGS >! $OUTPUT_FILE"
+      rsh babel "cd $WDIR; bsub -q  longblastq -o $OUTPUT_FILE -e ${PROG}_errors.new -I flexi_blast.pl -tx $DATABASE $INPUT_FILE $EXTRA_ARGS"
     else
-      lsrun -v blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p tblastx \
-           $EXTRA_ARGS 2>&1 > $OUTPUT_FILE |
-           tee ${PROG}_errors.new 1>&2
+#      lsrun -v blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p tblastx \
+#           $EXTRA_ARGS 2>&1 > $OUTPUT_FILE |
+#           tee ${PROG}_errors.new 1>&2
+      bsub -q  longblastq -o $OUTPUT_FILE -e ${PROG}_errors.new -I flexi_blast.pl -tx $DATABASE $INPUT_FILE $EXTRA_ARGS
     fi
 
     #### end of changes