fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / Ssr.pm
blob9b20749827891add79034a054cd840296d40588c
1 package SGN::Schema::Ssr;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("ssr");
10 __PACKAGE__->add_columns(
11 "ssr_id",
13 data_type => "integer",
14 default_value => "nextval('ssr_ssr_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "marker_id",
21 data_type => "bigint",
22 default_value => "(0)::bigint",
23 is_foreign_key => 1,
24 is_nullable => 0,
25 size => 8,
27 "ssr_name",
29 data_type => "character varying",
30 default_value => undef,
31 is_nullable => 1,
32 size => 10,
34 "est_read_id",
35 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
36 "start_primer",
38 data_type => "character varying",
39 default_value => undef,
40 is_nullable => 1,
41 size => 100,
43 "end_primer",
45 data_type => "character varying",
46 default_value => undef,
47 is_nullable => 1,
48 size => 100,
50 "pcr_product_ln",
51 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
52 "tm_start_primer",
54 data_type => "character varying",
55 default_value => undef,
56 is_nullable => 1,
57 size => 10,
59 "tm_end_primer",
61 data_type => "character varying",
62 default_value => undef,
63 is_nullable => 1,
64 size => 10,
66 "ann_high",
68 data_type => "character varying",
69 default_value => undef,
70 is_nullable => 1,
71 size => 10,
73 "ann_low",
75 data_type => "character varying",
76 default_value => undef,
77 is_nullable => 1,
78 size => 10,
81 __PACKAGE__->set_primary_key("ssr_id");
82 __PACKAGE__->belongs_to("marker", "SGN::Schema::Marker", { marker_id => "marker_id" });
83 __PACKAGE__->has_many(
84 "ssr_primer_unigene_matches",
85 "SGN::Schema::SsrPrimerUnigeneMatch",
86 { "foreign.ssr_id" => "self.ssr_id" },
88 __PACKAGE__->has_many(
89 "ssr_repeats",
90 "SGN::Schema::SsrRepeat",
91 { "foreign.ssr_id" => "self.ssr_id" },
95 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KsqiG9Iipum6TyPnH5ZRgQ
99 # You can replace this text with custom content, and it will be preserved on regeneration