Skip to content

Commit

Permalink
more tests for percentid - corrected to use overall percent identity
Browse files Browse the repository at this point in the history
svn path=/bioperl-run/branches/branch-1-0-0/; revision=13042
  • Loading branch information
hyphaltip committed Mar 15, 2002
1 parent b32c2e2 commit bae00bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/EMBOSS.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# -*-Perl-*-
## Bioperl Test Harness Script for Modules
## $Id$
Expand Down Expand Up @@ -102,10 +103,12 @@ my $aln = $alnin->next_aln;
ok($aln);
ok($aln->length, 43);
ok($aln->percentage_identity, 100);
my ($first) = $aln->each_seq();
ok($first->seq(), 'SCWSFSTTGNVEGQHFISQNKLVSLSEQNLVDCDHECMEYEGE');
$aln = $alnin->next_aln;
ok($aln);
ok($aln->length, 339);
ok(sprintf("%.2f",$aln->percentage_identity), 40.58);
ok(sprintf("%.2f",$aln->percentage_identity), 33.04);

my $cons = $factory->program('cons');
$cons->verbose(0);
Expand Down

0 comments on commit bae00bd

Please sign in to comment.