File: test-example

package info (click to toggle)
augustus 3.4.0%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 758,480 kB
  • sloc: cpp: 65,451; perl: 21,436; python: 3,927; ansic: 1,240; makefile: 1,032; sh: 189; javascript: 32
file content (21 lines) | stat: -rwxr-xr-x 566 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# autopkgtest check: Run example test data through AUGUSTUS 
# Author: Sascha Steinbiss <sascha@steinbiss.name>
set -e

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

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

augustus --species=human --UTR=on $ORIGDIR/examples/example.fa | tee out.gff3

[ -s out.gff3 ]

augustus --species=human --hintsfile=$ORIGDIR/examples/hints.gff \
  --extrinsicCfgFile=/usr/share/augustus/config/extrinsic/extrinsic.MPE.cfg \
  $ORIGDIR/examples/example.fa | tee out2.gff3

[ -s out2.gff3 ]