Sha256: f6c0146d62293401f166ffd379d5cdc8bee724f3aa90e4666f27baba98298eb4

Contents?: true

Size: 223 Bytes

Versions: 14

Compression:

Stored size: 223 Bytes

Contents

module Quorum
  class BlastnJobReport < ActiveRecord::Base
    belongs_to :blastn_job
    scope :default_order, order("query ASC, bit_score DESC")
    scope :by_query, lambda { |query| where("query = ?", query) }
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
quorum-0.7.1 app/models/quorum/blastn_job_report.rb
quorum-0.7.0 app/models/quorum/blastn_job_report.rb
quorum-0.6.0 app/models/quorum/blastn_job_report.rb
quorum-0.5.2 app/models/quorum/blastn_job_report.rb
quorum-0.5.1 app/models/quorum/blastn_job_report.rb
quorum-0.5.0 app/models/quorum/blastn_job_report.rb
quorum-0.4.0 app/models/quorum/blastn_job_report.rb
quorum-0.3.3 app/models/quorum/blastn_job_report.rb
quorum-0.3.2 app/models/quorum/blastn_job_report.rb
quorum-0.3.1 app/models/quorum/blastn_job_report.rb
quorum-0.3.0 app/models/quorum/blastn_job_report.rb
quorum-0.2.1 app/models/quorum/blastn_job_report.rb
quorum-0.2.0 app/models/quorum/blastn_job_report.rb
quorum-0.1.0 app/models/quorum/blastn_job_report.rb