File: test-example

package info (click to toggle)
dialign-t 1.0.2-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,228 kB
  • sloc: ansic: 5,820; xml: 355; makefile: 34; sh: 25
file content (18 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# autopkgtest check: Run some Dialign test cases
# Author: Sascha Steinbiss <satta@debian.org>
set -e

ORIGDIR=$(pwd)
DATADIR=$ORIGDIR/debian/tests/
WORKDIR=$(mktemp -d)

trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR

dialign-tx -a2000 -d3 -D /usr/share/dialign-tx $DATADIR/actin_pseudo_small.fna
dialign-tx -a2000 /usr/share/dialign-tx  $DATADIR/actin.faa
dialign-tx -a2000 /usr/share/dialign-tx  $DATADIR/actin_2.faa
for f in /usr/share/dialign-tx/BB1*.tfa /usr/share/dialign-tx/*.fasta; do
  dialign-tx /usr/share/dialign-tx $f;
done