ensembl-hive  2.8.1
Mapping.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::Mapping;
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<mapping>
35 
36 =cut
37 
38 __PACKAGE__->table("mapping");
39 
40 =head1 ACCESSORS
41 
42 =head2 job_id
43 
44  data_type: 'integer'
45  extra: {unsigned => 1}
46  is_nullable: 1
47 
48 =head2 type
49 
50  data_type: 'enum'
51  extra: {list => ["dna","peptide","UCSC"]}
52  is_nullable: 1
53 
54 =head2 command_line
55 
56  data_type: 'text'
57  is_nullable: 1
58 
59 =head2 percent_query_cutoff
60 
61  data_type: 'integer'
62  extra: {unsigned => 1}
63  is_nullable: 1
64 
65 =head2 percent_target_cutoff
66 
67  data_type: 'integer'
68  extra: {unsigned => 1}
69  is_nullable: 1
70 
71 =head2 method
72 
73  data_type: 'varchar'
74  is_nullable: 1
75  size: 255
76 
77 =head2 array_size
78 
79  data_type: 'integer'
80  extra: {unsigned => 1}
81  is_nullable: 1
82 
83 =cut
84 
85 __PACKAGE__->add_columns(
86  "job_id",
87  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
88  "type",
89  {
90  data_type => "enum",
91  extra => { list => ["dna", "peptide", "UCSC"] },
92  is_nullable => 1,
93  },
94  "command_line",
95  { data_type => "text", is_nullable => 1 },
96  "percent_query_cutoff",
97  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
98  "percent_target_cutoff",
99  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
100  "method",
101  { data_type => "varchar", is_nullable => 1, size => 255 },
102  "array_size",
103  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
104 );
105 
106 1;
Xref::Schema::Result::Mapping
Definition: Mapping.pm:5