| 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.221230'; | |
| 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 | 0 | ▶ | sub ali_start { |
|
Subroutine
ali_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 31 | 0 | return shift->ali_from; | |
| 32 | } | ||
| 33 | |||
| 34 | 0 | ▶ | sub ali_end { |
|
Subroutine
ali_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | 0 | return shift->ali_to; | |
| 36 | } | ||
| 37 | |||
| 38 | 0 | ▶ | sub hmm_start { |
|
Subroutine
hmm_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 39 | 0 | return shift->hmm_from; | |
| 40 | } | ||
| 41 | |||
| 42 | 0 | ▶ | sub hmm_end { |
|
Subroutine
hmm_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 43 | 0 | return shift->hmm_to; | |
| 44 | } | ||
| 45 | |||
| 46 | 0 | ▶ | sub env_start { |
|
Subroutine
env_start: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 47 | 0 | return shift->env_from; | |
| 48 | } | ||
| 49 | |||
| 50 | 0 | ▶ | sub env_end { |
|
Subroutine
env_end: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 51 | 0 | return shift->env_to; | |
| 52 | } | ||
| 53 | |||
| 54 | 7 | ▶ | no Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 55 | 7 | 1; | |
| 56 | |||
| 57 | __END__ | ||