Class: Rafflesia::HmmerDomainHit
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::HmmerDomainHit
- Defined in:
- lib/rafflesia/sequences/hmmer_domain_hit.rb
Constant Summary collapse
- HASH_ATTRS =
{ accuracy: :accuracy, ali_from: :ali_from, ali_to: :ali_to, description: :description, domain_bias: :domain_bias, domain_cevalue: :domain_cevalue, domain_count: :domain_count, domain_ievalue: :domain_ievalue, domain_index: :domain_index, domain_score: :domain_score, env_from: :env_from, env_to: :env_to, full_bias: :full_bias, full_evalue: :full_evalue, full_score: :full_score, hmm_from: :hmm_from, hmm_to: :hmm_to, query_accession: :query_accession, query_len: :query_len, query_name: :query_name, target_accession: :target_accession, target_len: :target_len, target_name: :target_name }.freeze
Instance Attribute Summary collapse
-
#accuracy ⇒ Object
Returns the value of attribute accuracy.
-
#ali_from ⇒ Object
Returns the value of attribute ali_from.
-
#ali_to ⇒ Object
Returns the value of attribute ali_to.
-
#description ⇒ Object
Returns the value of attribute description.
-
#domain_bias ⇒ Object
Returns the value of attribute domain_bias.
-
#domain_cevalue ⇒ Object
Returns the value of attribute domain_cevalue.
-
#domain_count ⇒ Object
Returns the value of attribute domain_count.
-
#domain_ievalue ⇒ Object
Returns the value of attribute domain_ievalue.
-
#domain_index ⇒ Object
Returns the value of attribute domain_index.
-
#domain_score ⇒ Object
Returns the value of attribute domain_score.
-
#env_from ⇒ Object
Returns the value of attribute env_from.
-
#env_to ⇒ Object
Returns the value of attribute env_to.
-
#full_bias ⇒ Object
Returns the value of attribute full_bias.
-
#full_evalue ⇒ Object
Returns the value of attribute full_evalue.
-
#full_score ⇒ Object
Returns the value of attribute full_score.
-
#hmm_from ⇒ Object
Returns the value of attribute hmm_from.
-
#hmm_to ⇒ Object
Returns the value of attribute hmm_to.
-
#query_accession ⇒ Object
Returns the value of attribute query_accession.
-
#query_len ⇒ Object
Returns the value of attribute query_len.
-
#query_name ⇒ Object
Returns the value of attribute query_name.
-
#target_accession ⇒ Object
Returns the value of attribute target_accession.
-
#target_len ⇒ Object
Returns the value of attribute target_len.
-
#target_name ⇒ Object
Returns the value of attribute target_name.
Instance Method Summary collapse
-
#initialize(json) ⇒ HmmerDomainHit
constructor
A new instance of HmmerDomainHit.
Constructor Details
#initialize(json) ⇒ HmmerDomainHit
Returns a new instance of HmmerDomainHit.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @accuracy = hash[:accuracy] @ali_from = hash[:ali_from] @ali_to = hash[:ali_to] @description = hash[:description] @domain_bias = hash[:domain_bias] @domain_cevalue = hash[:domain_cevalue] @domain_count = hash[:domain_count] @domain_ievalue = hash[:domain_ievalue] @domain_index = hash[:domain_index] @domain_score = hash[:domain_score] @env_from = hash[:env_from] @env_to = hash[:env_to] @full_bias = hash[:full_bias] @full_evalue = hash[:full_evalue] @full_score = hash[:full_score] @hmm_from = hash[:hmm_from] @hmm_to = hash[:hmm_to] @query_accession = hash[:query_accession] @query_len = hash[:query_len] @query_name = hash[:query_name] @target_accession = hash[:target_accession] @target_len = hash[:target_len] @target_name = hash[:target_name] end |
Instance Attribute Details
#accuracy ⇒ Object
Returns the value of attribute accuracy.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def accuracy @accuracy end |
#ali_from ⇒ Object
Returns the value of attribute ali_from.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def ali_from @ali_from end |
#ali_to ⇒ Object
Returns the value of attribute ali_to.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def ali_to @ali_to end |
#description ⇒ Object
Returns the value of attribute description.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def description @description end |
#domain_bias ⇒ Object
Returns the value of attribute domain_bias.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_bias @domain_bias end |
#domain_cevalue ⇒ Object
Returns the value of attribute domain_cevalue.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_cevalue @domain_cevalue end |
#domain_count ⇒ Object
Returns the value of attribute domain_count.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_count @domain_count end |
#domain_ievalue ⇒ Object
Returns the value of attribute domain_ievalue.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_ievalue @domain_ievalue end |
#domain_index ⇒ Object
Returns the value of attribute domain_index.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_index @domain_index end |
#domain_score ⇒ Object
Returns the value of attribute domain_score.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def domain_score @domain_score end |
#env_from ⇒ Object
Returns the value of attribute env_from.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def env_from @env_from end |
#env_to ⇒ Object
Returns the value of attribute env_to.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def env_to @env_to end |
#full_bias ⇒ Object
Returns the value of attribute full_bias.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def full_bias @full_bias end |
#full_evalue ⇒ Object
Returns the value of attribute full_evalue.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def full_evalue @full_evalue end |
#full_score ⇒ Object
Returns the value of attribute full_score.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def full_score @full_score end |
#hmm_from ⇒ Object
Returns the value of attribute hmm_from.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def hmm_from @hmm_from end |
#hmm_to ⇒ Object
Returns the value of attribute hmm_to.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def hmm_to @hmm_to end |
#query_accession ⇒ Object
Returns the value of attribute query_accession.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def query_accession @query_accession end |
#query_len ⇒ Object
Returns the value of attribute query_len.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def query_len @query_len end |
#query_name ⇒ Object
Returns the value of attribute query_name.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def query_name @query_name end |
#target_accession ⇒ Object
Returns the value of attribute target_accession.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def target_accession @target_accession end |
#target_len ⇒ Object
Returns the value of attribute target_len.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def target_len @target_len end |
#target_name ⇒ Object
Returns the value of attribute target_name.
34 35 36 |
# File 'lib/rafflesia/sequences/hmmer_domain_hit.rb', line 34 def target_name @target_name end |