Mercurial > repos > davidvanzessen > shm_csr
view change_o/makedb.sh @ 77:58d2377b507d draft
Uploaded
author | davidvanzessen |
---|---|
date | Wed, 19 Jun 2019 04:31:44 -0400 |
parents | c787e79e8b90 |
children | aff3ba86ef7a |
line wrap: on
line source
#!/bin/bash dir="$(cd "$(dirname "$0")" && pwd)" input=$1 noparse=$2 scores=$3 regions=$4 output=$5 if [ "true" == "$noparse" ] ; then noparse="--noparse" else noparse="" fi if [ "true" == "$scores" ] ; then scores="--scores" else scores="" fi if [ "true" == "$regions" ] ; then regions="--regions" else regions="" fi mkdir $PWD/outdir echo "makedb: $PWD/outdir" MakeDb.py imgt -i $input --outdir $PWD/outdir --outname output $noparse $scores $regions mv $PWD/outdir/output_db-pass.tab $output rm -rf $PWD/outdir/