Class: Rafflesia::CoevolutionRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CoevolutionRequest
- Defined in:
- lib/rafflesia/sequences/coevolution_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ alignment_object_id: :alignment_object_id, alignment_path: :alignment_path, max_gap_fraction: :max_gap_fraction, max_sequences: :max_sequences, method: :method, min_separation: :min_separation, pseudocount: :pseudocount, reference: :reference, reference_start: :reference_start, reweight_identity: :reweight_identity, top: :top }.freeze
Instance Attribute Summary collapse
-
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
-
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
-
#max_gap_fraction ⇒ Object
Returns the value of attribute max_gap_fraction.
-
#max_sequences ⇒ Object
Returns the value of attribute max_sequences.
-
#method ⇒ Object
Returns the value of attribute method.
-
#min_separation ⇒ Object
Returns the value of attribute min_separation.
-
#pseudocount ⇒ Object
Returns the value of attribute pseudocount.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#reference_start ⇒ Object
Returns the value of attribute reference_start.
-
#reweight_identity ⇒ Object
Returns the value of attribute reweight_identity.
-
#top ⇒ Object
Returns the value of attribute top.
Instance Method Summary collapse
-
#initialize(json) ⇒ CoevolutionRequest
constructor
A new instance of CoevolutionRequest.
Constructor Details
#initialize(json) ⇒ CoevolutionRequest
Returns a new instance of CoevolutionRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @alignment_object_id = hash[:alignment_object_id] @alignment_path = hash[:alignment_path] @max_gap_fraction = hash[:max_gap_fraction] @max_sequences = hash[:max_sequences] @method = hash[:method] @min_separation = hash[:min_separation] @pseudocount = hash[:pseudocount] @reference = hash[:reference] @reference_start = hash[:reference_start] @reweight_identity = hash[:reweight_identity] @top = hash[:top] end |
Instance Attribute Details
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def alignment_object_id @alignment_object_id end |
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def alignment_path @alignment_path end |
#max_gap_fraction ⇒ Object
Returns the value of attribute max_gap_fraction.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def max_gap_fraction @max_gap_fraction end |
#max_sequences ⇒ Object
Returns the value of attribute max_sequences.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def max_sequences @max_sequences end |
#method ⇒ Object
Returns the value of attribute method.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def method @method end |
#min_separation ⇒ Object
Returns the value of attribute min_separation.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def min_separation @min_separation end |
#pseudocount ⇒ Object
Returns the value of attribute pseudocount.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def pseudocount @pseudocount end |
#reference ⇒ Object
Returns the value of attribute reference.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def reference @reference end |
#reference_start ⇒ Object
Returns the value of attribute reference_start.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def reference_start @reference_start end |
#reweight_identity ⇒ Object
Returns the value of attribute reweight_identity.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def reweight_identity @reweight_identity end |
#top ⇒ Object
Returns the value of attribute top.
22 23 24 |
# File 'lib/rafflesia/sequences/coevolution_request.rb', line 22 def top @top end |