NAME

Bio::Chado::Schema::Result::Sequence::Featureprop

DESCRIPTION

A feature can have any number of slot-value property tags attached to it. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible.

NAME

Bio::Chado::Schema::Result::Sequence::Featureprop

ACCESSORS

featureprop_id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'featureprop_featureprop_id_seq'

feature_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

type_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

The name of the property/slot is a cvterm. The meaning of the property is defined in that cvterm. Certain property types will only apply to certain feature types (e.g. the anticodon property will only apply to tRNA features) ; the types here come from the sequence feature property ontology.

value

data_type: 'text'
is_nullable: 1

The value of the property, represented as text. Numeric values are converted to their text representation. This is less efficient than using native database types, but is easier to query.

rank

data_type: 'integer'
default_value: 0
is_nullable: 0

Property-Value ordering. Any feature can have multiple values for any particular property type - these are ordered in a list using rank, counting from zero. For properties that are single-valued rather than multi-valued, the default 0 value should be used

RELATIONS

feature

Type: belongs_to

Related object: Bio::Chado::Schema::Result::Sequence::Feature

type

Type: belongs_to

Related object: Bio::Chado::Schema::Result::Cv::Cvterm

featureprop_pubs

Type: has_many

Related object: Bio::Chado::Schema::Result::Sequence::FeaturepropPub

ADDITIONAL RELATIONSHIPS

cvterm

Alias for type ( type_id foreign key into cvterm table)

AUTHOR

Robert Buels <rbuels@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Robert Buels.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.