File: run-example

package info (click to toggle)
gubbins 3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,940 kB
  • sloc: ansic: 5,069; python: 4,964; sh: 236; makefile: 133; cpp: 27
file content (19 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# autopkgtest check: Run test data through Gubbins
# Author: Sascha Steinbiss <satta@debian.org>
set -e

TESTDIR=$(pwd)/tests/data
WORKDIR=$(mktemp -d)
HOME="$WORKDIR"
export HOME
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR

cp $TESTDIR/*aln .

for f in alignment_file_multiple_lines_per_sequence.aln alignment_file_one_line_per_sequence.aln alignment_file_with_n.aln multiple_recombinations.aln no_recombinations.aln one_recombination.aln; do
  echo "##### $f #####"
  cp $TESTDIR/$f .
  run_gubbins $f
done