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