| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Sequence::Featureloc; |
|
2
|
|
|
|
|
|
|
BEGIN { |
|
3
|
6
|
|
|
6
|
|
2920
|
$Bio::Chado::Schema::Result::Sequence::Featureloc::AUTHORITY = 'cpan:RBUELS'; |
|
4
|
|
|
|
|
|
|
} |
|
5
|
|
|
|
|
|
|
BEGIN { |
|
6
|
6
|
|
|
6
|
|
116
|
$Bio::Chado::Schema::Result::Sequence::Featureloc::VERSION = '0.08001'; # TRIAL |
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader |
|
10
|
|
|
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
|
11
|
|
|
|
|
|
|
|
|
12
|
6
|
|
|
6
|
|
41
|
use strict; |
|
|
6
|
|
|
|
|
15
|
|
|
|
6
|
|
|
|
|
132
|
|
|
13
|
6
|
|
|
6
|
|
31
|
use warnings; |
|
|
6
|
|
|
|
|
16
|
|
|
|
6
|
|
|
|
|
141
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
29
|
use base 'DBIx::Class::Core'; |
|
|
6
|
|
|
|
|
13
|
|
|
|
6
|
|
|
|
|
1305
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("featureloc"); |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
|
23
|
|
|
|
|
|
|
"featureloc_id", |
|
24
|
|
|
|
|
|
|
{ |
|
25
|
|
|
|
|
|
|
data_type => "integer", |
|
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
|
27
|
|
|
|
|
|
|
is_nullable => 0, |
|
28
|
|
|
|
|
|
|
sequence => "featureloc_featureloc_id_seq", |
|
29
|
|
|
|
|
|
|
}, |
|
30
|
|
|
|
|
|
|
"feature_id", |
|
31
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
|
32
|
|
|
|
|
|
|
"srcfeature_id", |
|
33
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
34
|
|
|
|
|
|
|
"fmin", |
|
35
|
|
|
|
|
|
|
{ data_type => "integer", is_nullable => 1 }, |
|
36
|
|
|
|
|
|
|
"is_fmin_partial", |
|
37
|
|
|
|
|
|
|
{ data_type => "boolean", default_value => \"false", is_nullable => 0 }, |
|
38
|
|
|
|
|
|
|
"fmax", |
|
39
|
|
|
|
|
|
|
{ data_type => "integer", is_nullable => 1 }, |
|
40
|
|
|
|
|
|
|
"is_fmax_partial", |
|
41
|
|
|
|
|
|
|
{ data_type => "boolean", default_value => \"false", is_nullable => 0 }, |
|
42
|
|
|
|
|
|
|
"strand", |
|
43
|
|
|
|
|
|
|
{ data_type => "smallint", is_nullable => 1 }, |
|
44
|
|
|
|
|
|
|
"phase", |
|
45
|
|
|
|
|
|
|
{ data_type => "integer", is_nullable => 1 }, |
|
46
|
|
|
|
|
|
|
"residue_info", |
|
47
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
|
48
|
|
|
|
|
|
|
"locgroup", |
|
49
|
|
|
|
|
|
|
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
|
50
|
|
|
|
|
|
|
"rank", |
|
51
|
|
|
|
|
|
|
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
|
52
|
|
|
|
|
|
|
); |
|
53
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("featureloc_id"); |
|
54
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("featureloc_c1", ["feature_id", "locgroup", "rank"]); |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
58
|
|
|
|
|
|
|
"feature", |
|
59
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::Feature", |
|
60
|
|
|
|
|
|
|
{ feature_id => "feature_id" }, |
|
61
|
|
|
|
|
|
|
{ |
|
62
|
|
|
|
|
|
|
cascade_copy => 0, |
|
63
|
|
|
|
|
|
|
cascade_delete => 0, |
|
64
|
|
|
|
|
|
|
is_deferrable => 1, |
|
65
|
|
|
|
|
|
|
on_delete => "CASCADE", |
|
66
|
|
|
|
|
|
|
on_update => "CASCADE", |
|
67
|
|
|
|
|
|
|
}, |
|
68
|
|
|
|
|
|
|
); |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
72
|
|
|
|
|
|
|
"srcfeature", |
|
73
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::Feature", |
|
74
|
|
|
|
|
|
|
{ feature_id => "srcfeature_id" }, |
|
75
|
|
|
|
|
|
|
{ |
|
76
|
|
|
|
|
|
|
cascade_copy => 0, |
|
77
|
|
|
|
|
|
|
cascade_delete => 0, |
|
78
|
|
|
|
|
|
|
is_deferrable => 1, |
|
79
|
|
|
|
|
|
|
join_type => "LEFT", |
|
80
|
|
|
|
|
|
|
on_delete => "CASCADE", |
|
81
|
|
|
|
|
|
|
on_update => "CASCADE", |
|
82
|
|
|
|
|
|
|
}, |
|
83
|
|
|
|
|
|
|
); |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
87
|
|
|
|
|
|
|
"featureloc_pubs", |
|
88
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Sequence::FeaturelocPub", |
|
89
|
|
|
|
|
|
|
{ "foreign.featureloc_id" => "self.featureloc_id" }, |
|
90
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
|
91
|
|
|
|
|
|
|
); |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36 |
|
95
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VED7G1XykKNri3GIOYY5NQ |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub length { |
|
100
|
1
|
|
|
1
|
1
|
65211
|
my $self = shift; |
|
101
|
6
|
|
|
6
|
|
38
|
no warnings 'uninitialized'; |
|
|
6
|
|
|
|
|
11
|
|
|
|
6
|
|
|
|
|
472
|
|
|
102
|
1
|
50
|
33
|
|
|
28
|
return undef unless defined($self->fmax) && defined($self->fmin); |
|
103
|
1
|
|
|
|
|
67
|
return $self->fmax - $self->fmin; |
|
104
|
|
|
|
|
|
|
} |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
|
108
|
|
|
|
|
|
|
1; |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
__END__ |