FastParsers/Roles/Targetable.pm

filter: Statementstmt 96.0% 24 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 50.0% 1 / 2 totaltotal 91.4% 32 / 35 CC 1 SCAR 1.2
CC
1
Cov
96%
expect
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« FastParsers/Types.pm ↑ Summary FastParsers.pm »
1 package Bio::FastParsers::Roles::Targetable;
2 # ABSTRACT: Target attrs common to HMMER Standard::Target and Table::Hit
3 # CONTRIBUTOR: Arnaud DI FRANCO <arnaud.difranco@gmail.com>
4 7 $Bio::FastParsers::Roles::Targetable::VERSION = '0.213510';
5 7 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 7 ▶use autodie;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 7 ▶use feature qw(say);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 7 ▶use Bio::FastParsers::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 7 ▶use Bio::FastParsers::Constants qw(:files);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 has $_ => (
15 is => 'ro',
16 isa => 'Str',
17 required => 1,
18 7 ) for qw(target_name query_name);
19  
20 has $_ => (
21 is => 'ro',
22 isa => 'Maybe[Str]',
23 required => 1,
24 7 ) for qw(target_description);
25  
26 has $_ => (
27 is => 'ro',
28 isa => 'Num',
29 required => 1,
30 7 ) for qw(
31 evalue score bias
32 best_dom_evalue best_dom_score best_dom_bias
33 exp dom
34 );
35  
36  
37  
38 sub expect {
39 0 ▶ return shift->evalue;
Subroutine expect: not called CC=1 SCAR=6.9
Pod documented
40 }
41  
42 sub name {
43 15 ▶ return shift->target_name;
Subroutine name: called CC=1 SCAR=0.0
Pod undocumented
44 }
45  
46 7 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
47 7 1;
48  
49 __END__
50  
51 =pod
52  
53 =head1 NAME
54  
55 Bio::FastParsers::Roles::Targetable - Target attrs common to HMMER Standard::Target and Table::Hit
56  
57 =head1 VERSION
58  
59 version 0.213510
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
« FastParsers/Types.pm ↑ Summary FastParsers.pm »