Module: IlluminaHtp::PlatePurposes

Extended by:
PurposeHelpers
Defined in:
app/models/illumina_htp/plate_purposes.rb

Defined Under Namespace

Modules: PurposeHelpers

Constant Summary collapse

PLATE_PURPOSE_FLOWS =
[
  [
    'Cherrypicked',
    'Shear',
    'Post Shear',
    'AL Libs',
    'Lib PCR',
    'Lib PCRR',
    'Lib PCR-XP',
    'Lib PCRR-XP',
    # Alternative branch for ILA
    'Post Shear XP',
    # Plate based pooling
    'Lib Norm',
    'Lib Norm 2',
    'Lib Norm 2 Pool'
  ],
  [
    'PF Cherrypicked',
    'PF Shear',
    'PF Post Shear',
    'PF Post Shear XP',
    'PF Lib',
    'PF Lib XP',
    'PF Lib XP2',
    'PF EM Pool',
    'PF Lib Norm'
  ]
]
TUBE_PURPOSE_FLOWS =
[
  [
    'Lib Pool',
    'Lib Pool Norm'
  ],
  [
    'Lib Pool Pippin',
    'Lib Pool Conc',
    'Lib Pool SS',
    'Lib Pool SS-XP',
    'Lib Pool SS-XP-Norm'
  ],
  [
    'Cap Lib Pool Norm'
  ]
]
QC_TUBE_PURPOSE_FLOWS =
[
  [
    'PF MiSeq Stock',
    'PF MiSeq QC'
  ],
  ['PF MiSeq QCR']
]
BRANCHES =
[
  ['PF Cherrypicked', 'PF Shear', 'PF Post Shear', 'PF Post Shear XP', 'PF Lib', 'PF Lib XP', 'PF Lib XP2', 'PF EM Pool', 'PF Lib Norm'],
  ['PF Lib XP2', 'PF MiSeq Stock', 'PF MiSeq QC'],
  ['PF MiSeq Stock', 'PF MiSeq QCR'],
  ['Cherrypicked', 'Shear', 'Post Shear', 'AL Libs', 'Lib PCR', 'Lib PCR-XP', 'Lib Pool', 'Lib Pool Norm'],
  ['Lib PCR-XP', 'Lib Pool Pippin', 'Lib Pool Conc', 'Lib Pool SS', 'Lib Pool SS-XP', 'Lib Pool SS-XP-Norm'],
  ['Lib PCRR', 'Lib PCRR-XP', 'Lib Pool Pippin'],
  ['Lib PCR-XP', 'ISC lib pool'],
  ['Lib PCR-XP', 'Lib Norm', 'Lib Norm 2', 'Lib Norm 2 Pool'],
  ['Lib PCRR-XP', 'ISC lib pool'],
  ['Post Shear', 'Post Shear XP', 'AL Libs']
]
STOCK_PLATE_PURPOSE =
'Cherrypicked'
OUTPUT_PLATE_PURPOSES =
['Lib PCR-XP', 'Lib PCRR-XP']
PLATE_PURPOSE_LEADING_TO_QC_PLATES =
[
  'Post Shear', 'Lib PCR-XP', 'Lib PCRR-XP', 'Lib Norm', 'PF EM Pool'
]
STOCK_PLATE_PURPOSE_TO_OUTER_REQUEST =
{
  'Cherrypicked' => 'illumina_b_shared'
}
PLATE_PURPOSE_TYPE =
{
  'PF Cherrypicked' => PlatePurpose::Input,
  'PF Shear' => PlatePurpose::InitialPurpose,
  'PF Post Shear' => PlatePurpose,
  'PF Post Shear XP' => PlatePurpose,
  'PF Lib' => PlatePurpose,
  'PF Lib XP' => PlatePurpose,
  'PF Lib XP2' => IlluminaHtp::LibraryCompleteOnQcPurpose,
  'PF EM Pool' => PlatePurpose,
  'PF Lib Norm' => IlluminaHtp::PooledPlatePurpose,
  'PF MiSeq Stock' => IlluminaHtp::StockTubePurpose,
  'PF MiSeq QC' => IlluminaC::QcPoolPurpose,
  'PF MiSeq QCR' => IlluminaC::QcPoolPurpose,

  'Cherrypicked' => PlatePurpose::Input,
  'Shear' => PlatePurpose::InitialPurpose,
  'Post Shear' => PlatePurpose,
  'AL Libs' => PlatePurpose,
  'Lib PCR' => PlatePurpose,
  'Lib PCRR' => PlatePurpose,
  'Lib PCR-XP' => IlluminaHtp::TransferablePlatePurpose,
  'Lib PCRR-XP' => IlluminaHtp::TransferablePlatePurpose,
  'Lib Pool' => IlluminaHtp::InitialStockTubePurpose,
  'Lib Pool Pippin' => IlluminaHtp::InitialStockTubePurpose,
  'Lib Pool Norm' => IlluminaHtp::MxTubePurpose,
  'Lib Pool Conc' => IlluminaHtp::StockTubePurpose,
  'Lib Pool SS' => IlluminaHtp::StockTubePurpose,
  'Lib Pool SS-XP' => IlluminaHtp::StockTubePurpose,
  'Lib Pool SS-XP-Norm' => IlluminaHtp::MxTubePurpose,
  'Post Shear XP' => PlatePurpose,

  'Post Shear QC' => IlluminaHtp::PostShearQcPlatePurpose,
  'Lib PCR-XP QC' => PlatePurpose,
  'Lib PCRR-XP QC' => PlatePurpose,
  'Lib Norm QC' => PlatePurpose,
  'PF EM Pool QC' => PlatePurpose,

  'Lib Norm' => IlluminaHtp::InitialDownstreamPlatePurpose,
  'Lib Norm 2' => IlluminaHtp::NormalizedPlatePurpose,
  'Lib Norm 2 Pool' => IlluminaHtp::PooledPlatePurpose,

  'Cap Lib Pool Norm' => IlluminaHtp::MxTubeNoQcPurpose

}

Class Method Summary collapse

Methods included from PurposeHelpers

create_branch, create_branches, create_plate_flow, create_plate_purpose, create_plate_purposes, create_qc_plate_for, create_qc_plates, create_qc_tube_flow, create_tube_flow, create_tube_purposes, destroy_plate_purposes, destroy_tube_purposes

Class Method Details

.request_type_prefixObject


127
128
129
# File 'app/models/illumina_htp/plate_purposes.rb', line 127

def self.request_type_prefix
  'Illumina'
end