Class: Rafflesia::BlastSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BlastSearchRequest
- Defined in:
- lib/rafflesia/sequences/blast_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ concurrency: :concurrency, database: :database, db: :db, db_refs: :db_refs, dry_run: :dry_run, evalue: :evalue, manifest_path: :manifest_path, materialize: :materialize, max_exact_shards: :max_exact_shards, max_materialized_bytes: :max_materialized_bytes, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, 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, pack_access_mode: :pack_access_mode, partition_by: :partition_by, preview_limit: :preview_limit, profile: :profile, program: :program, query: :query, relation: :relation, release: :release, require_routing: :require_routing, require_zero_materialization: :require_zero_materialization, routing_concurrency: :routing_concurrency, routing_index_id: :routing_index_id, routing_kmer_size: :routing_kmer_size, routing_manifest_object_id: :routing_manifest_object_id, routing_manifest_path: :routing_manifest_path, routing_max_candidates: :routing_max_candidates, routing_min_identity: :routing_min_identity, routing_name: :routing_name, routing_rerank_alignment: :routing_rerank_alignment, routing_use_block_cache: :routing_use_block_cache, routing_version: :routing_version, routing_wal_object_ids: :routing_wal_object_ids, shard_ids: :shard_ids, sort_by: :sort_by, target_dir: :target_dir, task: :task, threads: :threads }.freeze
Instance Attribute Summary collapse
-
#concurrency ⇒ Object
Returns the value of attribute concurrency.
-
#database ⇒ Object
Returns the value of attribute database.
-
#db ⇒ Object
Returns the value of attribute db.
-
#db_refs ⇒ Object
Returns the value of attribute db_refs.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#evalue ⇒ Object
Returns the value of attribute evalue.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#materialize ⇒ Object
Returns the value of attribute materialize.
-
#max_exact_shards ⇒ Object
Returns the value of attribute max_exact_shards.
-
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#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.
-
#pack_access_mode ⇒ Object
Returns the value of attribute pack_access_mode.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#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.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#routing_concurrency ⇒ Object
Returns the value of attribute routing_concurrency.
-
#routing_index_id ⇒ Object
Returns the value of attribute routing_index_id.
-
#routing_kmer_size ⇒ Object
Returns the value of attribute routing_kmer_size.
-
#routing_manifest_object_id ⇒ Object
Returns the value of attribute routing_manifest_object_id.
-
#routing_manifest_path ⇒ Object
Returns the value of attribute routing_manifest_path.
-
#routing_max_candidates ⇒ Object
Returns the value of attribute routing_max_candidates.
-
#routing_min_identity ⇒ Object
Returns the value of attribute routing_min_identity.
-
#routing_name ⇒ Object
Returns the value of attribute routing_name.
-
#routing_rerank_alignment ⇒ Object
Returns the value of attribute routing_rerank_alignment.
-
#routing_use_block_cache ⇒ Object
Returns the value of attribute routing_use_block_cache.
-
#routing_version ⇒ Object
Returns the value of attribute routing_version.
-
#routing_wal_object_ids ⇒ Object
Returns the value of attribute routing_wal_object_ids.
-
#shard_ids ⇒ Object
Returns the value of attribute shard_ids.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#task ⇒ Object
Returns the value of attribute task.
-
#threads ⇒ Object
Returns the value of attribute threads.
Instance Method Summary collapse
-
#initialize(json) ⇒ BlastSearchRequest
constructor
A new instance of BlastSearchRequest.
Constructor Details
#initialize(json) ⇒ BlastSearchRequest
Returns a new instance of BlastSearchRequest.
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 103 def initialize(json) super() hash = self.class.normalize(json) @concurrency = hash[:concurrency] @database = hash[:database] @db = hash[:db] @db_refs = (hash[:db_refs] || []) @dry_run = hash[:dry_run] @evalue = hash[:evalue] @manifest_path = hash[:manifest_path] @materialize = hash[:materialize] @max_exact_shards = hash[:max_exact_shards] @max_materialized_bytes = hash[:max_materialized_bytes] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @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] @pack_access_mode = hash[:pack_access_mode] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @profile = hash[:profile] @program = hash[:program] @query = hash[:query] @relation = hash[:relation] @release = hash[:release] @require_routing = hash[:require_routing] @require_zero_materialization = hash[:require_zero_materialization] @routing_concurrency = hash[:routing_concurrency] @routing_index_id = hash[:routing_index_id] @routing_kmer_size = hash[:routing_kmer_size] @routing_manifest_object_id = hash[:routing_manifest_object_id] @routing_manifest_path = hash[:routing_manifest_path] @routing_max_candidates = hash[:routing_max_candidates] @routing_min_identity = hash[:routing_min_identity] @routing_name = hash[:routing_name] @routing_rerank_alignment = hash[:routing_rerank_alignment] @routing_use_block_cache = hash[:routing_use_block_cache] @routing_version = hash[:routing_version] @routing_wal_object_ids = (hash[:routing_wal_object_ids] || []) @shard_ids = (hash[:shard_ids] || []) @sort_by = (hash[:sort_by] || []) @target_dir = hash[:target_dir] @task = hash[:task] @threads = hash[:threads] end |
Instance Attribute Details
#concurrency ⇒ Object
Returns the value of attribute concurrency.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def concurrency @concurrency end |
#database ⇒ Object
Returns the value of attribute database.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def database @database end |
#db ⇒ Object
Returns the value of attribute db.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def db @db end |
#db_refs ⇒ Object
Returns the value of attribute db_refs.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def db_refs @db_refs end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def dry_run @dry_run end |
#evalue ⇒ Object
Returns the value of attribute evalue.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def evalue @evalue end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def manifest_path @manifest_path end |
#materialize ⇒ Object
Returns the value of attribute materialize.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def materialize @materialize end |
#max_exact_shards ⇒ Object
Returns the value of attribute max_exact_shards.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def max_exact_shards @max_exact_shards end |
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def max_materialized_bytes @max_materialized_bytes end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def max_object_reads @max_object_reads end |
#max_target_seqs ⇒ Object
Returns the value of attribute max_target_seqs.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def max_target_seqs @max_target_seqs end |
#min_bit_score ⇒ Object
Returns the value of attribute min_bit_score.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def min_bit_score @min_bit_score end |
#out_format ⇒ Object
Returns the value of attribute out_format.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def out_format @out_format end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def output_dir @output_dir end |
#output_format ⇒ Object
Returns the value of attribute output_format.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def output_relation @output_relation end |
#pack_access_mode ⇒ Object
Returns the value of attribute pack_access_mode.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def pack_access_mode @pack_access_mode end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def preview_limit @preview_limit end |
#profile ⇒ Object
Returns the value of attribute profile.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def profile @profile end |
#program ⇒ Object
Returns the value of attribute program.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def program @program end |
#query ⇒ Object
Returns the value of attribute query.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def query @query end |
#relation ⇒ Object
Returns the value of attribute relation.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def release @release end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def require_routing @require_routing end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def require_zero_materialization @require_zero_materialization end |
#routing_concurrency ⇒ Object
Returns the value of attribute routing_concurrency.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_concurrency @routing_concurrency end |
#routing_index_id ⇒ Object
Returns the value of attribute routing_index_id.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_index_id @routing_index_id end |
#routing_kmer_size ⇒ Object
Returns the value of attribute routing_kmer_size.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_kmer_size @routing_kmer_size end |
#routing_manifest_object_id ⇒ Object
Returns the value of attribute routing_manifest_object_id.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_manifest_object_id @routing_manifest_object_id end |
#routing_manifest_path ⇒ Object
Returns the value of attribute routing_manifest_path.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_manifest_path @routing_manifest_path end |
#routing_max_candidates ⇒ Object
Returns the value of attribute routing_max_candidates.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_max_candidates @routing_max_candidates end |
#routing_min_identity ⇒ Object
Returns the value of attribute routing_min_identity.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_min_identity @routing_min_identity end |
#routing_name ⇒ Object
Returns the value of attribute routing_name.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_name @routing_name end |
#routing_rerank_alignment ⇒ Object
Returns the value of attribute routing_rerank_alignment.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_rerank_alignment @routing_rerank_alignment end |
#routing_use_block_cache ⇒ Object
Returns the value of attribute routing_use_block_cache.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_use_block_cache @routing_use_block_cache end |
#routing_version ⇒ Object
Returns the value of attribute routing_version.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_version @routing_version end |
#routing_wal_object_ids ⇒ Object
Returns the value of attribute routing_wal_object_ids.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def routing_wal_object_ids @routing_wal_object_ids end |
#shard_ids ⇒ Object
Returns the value of attribute shard_ids.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def shard_ids @shard_ids end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def sort_by @sort_by end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def target_dir @target_dir end |
#task ⇒ Object
Returns the value of attribute task.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def task @task end |
#threads ⇒ Object
Returns the value of attribute threads.
56 57 58 |
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56 def threads @threads end |