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