comparison change_o/makedb.sh @ 120:613278c1bde0 draft

Uploaded
author davidvanzessen
date Tue, 16 Aug 2016 09:10:50 -0400
parents
children e87dcca14bd6
comparison
equal deleted inserted replaced
119:626a956f3811 120:613278c1bde0
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 "makedb: $PWD/outdir"
31
32 /data/users/david/anaconda3/bin/python $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
33 #/home/galaxy/anaconda3/bin/python $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
34
35 mv $PWD/outdir/output_db-pass.tab $output