Class: Bio::SQL::SeqfeatureQualifierValue
- Defined in:
- lib/bio/io/biosql/seqfeature_qualifier_value.rb
Class Method Summary collapse
Class Method Details
.find_cluster(query) ⇒ Object
10 11 12 13 |
# File 'lib/bio/io/biosql/seqfeature_qualifier_value.rb', line 10 def self.find_cluster(query) term_note= Term.find_by_name('note') find(:all, :conditions =>["value like ? and term_id = ?", "cl:#{query}", term_note]) end |
.find_cluster_info(query) ⇒ Object
14 15 16 17 |
# File 'lib/bio/io/biosql/seqfeature_qualifier_value.rb', line 14 def self.find_cluster_info(query) term_note= Term.find_by_name('note') find(:all, :conditions =>["value like ? and term_id = ?", "cli:#{query}", term_note]) end |