File Coverage

blib/lib/Bio/FastParsers/Roles/Domainable.pm
Criterion Covered Total %
statement 18 24 75.0
branch n/a
condition n/a
subroutine 6 12 50.0
pod 0 6 0.0
total 24 42 57.1


line stmt bran cond sub pod time code
1             # ABSTRACT: Domain attrs common to HMMER Standard::Domain and DomTable::Hit
2             # CONTRIBUTOR: Arnaud DI FRANCO <arnaud.difranco@gmail.com>
3             $Bio::FastParsers::Roles::Domainable::VERSION = '0.221230';
4             use Moose::Role;
5 7     7   3941  
  7         20  
  7         64  
6             use autodie;
7 7     7   33778 use feature qw(say);
  7         16  
  7         48  
8 7     7   33606  
  7         18  
  7         654  
9             use Bio::FastParsers::Types;
10 7     7   48 use Bio::FastParsers::Constants qw(:files);
  7         14  
  7         214  
11 7     7   38  
  7         20  
  7         1914  
12              
13             has $_ => (
14             is => 'ro',
15             isa => 'Num',
16             required => 1,
17             ) for qw(
18             rank
19             dom_score c_evalue
20             dom_bias i_evalue
21             hmm_from hmm_to
22             ali_from ali_to
23             env_from env_to
24             acc
25             );
26              
27              
28              
29             return shift->ali_from;
30             }
31 0     0 0    
32             return shift->ali_to;
33             }
34              
35 0     0 0   return shift->hmm_from;
36             }
37              
38             return shift->hmm_to;
39 0     0 0   }
40              
41             return shift->env_from;
42             }
43 0     0 0    
44             return shift->env_to;
45             }
46              
47 0     0 0   no Moose::Role;
48             1;
49              
50              
51 0     0 0   =pod
52              
53             =head1 NAME
54 7     7   50  
  7         14  
  7         43  
55             Bio::FastParsers::Roles::Domainable - Domain attrs common to HMMER Standard::Domain and DomTable::Hit
56              
57             =head1 VERSION
58              
59             version 0.221230
60              
61             =head1 SYNOPSIS
62              
63             # TODO
64              
65             =head1 DESCRIPTION
66              
67             # TODO
68              
69             =head1 ALIASES
70              
71             =head2 expect
72              
73             Alias for C<evalue> method. For API consistency.
74              
75             =head1 AUTHOR
76              
77             Denis BAURAIN <denis.baurain@uliege.be>
78              
79             =head1 CONTRIBUTOR
80              
81             =for stopwords Arnaud DI FRANCO
82              
83             Arnaud DI FRANCO <arnaud.difranco@gmail.com>
84              
85             =head1 COPYRIGHT AND LICENSE
86              
87             This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
88              
89             This is free software; you can redistribute it and/or modify it under
90             the same terms as the Perl 5 programming language system itself.
91              
92             =cut