Class: Rafflesia::BlastSearchRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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

#concurrencyObject

Returns the value of attribute concurrency.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def concurrency
  @concurrency
end

#databaseObject

Returns the value of attribute database.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def database
  @database
end

#dbObject

Returns the value of attribute db.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def db
  @db
end

#db_refsObject

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_runObject

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

#evalueObject

Returns the value of attribute evalue.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def evalue
  @evalue
end

#manifest_pathObject

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

#materializeObject

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_shardsObject

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_bytesObject

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_bytesObject

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_readsObject

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_seqsObject

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_scoreObject

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_formatObject

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_dirObject

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_formatObject

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_relationObject

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_modeObject

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_byObject

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_limitObject

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

#profileObject

Returns the value of attribute profile.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def profile
  @profile
end

#programObject

Returns the value of attribute program.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def program
  @program
end

#queryObject

Returns the value of attribute query.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def query
  @query
end

#relationObject

Returns the value of attribute relation.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def relation
  @relation
end

#releaseObject

Returns the value of attribute release.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def release
  @release
end

#require_routingObject

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_materializationObject

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_concurrencyObject

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_idObject

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_sizeObject

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_idObject

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_pathObject

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_candidatesObject

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_identityObject

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_nameObject

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_alignmentObject

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_cacheObject

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_versionObject

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_idsObject

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_idsObject

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_byObject

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_dirObject

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

#taskObject

Returns the value of attribute task.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def task
  @task
end

#threadsObject

Returns the value of attribute threads.



56
57
58
# File 'lib/rafflesia/sequences/blast_search_request.rb', line 56

def threads
  @threads
end