line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*-CPerl-*- |
2
|
|
|
|
|
|
|
# Last changed Time-stamp: <2015-02-06 16:28:31 mtw> |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Bio::ViennaNGS::FeatureLine; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
2445
|
use version; our $VERSION = qv('0.12_15'); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
7
|
1
|
|
|
1
|
|
81
|
use namespace::autoclean; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
8
|
1
|
|
|
1
|
|
57
|
use Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
9
|
|
|
|
|
|
|
extends 'Bio::ViennaNGS::MinimalFeature'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has 'id' => ( |
12
|
|
|
|
|
|
|
is => 'rw', |
13
|
|
|
|
|
|
|
isa => 'Str', # e.g. a transcript ID |
14
|
|
|
|
|
|
|
required => '1', |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has 'fc' => ( |
18
|
|
|
|
|
|
|
is => 'rw', |
19
|
|
|
|
|
|
|
traits => ['Hash'], |
20
|
|
|
|
|
|
|
isa => 'HashRef', |
21
|
|
|
|
|
|
|
required => '1', |
22
|
|
|
|
|
|
|
builder => '_build_fc', |
23
|
|
|
|
|
|
|
auto_deref => '1', |
24
|
|
|
|
|
|
|
handles => { |
25
|
|
|
|
|
|
|
add => 'set', |
26
|
|
|
|
|
|
|
elements => 'elements', |
27
|
|
|
|
|
|
|
kv => 'kv', |
28
|
|
|
|
|
|
|
count => 'count', |
29
|
|
|
|
|
|
|
lookup => 'accessor', |
30
|
|
|
|
|
|
|
}, |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub _build_fc { |
36
|
0
|
|
|
0
|
|
|
tie my %hash, 'Tie::Hash::Indexed'; |
37
|
0
|
|
|
|
|
|
return \%hash; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
5870
|
no Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|