File Coverage

blib/lib/Bio/FastParsers/Hmmer/Table/Hit.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod 1 1 100.0
total 9 11 81.8


line stmt bran cond sub pod time code
1             package Bio::FastParsers::Hmmer::Table::Hit;
2             # ABSTRACT: Internal class for tabular HMMER parser
3             # CONTRIBUTOR: Arnaud DI FRANCO <arnaud.difranco@gmail.com>
4             $Bio::FastParsers::Hmmer::Table::Hit::VERSION = '0.213510';
5 7     7   5766 use Moose;
  7         26  
  7         68  
6 7     7   56339 use namespace::autoclean;
  7         21  
  7         84  
7              
8              
9             # public attributes
10              
11             has $_ => (
12             is => 'ro',
13             isa => 'Maybe[Str]',
14             required => 1,
15             ) for qw(target_accession query_accession);
16              
17             has $_ => (
18             is => 'ro',
19             isa => 'Num',
20             required => 1,
21             ) for qw(reg clu ov env rep inc);
22              
23             with 'Bio::FastParsers::Roles::Targetable';
24              
25              
26             sub expect {
27             return shift->evalue
28 0     0 1   }
29              
30              
31             __PACKAGE__->meta->make_immutable;
32             1;
33              
34             __END__
35              
36             =pod
37              
38             =head1 NAME
39              
40             Bio::FastParsers::Hmmer::Table::Hit - Internal class for tabular HMMER parser
41              
42             =head1 VERSION
43              
44             version 0.213510
45              
46             =head1 SYNOPSIS
47              
48             # TODO
49              
50             =head1 DESCRIPTION
51              
52             # TODO
53              
54             =head1 ALIASES
55              
56             =head2 expect
57              
58             Alias for C<evalue> method. For API consistency.
59              
60             =head1 AUTHOR
61              
62             Denis BAURAIN <denis.baurain@uliege.be>
63              
64             =head1 CONTRIBUTOR
65              
66             =for stopwords Arnaud DI FRANCO
67              
68             Arnaud DI FRANCO <arnaud.difranco@gmail.com>
69              
70             =head1 COPYRIGHT AND LICENSE
71              
72             This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
73              
74             This is free software; you can redistribute it and/or modify it under
75             the same terms as the Perl 5 programming language system itself.
76              
77             =cut