Class: Rafflesia::DiamondSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DiamondSearchRequest
- Defined in:
- lib/rafflesia/sequences/diamond_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, db: :db, dry_run: :dry_run, evalue: :evalue, extra_args: :extra_args, manifest_path: :manifest_path, materialize: :materialize, max_target_seqs: :max_target_seqs, min_bit_score: :min_bit_score, out_format: :out_format, output_dir: :output_dir, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, program: :program, query: :query, query_gencode: :query_gencode, relation: :relation, release: :release, sort_by: :sort_by, target_dir: :target_dir, threads: :threads }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#db ⇒ Object
Returns the value of attribute db.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#evalue ⇒ Object
Returns the value of attribute evalue.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#materialize ⇒ Object
Returns the value of attribute materialize.
-
#max_target_seqs ⇒ Object
Returns the value of attribute max_target_seqs.
-
#min_bit_score ⇒ Object
Returns the value of attribute min_bit_score.
-
#out_format ⇒ Object
Returns the value of attribute out_format.
-
#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.
-
#program ⇒ Object
Returns the value of attribute program.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_gencode ⇒ Object
Returns the value of attribute query_gencode.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#threads ⇒ Object
Returns the value of attribute threads.
Instance Method Summary collapse
-
#initialize(json) ⇒ DiamondSearchRequest
constructor
A new instance of DiamondSearchRequest.
Constructor Details
#initialize(json) ⇒ DiamondSearchRequest
Returns a new instance of DiamondSearchRequest.
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/sequences/diamond_search_request.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @db = hash[:db] @dry_run = hash[:dry_run] @evalue = hash[:evalue] @extra_args = (hash[:extra_args] || []) @manifest_path = hash[:manifest_path] @materialize = hash[:materialize] @max_target_seqs = hash[:max_target_seqs] @min_bit_score = hash[:min_bit_score] @out_format = hash[:out_format] @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] @program = hash[:program] @query = hash[:query] @query_gencode = hash[:query_gencode] @relation = hash[:relation] @release = hash[:release] @sort_by = (hash[:sort_by] || []) @target_dir = hash[:target_dir] @threads = hash[:threads] end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def database @database end |
#db ⇒ Object
Returns the value of attribute db.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def db @db end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def dry_run @dry_run end |
#evalue ⇒ Object
Returns the value of attribute evalue.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def evalue @evalue end |
#extra_args ⇒ Object
Returns the value of attribute extra_args.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def extra_args @extra_args end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def manifest_path @manifest_path end |
#materialize ⇒ Object
Returns the value of attribute materialize.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def materialize @materialize end |
#max_target_seqs ⇒ Object
Returns the value of attribute max_target_seqs.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def max_target_seqs @max_target_seqs end |
#min_bit_score ⇒ Object
Returns the value of attribute min_bit_score.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def min_bit_score @min_bit_score end |
#out_format ⇒ Object
Returns the value of attribute out_format.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def out_format @out_format end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def output_dir @output_dir end |
#output_format ⇒ Object
Returns the value of attribute output_format.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def preview_limit @preview_limit end |
#program ⇒ Object
Returns the value of attribute program.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def program @program end |
#query ⇒ Object
Returns the value of attribute query.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def query @query end |
#query_gencode ⇒ Object
Returns the value of attribute query_gencode.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def query_gencode @query_gencode end |
#relation ⇒ Object
Returns the value of attribute relation.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def sort_by @sort_by end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def target_dir @target_dir end |
#threads ⇒ Object
Returns the value of attribute threads.
34 35 36 |
# File 'lib/rafflesia/sequences/diamond_search_request.rb', line 34 def threads @threads end |