| 1 | package Bio::FastParsers::Roles::Domainable; | ||
| 2 | # ABSTRACT: Domain attrs common to HMMER Standard::Domain and DomTable::Hit | ||
| 3 | # CONTRIBUTOR: Arnaud DI FRANCO <arnaud.difranco@gmail.com> | ||
| 4 | 7 | $Bio::FastParsers::Roles::Domainable::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 => 'Num', | ||
| 17 | required => 1, | ||
| 18 | 7 | ) for qw( | |
| 19 | rank | ||
| 20 | dom_score c_evalue | ||
| 21 | dom_bias i_evalue | ||
| 22 | hmm_from hmm_to | ||
| 23 | ali_from ali_to | ||
| 24 | env_from env_to | ||
| 25 | acc | ||
| 26 | ); | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | sub ali_start { | ||
| 31 | 0 | ▶ | return shift->ali_from; |
|
Subroutine
ali_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 32 | } | ||
| 33 | |||
| 34 | sub ali_end { | ||
| 35 | 0 | ▶ | return shift->ali_to; |
|
Subroutine
ali_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 36 | } | ||
| 37 | |||
| 38 | sub hmm_start { | ||
| 39 | 0 | ▶ | return shift->hmm_from; |
|
Subroutine
hmm_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 40 | } | ||
| 41 | |||
| 42 | sub hmm_end { | ||
| 43 | 0 | ▶ | return shift->hmm_to; |
|
Subroutine
hmm_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 44 | } | ||
| 45 | |||
| 46 | sub env_start { | ||
| 47 | 0 | ▶ | return shift->env_from; |
|
Subroutine
env_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 48 | } | ||
| 49 | |||
| 50 | sub env_end { | ||
| 51 | 0 | ▶ | return shift->env_to; |
|
Subroutine
env_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 52 | } | ||
| 53 | |||
| 54 | 7 | ▶ | no Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 55 | 7 | 1; | |
| 56 | |||
| 57 | __END__ | ||
| 58 | |||
| 59 | =pod | ||
| 60 | |||
| 61 | =head1 NAME | ||
| 62 | |||
| 63 | Bio::FastParsers::Roles::Domainable - Domain attrs common to HMMER Standard::Domain and DomTable::Hit | ||
| 64 | |||
| 65 | =head1 VERSION | ||
| 66 | |||
| 67 | version 0.213510 | ||
| 68 | |||
| 69 | =head1 SYNOPSIS | ||
| 70 | |||
| 71 | # TODO | ||
| 72 | |||
| 73 | =head1 DESCRIPTION | ||
| 74 | |||
| 75 | # TODO | ||
| 76 | |||
| 77 | =head1 ALIASES | ||
| 78 | |||
| 79 | =head2 expect | ||
| 80 | |||
| 81 | Alias for C<evalue> method. For API consistency. | ||
| 82 | |||
| 83 | =head1 AUTHOR | ||
| 84 | |||
| 85 | Denis BAURAIN <denis.baurain@uliege.be> | ||
| 86 | |||
| 87 | =head1 CONTRIBUTOR | ||
| 88 | |||
| 89 | =for stopwords Arnaud DI FRANCO | ||
| 90 | |||
| 91 | Arnaud DI FRANCO <arnaud.difranco@gmail.com> | ||
| 92 | |||
| 93 | =head1 COPYRIGHT AND LICENSE | ||
| 94 | |||
| 95 | This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN. | ||
| 96 | |||
| 97 | This is free software; you can redistribute it and/or modify it under | ||
| 98 | the same terms as the Perl 5 programming language system itself. | ||
| 99 | |||
| 100 | =cut | ||