comparison makedb.sh @ 0:dda9b2e72e2b draft

Uploaded
author davidvanzessen
date Tue, 03 May 2016 09:52:21 -0400
parents
children 326165da9ece
comparison
equal deleted inserted replaced
-1:000000000000 0:dda9b2e72e2b
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 /data/users/david/anaconda3/bin/python $dir/MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
31
32 mv $PWD/outdir/output_db-pass.tab $output