line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Phylo::Matrices::Datatype::Sanger; |
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
3
|
1
|
|
|
1
|
|
4
|
use base 'Bio::Phylo::Matrices::Datatype'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
156
|
|
4
|
|
|
|
|
|
|
our ( $LOOKUP, $MISSING, $GAP ); |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Bio::Phylo::Matrices::Datatype::Sanger - Validator subclass, |
9
|
|
|
|
|
|
|
no serviceable parts inside |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
The Bio::Phylo::Matrices::Datatype::* classes are used to validate data |
14
|
|
|
|
|
|
|
contained by L and L |
15
|
|
|
|
|
|
|
objects. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# podinherit_insert_token |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SEE ALSO |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
There is a mailing list at L |
24
|
|
|
|
|
|
|
for any user or developer questions and discussions. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=over |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item L |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class subclasses L. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item L |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Also see the manual: L and L. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=back |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 CITATION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
If you use Bio::Phylo in published research, please cite it: |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
B, B, B, B |
43
|
|
|
|
|
|
|
and B, 2011. Bio::Phylo - phyloinformatic analysis using Perl. |
44
|
|
|
|
|
|
|
I B<12>:63. |
45
|
|
|
|
|
|
|
L |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
$LOOKUP = { map { chr($_) => [ $_ - 33 ] } 33 .. 126 }; |
50
|
|
|
|
|
|
|
$MISSING = '?'; |
51
|
|
|
|
|
|
|
$GAP = '-'; |
52
|
|
|
|
|
|
|
1; |