Class: Rafflesia::MmseqSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MmseqSearchRequest
- Defined in:
- lib/rafflesia/sequences/mmseq_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, dry_run: :dry_run, extra_args: :extra_args, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, max_seqs: :max_seqs, min_bits: :min_bits, output_dir: :output_dir, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, query: :query, relation: :relation, release: :release, sensitivity: :sensitivity, shards: :shards, sort_by: :sort_by, target: :target, target_dir: :target_dir, threads: :threads }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
-
#min_bits ⇒ Object
Returns the value of attribute min_bits.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#query ⇒ Object
Returns the value of attribute query.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
-
#shards ⇒ Object
Returns the value of attribute shards.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#target ⇒ Object
Returns the value of attribute target.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#threads ⇒ Object
Returns the value of attribute threads.
Instance Method Summary collapse
-
#initialize(json) ⇒ MmseqSearchRequest
constructor
A new instance of MmseqSearchRequest.
Constructor Details
#initialize(json) ⇒ MmseqSearchRequest
Returns a new instance of MmseqSearchRequest.
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/sequences/mmseq_search_request.rb', line 55 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @dry_run = hash[:dry_run] @extra_args = (hash[:extra_args] || []) @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @max_seqs = hash[:max_seqs] @min_bits = hash[:min_bits] @output_dir = hash[:output_dir] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @query = hash[:query] @relation = hash[:relation] @release = hash[:release] @sensitivity = hash[:sensitivity] @shards = (hash[:shards] || []) @sort_by = (hash[:sort_by] || []) @target = hash[:target] @target_dir = hash[:target_dir] @threads = hash[:threads] end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def database @database end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def dry_run @dry_run end |
#extra_args ⇒ Object
Returns the value of attribute extra_args.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def extra_args @extra_args end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def manifest_path @manifest_path end |
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def max_seqs @max_seqs end |
#min_bits ⇒ Object
Returns the value of attribute min_bits.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def min_bits @min_bits end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def output_dir @output_dir end |
#output_format ⇒ Object
Returns the value of attribute output_format.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def preview_limit @preview_limit end |
#query ⇒ Object
Returns the value of attribute query.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def query @query end |
#relation ⇒ Object
Returns the value of attribute relation.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def release @release end |
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def sensitivity @sensitivity end |
#shards ⇒ Object
Returns the value of attribute shards.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def shards @shards end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def sort_by @sort_by end |
#target ⇒ Object
Returns the value of attribute target.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def target @target end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def target_dir @target_dir end |
#threads ⇒ Object
Returns the value of attribute threads.
32 33 34 |
# File 'lib/rafflesia/sequences/mmseq_search_request.rb', line 32 def threads @threads end |