ensembl-hive  2.8.1
IdentityXref.pm
Go to the documentation of this file.
1 =head1 LICENSE
2 
3 See the NOTICE file distributed with this work for additional information
4 regarding copyright ownership.
5 
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 
18 =cut
19 
20 package Xref::Schema::Result::IdentityXref;
21 
22 =head1 NAME
23 
25 
26 =cut
27 
28 use strict;
29 use warnings;
30 use utf8;
31 
32 use base 'DBIx::Class::Core';
33 
34 =head1 TABLE: C<identity_xref>
35 
36 =cut
37 
38 __PACKAGE__->table("identity_xref");
39 
40 =head1 ACCESSORS
41 
42 =head2 object_xref_id
43 
44  data_type: 'integer'
45  extra: {unsigned => 1}
46  is_nullable: 0
47 
48 =head2 query_identity
49 
50  data_type: 'integer'
51  is_nullable: 1
52 
53 =head2 target_identity
54 
55  data_type: 'integer'
56  is_nullable: 1
57 
58 =head2 hit_start
59 
60  data_type: 'integer'
61  is_nullable: 1
62 
63 =head2 hit_end
64 
65  data_type: 'integer'
66  is_nullable: 1
67 
68 =head2 translation_start
69 
70  data_type: 'integer'
71  is_nullable: 1
72 
73 =head2 translation_end
74 
75  data_type: 'integer'
76  is_nullable: 1
77 
78 =head2 cigar_line
79 
80  data_type: 'text'
81  is_nullable: 1
82 
83 =head2 score
84 
85  data_type: 'double precision'
86  is_nullable: 1
87 
88 =head2 evalue
89 
90  data_type: 'double precision'
91  is_nullable: 1
92 
93 =cut
94 
95 __PACKAGE__->add_columns(
96  "object_xref_id",
97  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
98  "query_identity",
99  { data_type => "integer", is_nullable => 1 },
100  "target_identity",
101  { data_type => "integer", is_nullable => 1 },
102  "hit_start",
103  { data_type => "integer", is_nullable => 1 },
104  "hit_end",
105  { data_type => "integer", is_nullable => 1 },
106  "translation_start",
107  { data_type => "integer", is_nullable => 1 },
108  "translation_end",
109  { data_type => "integer", is_nullable => 1 },
110  "cigar_line",
111  { data_type => "text", is_nullable => 1 },
112  "score",
113  { data_type => "double precision", is_nullable => 1 },
114  "evalue",
115  { data_type => "double precision", is_nullable => 1 },
116 );
117 
118 =head1 PRIMARY KEY
119 
120 =over 4
121 
122 =item * L</object_xref_id>
123 
124 =back
125 
126 =cut
127 
128 __PACKAGE__->set_primary_key("object_xref_id");
129 
130 __PACKAGE__->has_one('object_xref', 'Xref::Schema::Result::ObjectXref', 'object_xref_id' );
131 1;
Xref::Schema::Result::IdentityXref
Definition: IdentityXref.pm:5