Package list barrnap / 9ccc5f8
add autopkgtest Sascha Steinbiss 6 years ago
3 changed file(s) with 40 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 barrnap (0.7+dfsg-2) unstable; urgency=medium
1
2 [Afif Elghraoui]
3 * Bump Standards-Version.
4 * Use secure Vcs-Git.
5 * Migrate to git.
6
7 [Sascha Steinbiss]
8 * Add autopkgtest.
9
10 -- Sascha Steinbiss <sascha@steinbiss.name> Fri, 11 Mar 2016 21:32:52 +0000
11
012 barrnap (0.7+dfsg-1) unstable; urgency=low
113
214 * New upstream release.
0 Tests: test-example
1 Depends: @
2 Restrictions: allow-stderr
0 #!/bin/sh
1 # autopkgtest check: Run barrnap with test data
2 # Author: Sascha Steinbiss <sascha@steinbiss.name>
3 set -e
4
5 ORIGDIR=$(pwd)
6 WORKDIR=$(mktemp -d)
7
8 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
9 cd $WORKDIR
10
11 barrnap --kingdom euk $ORIGDIR/examples/fungus.fna > fungus.gff3
12 [ -s fungus.gff3 ]
13
14 barrnap --kingdom bac $ORIGDIR/examples/bacteria.fna > bac.gff3
15 [ -s bac.gff3 ]
16
17 barrnap --kingdom arc $ORIGDIR/examples/archaea.fna > arc.gff3
18 [ -s arc.gff3 ]
19
20 barrnap --kingdom mito $ORIGDIR/examples/mitochondria.fna > mito.gff3
21 [ -s mito.gff3 ]
22
23 ls -Al
24 cat *