Package list barrnap / debian/0.9+dfsg-2 debian / tests / test-example
debian/0.9+dfsg-2

Tree @debian/0.9+dfsg-2 (Download .tar.gz)

test-example @debian/0.9+dfsg-2raw · history · blame

#!/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 *