fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / QcReport.pm
blob12b911d3500ad37119d384c8b5a74008358bbaa2
1 package SGN::Schema::QcReport;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("qc_report");
10 __PACKAGE__->add_columns(
11 "qc_id",
13 data_type => "integer",
14 default_value => "nextval('qc_report_qc_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "est_id",
21 data_type => "integer",
22 default_value => 0,
23 is_foreign_key => 1,
24 is_nullable => 0,
25 size => 4,
27 "basecaller",
29 data_type => "character varying",
30 default_value => undef,
31 is_nullable => 1,
32 size => 40,
34 "qc_status",
35 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
36 "vs_status",
37 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
38 "qstart",
39 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
40 "qend",
41 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
42 "istart",
43 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
44 "iend",
45 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
46 "hqi_start",
47 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
48 "hqi_length",
49 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
50 "entropy",
51 { data_type => "real", default_value => undef, is_nullable => 1, size => 4 },
52 "expected_error",
53 { data_type => "real", default_value => undef, is_nullable => 1, size => 4 },
54 "quality_trim_threshold",
55 { data_type => "real", default_value => undef, is_nullable => 1, size => 4 },
56 "vector_tokens",
58 data_type => "text",
59 default_value => undef,
60 is_nullable => 1,
61 size => undef,
64 __PACKAGE__->set_primary_key("qc_id");
65 __PACKAGE__->add_unique_constraint("qc_report_est_id_key", ["est_id"]);
66 __PACKAGE__->belongs_to("est", "SGN::Schema::Est", { est_id => "est_id" });
69 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
70 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U4A2xfcDZEcs8fJNhex8yg
73 # You can replace this text with custom content, and it will be preserved on regeneration