Class: Rafflesia::FoldHit
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldHit
- Defined in:
- lib/rafflesia/proteins/fold_hit.rb
Constant Summary collapse
- HASH_ATTRS =
{ aligned_residues: :aligned_residues, alignment_object_id: :alignment_object_id, atom_count_delta: :atom_count_delta, backend: :backend, bits: :bits, chain_count_delta: :chain_count_delta, evalue: :evalue, geometry_overlap: :geometry_overlap, hit_id: :hit_id, lddt: :lddt, length_similarity: :length_similarity, probability: :probability, query_coverage: :query_coverage, query_id: :query_id, query_tm_score: :query_tm_score, residue_count_delta: :residue_count_delta, rmsd_angstrom: :rmsd_angstrom, sequence_identity: :sequence_identity, shard_id: :shard_id, target_coverage: :target_coverage, target_id: :target_id, target_tm_score: :target_tm_score, tm_score: :tm_score }.freeze
Instance Attribute Summary collapse
-
#aligned_residues ⇒ Object
Returns the value of attribute aligned_residues.
-
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
-
#atom_count_delta ⇒ Object
Returns the value of attribute atom_count_delta.
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#bits ⇒ Object
Returns the value of attribute bits.
-
#chain_count_delta ⇒ Object
Returns the value of attribute chain_count_delta.
-
#evalue ⇒ Object
Returns the value of attribute evalue.
-
#geometry_overlap ⇒ Object
Returns the value of attribute geometry_overlap.
-
#hit_id ⇒ Object
Returns the value of attribute hit_id.
-
#lddt ⇒ Object
Returns the value of attribute lddt.
-
#length_similarity ⇒ Object
Returns the value of attribute length_similarity.
-
#probability ⇒ Object
Returns the value of attribute probability.
-
#query_coverage ⇒ Object
Returns the value of attribute query_coverage.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#query_tm_score ⇒ Object
Returns the value of attribute query_tm_score.
-
#residue_count_delta ⇒ Object
Returns the value of attribute residue_count_delta.
-
#rmsd_angstrom ⇒ Object
Returns the value of attribute rmsd_angstrom.
-
#sequence_identity ⇒ Object
Returns the value of attribute sequence_identity.
-
#shard_id ⇒ Object
Returns the value of attribute shard_id.
-
#target_coverage ⇒ Object
Returns the value of attribute target_coverage.
-
#target_id ⇒ Object
Returns the value of attribute target_id.
-
#target_tm_score ⇒ Object
Returns the value of attribute target_tm_score.
-
#tm_score ⇒ Object
Returns the value of attribute tm_score.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldHit
constructor
A new instance of FoldHit.
Constructor Details
#initialize(json) ⇒ FoldHit
Returns a new instance of FoldHit.
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/proteins/fold_hit.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @aligned_residues = hash[:aligned_residues] @alignment_object_id = hash[:alignment_object_id] @atom_count_delta = hash[:atom_count_delta] @backend = hash[:backend] @bits = hash[:bits] @chain_count_delta = hash[:chain_count_delta] @evalue = hash[:evalue] @geometry_overlap = hash[:geometry_overlap] @hit_id = hash[:hit_id] @lddt = hash[:lddt] @length_similarity = hash[:length_similarity] @probability = hash[:probability] @query_coverage = hash[:query_coverage] @query_id = hash[:query_id] @query_tm_score = hash[:query_tm_score] @residue_count_delta = hash[:residue_count_delta] @rmsd_angstrom = hash[:rmsd_angstrom] @sequence_identity = hash[:sequence_identity] @shard_id = hash[:shard_id] @target_coverage = hash[:target_coverage] @target_id = hash[:target_id] @target_tm_score = hash[:target_tm_score] @tm_score = hash[:tm_score] end |
Instance Attribute Details
#aligned_residues ⇒ Object
Returns the value of attribute aligned_residues.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def aligned_residues @aligned_residues end |
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def alignment_object_id @alignment_object_id end |
#atom_count_delta ⇒ Object
Returns the value of attribute atom_count_delta.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def atom_count_delta @atom_count_delta end |
#backend ⇒ Object
Returns the value of attribute backend.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def backend @backend end |
#bits ⇒ Object
Returns the value of attribute bits.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def bits @bits end |
#chain_count_delta ⇒ Object
Returns the value of attribute chain_count_delta.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def chain_count_delta @chain_count_delta end |
#evalue ⇒ Object
Returns the value of attribute evalue.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def evalue @evalue end |
#geometry_overlap ⇒ Object
Returns the value of attribute geometry_overlap.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def geometry_overlap @geometry_overlap end |
#hit_id ⇒ Object
Returns the value of attribute hit_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def hit_id @hit_id end |
#lddt ⇒ Object
Returns the value of attribute lddt.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def lddt @lddt end |
#length_similarity ⇒ Object
Returns the value of attribute length_similarity.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def length_similarity @length_similarity end |
#probability ⇒ Object
Returns the value of attribute probability.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def probability @probability end |
#query_coverage ⇒ Object
Returns the value of attribute query_coverage.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def query_coverage @query_coverage end |
#query_id ⇒ Object
Returns the value of attribute query_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def query_id @query_id end |
#query_tm_score ⇒ Object
Returns the value of attribute query_tm_score.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def query_tm_score @query_tm_score end |
#residue_count_delta ⇒ Object
Returns the value of attribute residue_count_delta.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def residue_count_delta @residue_count_delta end |
#rmsd_angstrom ⇒ Object
Returns the value of attribute rmsd_angstrom.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def rmsd_angstrom @rmsd_angstrom end |
#sequence_identity ⇒ Object
Returns the value of attribute sequence_identity.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def sequence_identity @sequence_identity end |
#shard_id ⇒ Object
Returns the value of attribute shard_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def shard_id @shard_id end |
#target_coverage ⇒ Object
Returns the value of attribute target_coverage.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def target_coverage @target_coverage end |
#target_id ⇒ Object
Returns the value of attribute target_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def target_id @target_id end |
#target_tm_score ⇒ Object
Returns the value of attribute target_tm_score.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def target_tm_score @target_tm_score end |
#tm_score ⇒ Object
Returns the value of attribute tm_score.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_hit.rb', line 34 def tm_score @tm_score end |