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