Class: Rafflesia::BlastSearchProfile

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/blast_search_profile.rb

Constant Summary collapse

HASH_ATTRS =
{
  materialize_db_ms: :materialize_db_ms,
  resolve_query_ms: :resolve_query_ms,
  search_ms: :search_ms,
  store_output_ms: :store_output_ms,
  total_ms: :total_ms
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ BlastSearchProfile

Returns a new instance of BlastSearchProfile.



23
24
25
26
27
28
29
30
31
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 23

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @materialize_db_ms = hash[:materialize_db_ms]
  @resolve_query_ms = hash[:resolve_query_ms]
  @search_ms = hash[:search_ms]
  @store_output_ms = hash[:store_output_ms]
  @total_ms = hash[:total_ms]
end

Instance Attribute Details

#materialize_db_msObject

Returns the value of attribute materialize_db_ms.



16
17
18
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 16

def materialize_db_ms
  @materialize_db_ms
end

#resolve_query_msObject

Returns the value of attribute resolve_query_ms.



16
17
18
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 16

def resolve_query_ms
  @resolve_query_ms
end

#search_msObject

Returns the value of attribute search_ms.



16
17
18
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 16

def search_ms
  @search_ms
end

#store_output_msObject

Returns the value of attribute store_output_ms.



16
17
18
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 16

def store_output_ms
  @store_output_ms
end

#total_msObject

Returns the value of attribute total_ms.



16
17
18
# File 'lib/rafflesia/sequences/blast_search_profile.rb', line 16

def total_ms
  @total_ms
end