NAME

Bio::Chado::Schema::Sequence::FeatureRelationship - Features can be arranged in graphs, e.g. "exon part_of transcript part_of gene"; If type is thought of as a verb, the each arc or edge makes a statement [Subject Verb Object]. The object can also be thought of as parent (containing feature), and subject as child (contained feature or subfeature). We include the relationship rank/order, because even though most of the time we can order things implicitly by sequence coordinates, we can not always do this - e.g. transpliced genes. It is also useful for quickly getting implicit introns.

ACCESSORS

feature_relationship_id

data_type: integer
default_value: nextval('feature_relationship_feature_relationship_id_seq'::regclass)
is_auto_increment: 1
is_nullable: 0
size: 4

subject_id

data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4

The subject of the subj-predicate-obj sentence. This is typically the subfeature.

object_id

data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4

The object of the subj-predicate-obj sentence. This is typically the container feature.

type_id

data_type: integer
default_value: undef
is_foreign_key: 1
is_nullable: 0
size: 4

Relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed. The most common relationship type is OBO_REL:part_of. Valid relationship types are constrained by the Sequence Ontology.

value

data_type: text
default_value: undef
is_nullable: 1
size: undef

Additional notes or comments.

rank

data_type: integer
default_value: 0
is_nullable: 0
size: 4

The ordering of subject features with respect to the object feature may be important (for example, exon ordering on a transcript - not always derivable if you take trans spliced genes into consideration). Rank is used to order these; starts from zero.

RELATIONS

subject

Type: belongs_to

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

object

Type: belongs_to

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

type

Type: belongs_to

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

feature_relationshipprops

Type: has_many

Related object: Bio::Chado::Schema::Sequence::FeatureRelationshipprop

feature_relationship_pubs

Type: has_many

Related object: Bio::Chado::Schema::Sequence::FeatureRelationshipPub