File Coverage

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