Skip to content
Snippets Groups Projects
Commit fdd5f883 authored by tjc's avatar tjc
Browse files

can be run from deskpro

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@1920 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 85ac9732
No related branches found
No related tags found
No related merge requests found
......@@ -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.1 2004-06-09 10:03:14 tjc Exp $"
RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_tblastx,v 1.2 2004-10-05 16:01:40 tjc Exp $"
PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'`
......@@ -50,9 +50,25 @@ run_one_prog () {
EXTRA_ARGS=
# add/change the flags to suit your site:
HOSTNAME=`hostname`
REMOTE=N
case $HOSTNAME in
deskpro*)
REMOTE=Y ;;
*)
esac
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"
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
fi
#### end of changes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment