2
## Bioperl Test Harness Script for Modules
4
# Before `make install' is performed this script should be runnable with
5
# `make test'. After `make install' it should work as `perl test.t'
10
# to handle systems with no installed Test module
11
# we include the t dir (where a copy of Test.pm is located)
13
eval { require Test; };
18
use vars qw($NUMTESTS $DEBUG);
21
plan test => $NUMTESTS;
28
my $seqio = new Bio::SeqIO('-format' => 'fasta', '-file' => Bio::Root::IO->catfile("t","data","genomic-seq.fasta"));
30
my $seq = $seqio->next_seq;
32
my $epcr = new Bio::Tools::EPCR( '-file' => Bio::Root::IO->catfile("t","data","genomic-seq.epcr"));
34
while( defined(my $feature = $epcr->next_feature) ) {
38
$seq->add_SeqFeature($feature);
43
$seqio = new Bio::SeqIO('-format' => 'genbank' );
44
$seqio->write_seq($seq);