Class: Rafflesia::CorpuReleaseHit
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseHit
- Defined in:
- lib/rafflesia/datasets/corpu_release_hit.rb
Constant Summary collapse
- HASH_ATTRS =
{ aligned_length: :aligned_length, aligned_residues: :aligned_residues, alignment_identity: :alignment_identity, alignment_score: :alignment_score, bits: :bits, evalue: :evalue, id: :id, lddt: :lddt, pair_geometry_component_count: :pair_geometry_component_count, pair_geometry_max_component_size: :pair_geometry_max_component_size, pair_geometry_shared_count: :pair_geometry_shared_count, query_tm_score: :query_tm_score, query_token_count: :query_token_count, rank_key: :rank_key, rerank_backend: :rerank_backend, rmsd_angstrom: :rmsd_angstrom, sequence_identity: :sequence_identity, sequence_len: :sequence_len, shared_token_count: :shared_token_count, target_tm_score: :target_tm_score, verified: :verified }.freeze
Instance Attribute Summary collapse
-
#aligned_length ⇒ Object
Returns the value of attribute aligned_length.
-
#aligned_residues ⇒ Object
Returns the value of attribute aligned_residues.
-
#alignment_identity ⇒ Object
Returns the value of attribute alignment_identity.
-
#alignment_score ⇒ Object
Returns the value of attribute alignment_score.
-
#bits ⇒ Object
Returns the value of attribute bits.
-
#evalue ⇒ Object
Returns the value of attribute evalue.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lddt ⇒ Object
Returns the value of attribute lddt.
-
#pair_geometry_component_count ⇒ Object
Returns the value of attribute pair_geometry_component_count.
-
#pair_geometry_max_component_size ⇒ Object
Returns the value of attribute pair_geometry_max_component_size.
-
#pair_geometry_shared_count ⇒ Object
Returns the value of attribute pair_geometry_shared_count.
-
#query_tm_score ⇒ Object
Returns the value of attribute query_tm_score.
-
#query_token_count ⇒ Object
Returns the value of attribute query_token_count.
-
#rank_key ⇒ Object
Returns the value of attribute rank_key.
-
#rerank_backend ⇒ Object
Returns the value of attribute rerank_backend.
-
#rmsd_angstrom ⇒ Object
Returns the value of attribute rmsd_angstrom.
-
#sequence_identity ⇒ Object
Returns the value of attribute sequence_identity.
-
#sequence_len ⇒ Object
Returns the value of attribute sequence_len.
-
#shared_token_count ⇒ Object
Returns the value of attribute shared_token_count.
-
#target_tm_score ⇒ Object
Returns the value of attribute target_tm_score.
-
#verified ⇒ Object
Returns the value of attribute verified.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseHit
constructor
A new instance of CorpuReleaseHit.
Constructor Details
#initialize(json) ⇒ CorpuReleaseHit
Returns a new instance of CorpuReleaseHit.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 55 def initialize(json) super() hash = self.class.normalize(json) @aligned_length = hash[:aligned_length] @aligned_residues = hash[:aligned_residues] @alignment_identity = hash[:alignment_identity] @alignment_score = hash[:alignment_score] @bits = hash[:bits] @evalue = hash[:evalue] @id = hash[:id] @lddt = hash[:lddt] @pair_geometry_component_count = hash[:pair_geometry_component_count] @pair_geometry_max_component_size = hash[:pair_geometry_max_component_size] @pair_geometry_shared_count = hash[:pair_geometry_shared_count] @query_tm_score = hash[:query_tm_score] @query_token_count = hash[:query_token_count] @rank_key = hash[:rank_key] @rerank_backend = hash[:rerank_backend] @rmsd_angstrom = hash[:rmsd_angstrom] @sequence_identity = hash[:sequence_identity] @sequence_len = hash[:sequence_len] @shared_token_count = hash[:shared_token_count] @target_tm_score = hash[:target_tm_score] @verified = hash[:verified] end |
Instance Attribute Details
#aligned_length ⇒ Object
Returns the value of attribute aligned_length.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def aligned_length @aligned_length end |
#aligned_residues ⇒ Object
Returns the value of attribute aligned_residues.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def aligned_residues @aligned_residues end |
#alignment_identity ⇒ Object
Returns the value of attribute alignment_identity.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def alignment_identity @alignment_identity end |
#alignment_score ⇒ Object
Returns the value of attribute alignment_score.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def alignment_score @alignment_score end |
#bits ⇒ Object
Returns the value of attribute bits.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def bits @bits end |
#evalue ⇒ Object
Returns the value of attribute evalue.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def evalue @evalue end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def id @id end |
#lddt ⇒ Object
Returns the value of attribute lddt.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def lddt @lddt end |
#pair_geometry_component_count ⇒ Object
Returns the value of attribute pair_geometry_component_count.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def pair_geometry_component_count @pair_geometry_component_count end |
#pair_geometry_max_component_size ⇒ Object
Returns the value of attribute pair_geometry_max_component_size.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def pair_geometry_max_component_size @pair_geometry_max_component_size end |
#pair_geometry_shared_count ⇒ Object
Returns the value of attribute pair_geometry_shared_count.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def pair_geometry_shared_count @pair_geometry_shared_count end |
#query_tm_score ⇒ Object
Returns the value of attribute query_tm_score.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def query_tm_score @query_tm_score end |
#query_token_count ⇒ Object
Returns the value of attribute query_token_count.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def query_token_count @query_token_count end |
#rank_key ⇒ Object
Returns the value of attribute rank_key.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def rank_key @rank_key end |
#rerank_backend ⇒ Object
Returns the value of attribute rerank_backend.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def rerank_backend @rerank_backend end |
#rmsd_angstrom ⇒ Object
Returns the value of attribute rmsd_angstrom.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def rmsd_angstrom @rmsd_angstrom end |
#sequence_identity ⇒ Object
Returns the value of attribute sequence_identity.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def sequence_identity @sequence_identity end |
#sequence_len ⇒ Object
Returns the value of attribute sequence_len.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def sequence_len @sequence_len end |
#shared_token_count ⇒ Object
Returns the value of attribute shared_token_count.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def shared_token_count @shared_token_count end |
#target_tm_score ⇒ Object
Returns the value of attribute target_tm_score.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def target_tm_score @target_tm_score end |
#verified ⇒ Object
Returns the value of attribute verified.
32 33 34 |
# File 'lib/rafflesia/datasets/corpu_release_hit.rb', line 32 def verified @verified end |