repo.or.cz
/
bioperl-live.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow falling back to any strigified Bio::AnnotationI for 'gene_name'
[bioperl-live.git]
/
t
/
SeqIO
/
Multiple_fasta.t
blob
b5b2c08b7c49387268d797fac42d8182b50be111
1
# -*-Perl-*- Test Harness script for Bioperl
2
# $Id$
3
4
use strict;
5
6
BEGIN {
7
use lib '.';
8
use Bio::Root::Test;
9
10
test_begin(-tests => 9);
11
12
use_ok('Bio::SeqIO');
13
}
14
15
my $in = Bio::SeqIO->new(-file => test_input_file('multifa.seq') , '-format' => 'Fasta');
16
ok $in;
17
my $c=0;
18
while ( my $seq = $in->next_seq() ) {
19
ok($seq);
20
$c++;
21
}
22
is $c,6, "all sequences in the file";