view change_o/makedb.sh @ 97:fbc6307dd83b draft

planemo upload commit 91fd26f19cb20fc2ee4d87d7edbc9ce6099752b0
author rhpvorderman
date Mon, 08 Jan 2024 08:50:07 +0000
parents a103134ee6e0
children
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/