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 Squishify

extended

Instance Method Details

#hideObject


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

def hide
  self.visible = false
  save!
end