Package list barrnap / 6b8aeaa8-cefe-46c7-94e4-288d1ac39d70/main debian / tests / test-example
6b8aeaa8-cefe-46c7-94e4-288d1ac39d70/main

Tree @6b8aeaa8-cefe-46c7-94e4-288d1ac39d70/main (Download .tar.gz)

test-example @6b8aeaa8-cefe-46c7-94e4-288d1ac39d70/mainraw · 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 *