Class: Rafflesia::LocalDistanceDifferenceData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::LocalDistanceDifferenceData
- Defined in:
- lib/rafflesia/proteins/local_distance_difference_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, compared_residue_count: :compared_residue_count, cutoff_angstrom: :cutoff_angstrom, lddt: :lddt, local_pair_count: :local_pair_count, method: :method, passing_threshold_counts: :passing_threshold_counts, query_residue_count: :query_residue_count, query_structure_id: :query_structure_id, target_residue_count: :target_residue_count, target_structure_id: :target_structure_id, thresholds: :thresholds, unmatched_query_count: :unmatched_query_count, unmatched_target_count: :unmatched_target_count }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#compared_residue_count ⇒ Object
Returns the value of attribute compared_residue_count.
-
#cutoff_angstrom ⇒ Object
Returns the value of attribute cutoff_angstrom.
-
#lddt ⇒ Object
Returns the value of attribute lddt.
-
#local_pair_count ⇒ Object
Returns the value of attribute local_pair_count.
-
#method ⇒ Object
Returns the value of attribute method.
-
#passing_threshold_counts ⇒ Object
Returns the value of attribute passing_threshold_counts.
-
#query_residue_count ⇒ Object
Returns the value of attribute query_residue_count.
-
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
-
#target_residue_count ⇒ Object
Returns the value of attribute target_residue_count.
-
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
-
#thresholds ⇒ Object
Returns the value of attribute thresholds.
-
#unmatched_query_count ⇒ Object
Returns the value of attribute unmatched_query_count.
-
#unmatched_target_count ⇒ Object
Returns the value of attribute unmatched_target_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ LocalDistanceDifferenceData
constructor
A new instance of LocalDistanceDifferenceData.
Constructor Details
#initialize(json) ⇒ LocalDistanceDifferenceData
Returns a new instance of LocalDistanceDifferenceData.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @compared_residue_count = hash[:compared_residue_count] @cutoff_angstrom = hash[:cutoff_angstrom] @lddt = hash[:lddt] @local_pair_count = hash[:local_pair_count] @method = hash[:method] @passing_threshold_counts = (hash[:passing_threshold_counts] || []) @query_residue_count = hash[:query_residue_count] @query_structure_id = hash[:query_structure_id] @target_residue_count = hash[:target_residue_count] @target_structure_id = hash[:target_structure_id] @thresholds = (hash[:thresholds] || []) @unmatched_query_count = hash[:unmatched_query_count] @unmatched_target_count = hash[:unmatched_target_count] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def backend @backend end |
#compared_residue_count ⇒ Object
Returns the value of attribute compared_residue_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def compared_residue_count @compared_residue_count end |
#cutoff_angstrom ⇒ Object
Returns the value of attribute cutoff_angstrom.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def cutoff_angstrom @cutoff_angstrom end |
#lddt ⇒ Object
Returns the value of attribute lddt.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def lddt @lddt end |
#local_pair_count ⇒ Object
Returns the value of attribute local_pair_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def local_pair_count @local_pair_count end |
#method ⇒ Object
Returns the value of attribute method.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def method @method end |
#passing_threshold_counts ⇒ Object
Returns the value of attribute passing_threshold_counts.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def passing_threshold_counts @passing_threshold_counts end |
#query_residue_count ⇒ Object
Returns the value of attribute query_residue_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def query_residue_count @query_residue_count end |
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def query_structure_id @query_structure_id end |
#target_residue_count ⇒ Object
Returns the value of attribute target_residue_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def target_residue_count @target_residue_count end |
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def target_structure_id @target_structure_id end |
#thresholds ⇒ Object
Returns the value of attribute thresholds.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def thresholds @thresholds end |
#unmatched_query_count ⇒ Object
Returns the value of attribute unmatched_query_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def unmatched_query_count @unmatched_query_count end |
#unmatched_target_count ⇒ Object
Returns the value of attribute unmatched_target_count.
25 26 27 |
# File 'lib/rafflesia/proteins/local_distance_difference_data.rb', line 25 def unmatched_target_count @unmatched_target_count end |