Class: BaitLibrary

Inherits:
ApplicationRecord show all
Includes:
SharedBehaviour::Named
Defined in:
app/models/bait_library.rb

Overview

A bait library is used in the sequence capture process (eg. ISC) to enrich for DNA regions matching the library. This allows for greater coverage of coding sequences, or the separation of DNA by species.

Defined Under Namespace

Modules: Associations Classes: Supplier

Instance Method Summary collapse

Methods included from SharedBehaviour::Named

included

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#hideObject


60
61
62
63
# File 'app/models/bait_library.rb', line 60

def hide
  self.visible = false
  save!
end