Class: Rafflesia::HmmerDomainNumberEstimation

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

Constant Summary collapse

HASH_ATTRS =
{
  clu: :clu,
  dom: :dom,
  env: :env,
  exp: :exp,
  inc: :inc,
  ov: :ov,
  reg: :reg,
  rep: :rep
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ HmmerDomainNumberEstimation

Returns a new instance of HmmerDomainNumberEstimation.



29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 29

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @clu = hash[:clu]
  @dom = hash[:dom]
  @env = hash[:env]
  @exp = hash[:exp]
  @inc = hash[:inc]
  @ov = hash[:ov]
  @reg = hash[:reg]
  @rep = hash[:rep]
end

Instance Attribute Details

#cluObject

Returns the value of attribute clu.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def clu
  @clu
end

#domObject

Returns the value of attribute dom.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def dom
  @dom
end

#envObject

Returns the value of attribute env.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def env
  @env
end

#expObject

Returns the value of attribute exp.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def exp
  @exp
end

#incObject

Returns the value of attribute inc.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def inc
  @inc
end

#ovObject

Returns the value of attribute ov.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def ov
  @ov
end

#regObject

Returns the value of attribute reg.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def reg
  @reg
end

#repObject

Returns the value of attribute rep.



19
20
21
# File 'lib/rafflesia/sequences/hmmer_domain_number_estimation.rb', line 19

def rep
  @rep
end