fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / BlastHit.pm
blob179544aec8cc39c52a73a6f3b07c736cd8cd200f
1 package SGN::Schema::BlastHit;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("blast_hits");
10 __PACKAGE__->add_columns(
11 "blast_hit_id",
13 data_type => "integer",
14 default_value => "nextval('blast_hits_blast_hit_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "blast_annotation_id",
21 data_type => "integer",
22 default_value => undef,
23 is_foreign_key => 1,
24 is_nullable => 1,
25 size => 4,
27 "target_db_id",
29 data_type => "character varying",
30 default_value => undef,
31 is_nullable => 1,
32 size => 255,
34 "evalue",
36 data_type => "double precision",
37 default_value => undef,
38 is_nullable => 1,
39 size => 8,
41 "score",
43 data_type => "double precision",
44 default_value => undef,
45 is_nullable => 1,
46 size => 8,
48 "identity_percentage",
50 data_type => "double precision",
51 default_value => undef,
52 is_nullable => 1,
53 size => 8,
55 "apply_start",
56 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
57 "apply_end",
58 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
59 "defline_id",
60 { data_type => "integer", default_value => undef, is_nullable => 1, size => 4 },
62 __PACKAGE__->set_primary_key("blast_hit_id");
63 __PACKAGE__->belongs_to(
64 "blast_annotation",
65 "SGN::Schema::BlastAnnotation",
66 { blast_annotation_id => "blast_annotation_id" },
67 { join_type => "LEFT" },
71 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
72 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QKBiP2cK+zwhJ7uLGcmmiQ
75 # You can replace this text with custom content, and it will be preserved on regeneration