Class: Mspire::Mascot::Dat::Header

Inherits:
Hash
  • Object
show all
Includes:
Castable, Section::KeyVal
Defined in:
lib/mspire/mascot/dat/header.rb

Overview

The parameters is a hash with some casting (see CAST) and is accessible with upper case String keys.

Constant Summary collapse

CAST =
{
  sequences: :to_i,
  sequences_after_tax: :to_i,
  residues: :to_i,
  distribution: Cast::TO_INT_ARRAY,
  distribution_decoy: Cast::TO_INT_ARRAY,
  queries: :to_i,
  max_hits: :to_i,
}

Method Summary

Methods included from Castable

#cast!

Methods included from Section::KeyVal

#from_io!