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

use relative dir

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@1698 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 1ea36e6a
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_fasta,v 1.3 2004-06-22 10:39:58 tjc Exp $"
RCS_HEADER="$Header: //tmp/pathsoft/artemis/etc/run_fasta,v 1.4 2004-07-07 13:31:21 tjc Exp $"
PROG=`echo $RCS_HEADER | sed 's/.*run_\(.*\),v.*/\1/'`
......@@ -39,6 +39,15 @@ run_one_prog () {
OUTPUT_FILE=$2
DATABASE=$3
### strip out directory from command line
IN=`echo $INPUT_FILE | sed -n -e "s|$PWD//||p"`
if test "$IN" != "" && test -f $IN; then
INPUT_FILE="$IN"
fi
echo "\n\nIN=$IN\nPWD=$PWD\nINPUT_FILE=$INPUT_FILE\n\n"
### change these lines:
### get sequence size
......
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