1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/bin/sh
# autopkgtest check: build and run with default test data
# Author: Tatiana Malygina <merlettaia@gmail.com>
set -e
pkg=rate4site
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cd $AUTOPKGTEST_TMP
cat <<EOF > msa.fasta
>string1
CAPTIA-N
>string2
CAPT-A--
>string3
CAPT-AIN
EOF
# This creates file with a simple multiple sequence alignment in one of
# supported formats (namely, in .fasta format). This doesn't produce any
# sensible data, but simply shows that program executes and outputs some
# results.
echo "Run rate4site..."
rate4site -s msa.fasta
[ -s TheTree.txt ]
[ -s r4s.res ]
|