diff --git a/etc/run_blastp.sanger b/etc/run_blastp.sanger
index b97b1d98cec72b2a07eafb5f1e7c3beaa10f556c..03cedc41511d2039b1e5d7a11d3a212fb8172f57 100755
--- a/etc/run_blastp.sanger
+++ b/etc/run_blastp.sanger
@@ -6,7 +6,7 @@
 # to customise this script see the function called run_one_prog below
 
 
-RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_blastp.sanger,v 1.1 2005-02-21 11:45:09 tjc Exp $"
+RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_blastp.sanger,v 1.2 2005-06-09 13:06:56 tjc Exp $"
 
 PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'`
 
@@ -65,15 +65,17 @@ run_one_prog () {
     if [ $REMOTE = "Y" ]; then
       WDIR=`pwd`
       export WDIR
-      rsh babel "cd $WDIR; lsrun -R 'select[blast && mem > 500] rusage[r1m=1:mem=500]' -v \
-                           blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p blastp \
-                           $EXTRA_ARGS >! $OUTPUT_FILE"
+#      rsh babel "cd $WDIR; lsrun -R 'select[blast && mem > 500] rusage[r1m=1:mem=500]' -v \
+#                           blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p blastp \
+#                           $EXTRA_ARGS >! $OUTPUT_FILE"
+      rsh babel "bsub -q  longblastq -o $OUTPUT_FILE -e ${PROG}_errors.new -I flexi_blast.pl -p $DATABASE $INPUT_FILE $EXTRA_ARGS"
     else
     # add/change the flags to suit your site:
-      lsrun -R 'select[blast && mem > 500] rusage[r1m=1:mem=500]' -v \
-        blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p blastp \
-        $EXTRA_ARGS 2>&1 > $OUTPUT_FILE | 
-        tee ${PROG}_errors.new 1>&2
+#      lsrun -R 'select[blast && mem > 500] rusage[r1m=1:mem=500]' -v \
+#        blastwrap.pl $EXEC -d $DATABASE -i $INPUT_FILE -p blastp \
+#        $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 -p $DATABASE $INPUT_FILE $EXTRA_ARGS
     fi
 
     #### end of changes