line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*-CPerl-*- |
2
|
|
|
|
|
|
|
# Last changed Time-stamp: <2015-02-06 16:29:45 mtw> |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Bio::ViennaNGS::Feature; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
478
|
use version; our $VERSION = qv('0.12_15'); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
#use namespace::autoclean; |
9
|
1
|
|
|
1
|
|
73
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
10
|
|
|
|
|
|
|
with 'MooseX::Clone'; |
11
|
1
|
|
|
1
|
|
3105
|
use MooseX::InstanceTracking; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
extends 'Bio::ViennaNGS::MinimalFeature'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has 'name' => ( |
16
|
|
|
|
|
|
|
is => 'rw', |
17
|
|
|
|
|
|
|
isa => 'Str', |
18
|
|
|
|
|
|
|
required => '1', |
19
|
|
|
|
|
|
|
predicate => 'has_name', |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has 'score' => ( |
23
|
|
|
|
|
|
|
is => 'rw', |
24
|
|
|
|
|
|
|
isa => 'Value', |
25
|
|
|
|
|
|
|
default => '0', |
26
|
|
|
|
|
|
|
predicate => 'has_score', |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
has 'extension' => ( |
30
|
|
|
|
|
|
|
is => 'rw', |
31
|
|
|
|
|
|
|
isa => 'Str', |
32
|
|
|
|
|
|
|
default => '', |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub set_Feature{ |
36
|
0
|
|
|
0
|
0
|
|
my ($self,$chromosome,$start,$end,$name,$score,$strand,$extension) = @_; |
37
|
0
|
|
|
|
|
|
$self->chromosome($chromosome); |
38
|
0
|
|
|
|
|
|
$self->start($start); |
39
|
0
|
|
|
|
|
|
$self->end($end); |
40
|
0
|
|
|
|
|
|
$self->name($name); |
41
|
0
|
|
|
|
|
|
$self->score($score); |
42
|
0
|
|
|
|
|
|
$self->strand($strand); |
43
|
0
|
|
|
|
|
|
$self->extension($extension); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
1
|
|
|
1
|
|
2878
|
no Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
47
|
|
|
|
|
|
|
#__PACKAGE__=>meta->make_immutable; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |