comparison makedb.sh @ 0:183edf446dcf draft default tip

Uploaded
author davidvanzessen
date Mon, 17 Jul 2017 07:44:27 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:183edf446dcf
1 #!/bin/bash
2 dir="$(cd "$(dirname "$0")" && pwd)"
3
4 input=$1
5 noparse=$2
6 scores=$3
7 regions=$4
8 output=$5
9
10 if [ "true" == "$noparse" ] ; then
11 noparse="--noparse"
12 else
13 noparse=""
14 fi
15
16 if [ "true" == "$scores" ] ; then
17 scores="--scores"
18 else
19 scores=""
20 fi
21
22 if [ "true" == "$regions" ] ; then
23 regions="--regions"
24 else
25 regions=""
26 fi
27
28 mkdir $PWD/outdir
29
30 echo "`which python3`"
31
32 python3 $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
33 #/data/users/david/anaconda3/bin/python $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
34 #/home/galaxy/anaconda3/bin/python $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
35
36 mv $PWD/outdir/output_db-pass.tab $output