comparison change_o/makedb.sh @ 81:b6f9a640e098 draft

Uploaded
author davidvanzessen
date Fri, 19 Feb 2021 15:10:54 +0000
parents
children a103134ee6e0
comparison
equal deleted inserted replaced
80:a4617f1d1d89 81:b6f9a640e098
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 MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions
33
34 mv $PWD/outdir/output_db-pass.tab $output
35
36 rm -rf $PWD/outdir/