File: test-example

package info (click to toggle)
barrnap 0.9%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 22,256 kB
  • sloc: perl: 226; makefile: 62; sh: 15
file content (25 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (3)
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
#!/bin/sh
# autopkgtest check: Run barrnap with test data 
# Author: Sascha Steinbiss <sascha@steinbiss.name>
set -e

ORIGDIR=$(pwd)
WORKDIR=$(mktemp -d)

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

barrnap --kingdom euk $ORIGDIR/examples/fungus.fna > fungus.gff3
[ -s fungus.gff3 ]

barrnap --kingdom bac $ORIGDIR/examples/bacteria.fna > bac.gff3
[ -s bac.gff3 ]

barrnap --kingdom arc $ORIGDIR/examples/archaea.fna > arc.gff3
[ -s arc.gff3 ]

barrnap --kingdom mito $ORIGDIR/examples/mitochondria.fna > mito.gff3
[ -s mito.gff3 ]

ls -Al
cat *