Sha256: 001a05284fac8ee5d0b7290472ccaac2dd22320f0939464a6d24fbd5c204a513

Contents?: true

Size: 1.81 KB

Versions: 9

Compression:

Stored size: 1.81 KB

Contents

 module Bio
    class SQL 
			    class Term < DummyBase
			      belongs_to :ontology, :class_name => "Ontology"
			      has_many :seqfeature_qualifier_values, :class_name => "SeqfeatureQualifierValue"
			      has_many :dbxref_qualifier_values, :class_name => "DbxrefQualifierValue"
            has_many :bioentry_qualifer_values, :class_name => "BioentryQualifierValue"
            has_many :bioentries, :through=>:bioentry_qualifier_values
			      has_many :locations, :class_name => "Location"
			      has_many :seqfeature_relationships, :class_name => "SeqfeatureRelationship"
			      has_many :term_dbxrefs, :class_name => "TermDbxref"
			      has_many :term_relationship_terms, :class_name => "TermRelationshipTerm"
			      has_many :term_synonyms, :class_name => "TermSynonym"
			      has_many :location_qualifier_values, :class_name => "LocationQualifierValue"
			      has_many :seqfeature_types, :class_name => "Seqfeature", :foreign_key => "type_term_id"			      
			      has_many :seqfeature_sources, :class_name => "Seqfeature", :foreign_key => "source_term_id"			      
			      has_many :term_path_subjects, :class_name => "TermPath", :foreign_key => "subject_term_id"
			      has_many :term_path_predicates, :class_name => "TermPath", :foreign_key => "predicate_term_id"
			      has_many :term_path_objects, :class_name => "TermPath", :foreign_key => "object_term_id"			      
			      has_many :term_relationship_subjects, :class_name => "TermRelationship", :foreign_key =>"subject_term_id"
			      has_many :term_relationship_predicates, :class_name => "TermRelationship", :foreign_key =>"predicate_term_id"
			      has_many :term_relationship_objects, :class_name => "TermRelationship", :foreign_key =>"object_term_id"
            has_many :seqfeature_paths, :class_name => "SeqfeaturePath"
			    end		
		end #SQL
end #Bio

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
bioruby-bio-1.2.9.9001 lib/bio/io/biosql/term.rb
bioruby-bio-1.2.9.9501 lib/bio/io/biosql/term.rb
bioruby-bio-1.3.0 lib/bio/io/biosql/term.rb
ngoto-bio-1.2.9.9001 lib/bio/io/biosql/term.rb
ngoto-bio-1.2.9.9501 lib/bio/io/biosql/term.rb
ngoto-bio-1.3.0.5000 lib/bio/io/biosql/term.rb
ngoto-bio-1.3.0 lib/bio/io/biosql/term.rb
wwood-bioruby-1.2.11 lib/bio/io/biosql/term.rb
bio-1.3.0 lib/bio/io/biosql/term.rb