Class: Rafflesia::CorpuReleaseSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseSearchRequest
- Defined in:
- lib/rafflesia/datasets/corpu_release_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_rank_strategy: :candidate_rank_strategy, corpus: :corpus, exact_rerank: :exact_rerank, exact_rerank_backend: :exact_rerank_backend, exact_rerank_rank_key: :exact_rerank_rank_key, family: :family, foldseek_binary_path: :foldseek_binary_path, max_candidates: :max_candidates, max_hits: :max_hits, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, max_query_posting_blocks: :max_query_posting_blocks, max_shards: :max_shards, max_verifications: :max_verifications, object_store_root: :object_store_root, postings_range_coalesce_gap_bytes: :postings_range_coalesce_gap_bytes, postings_range_coalesce_max_span_bytes: :postings_range_coalesce_max_span_bytes, query: :query, query_mode: :query_mode, query_sequence: :query_sequence, query_structure_file_name: :query_structure_file_name, query_structure_object_id: :query_structure_object_id, query_structure_path: :query_structure_path, ref: :ref, release_id: :release_id, require_zero_materialization: :require_zero_materialization, rerank_limit: :rerank_limit, routing_mode: :routing_mode, sequence_planner_calibration_path: :sequence_planner_calibration_path, sequence_planner_mode: :sequence_planner_mode, similar_kmer_max_variants: :similar_kmer_max_variants, similar_kmer_threshold: :similar_kmer_threshold, structure_pair_geometry_max_query_tokens: :structure_pair_geometry_max_query_tokens, structure_pair_geometry_min_shared_pairs: :structure_pair_geometry_min_shared_pairs, structure_pair_geometry_shift_bins: :structure_pair_geometry_shift_bins, structure_reverse_correction: :structure_reverse_correction, structure_search_preset: :structure_search_preset, structure_token_extractor: :structure_token_extractor, target_shard_score_coverage: :target_shard_score_coverage, target_structure_objects: :target_structure_objects, target_structure_paths: :target_structure_paths, tmalign_binary_path: :tmalign_binary_path, ungapped_diagonal_top_n: :ungapped_diagonal_top_n, use_structure_pair_geometry: :use_structure_pair_geometry, verification_band: :verification_band }.freeze
Instance Attribute Summary collapse
-
#candidate_rank_strategy ⇒ Object
Returns the value of attribute candidate_rank_strategy.
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#exact_rerank ⇒ Object
Returns the value of attribute exact_rerank.
-
#exact_rerank_backend ⇒ Object
Returns the value of attribute exact_rerank_backend.
-
#exact_rerank_rank_key ⇒ Object
Returns the value of attribute exact_rerank_rank_key.
-
#family ⇒ Object
Returns the value of attribute family.
-
#foldseek_binary_path ⇒ Object
Returns the value of attribute foldseek_binary_path.
-
#max_candidates ⇒ Object
Returns the value of attribute max_candidates.
-
#max_hits ⇒ Object
Returns the value of attribute max_hits.
-
#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_query_posting_blocks ⇒ Object
Returns the value of attribute max_query_posting_blocks.
-
#max_shards ⇒ Object
Returns the value of attribute max_shards.
-
#max_verifications ⇒ Object
Returns the value of attribute max_verifications.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#postings_range_coalesce_gap_bytes ⇒ Object
Returns the value of attribute postings_range_coalesce_gap_bytes.
-
#postings_range_coalesce_max_span_bytes ⇒ Object
Returns the value of attribute postings_range_coalesce_max_span_bytes.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_mode ⇒ Object
Returns the value of attribute query_mode.
-
#query_sequence ⇒ Object
Returns the value of attribute query_sequence.
-
#query_structure_file_name ⇒ Object
Returns the value of attribute query_structure_file_name.
-
#query_structure_object_id ⇒ Object
Returns the value of attribute query_structure_object_id.
-
#query_structure_path ⇒ Object
Returns the value of attribute query_structure_path.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#rerank_limit ⇒ Object
Returns the value of attribute rerank_limit.
-
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
-
#sequence_planner_calibration_path ⇒ Object
Returns the value of attribute sequence_planner_calibration_path.
-
#sequence_planner_mode ⇒ Object
Returns the value of attribute sequence_planner_mode.
-
#similar_kmer_max_variants ⇒ Object
Returns the value of attribute similar_kmer_max_variants.
-
#similar_kmer_threshold ⇒ Object
Returns the value of attribute similar_kmer_threshold.
-
#structure_pair_geometry_max_query_tokens ⇒ Object
Returns the value of attribute structure_pair_geometry_max_query_tokens.
-
#structure_pair_geometry_min_shared_pairs ⇒ Object
Returns the value of attribute structure_pair_geometry_min_shared_pairs.
-
#structure_pair_geometry_shift_bins ⇒ Object
Returns the value of attribute structure_pair_geometry_shift_bins.
-
#structure_reverse_correction ⇒ Object
Returns the value of attribute structure_reverse_correction.
-
#structure_search_preset ⇒ Object
Returns the value of attribute structure_search_preset.
-
#structure_token_extractor ⇒ Object
Returns the value of attribute structure_token_extractor.
-
#target_shard_score_coverage ⇒ Object
Returns the value of attribute target_shard_score_coverage.
-
#target_structure_objects ⇒ Object
Returns the value of attribute target_structure_objects.
-
#target_structure_paths ⇒ Object
Returns the value of attribute target_structure_paths.
-
#tmalign_binary_path ⇒ Object
Returns the value of attribute tmalign_binary_path.
-
#ungapped_diagonal_top_n ⇒ Object
Returns the value of attribute ungapped_diagonal_top_n.
-
#use_structure_pair_geometry ⇒ Object
Returns the value of attribute use_structure_pair_geometry.
-
#verification_band ⇒ Object
Returns the value of attribute verification_band.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseSearchRequest
constructor
A new instance of CorpuReleaseSearchRequest.
Constructor Details
#initialize(json) ⇒ CorpuReleaseSearchRequest
Returns a new instance of CorpuReleaseSearchRequest.
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/datasets/corpu_release_search_request.rb', line 103 def initialize(json) super() hash = self.class.normalize(json) @candidate_rank_strategy = hash[:candidate_rank_strategy] @corpus = hash[:corpus] @exact_rerank = hash[:exact_rerank] @exact_rerank_backend = hash[:exact_rerank_backend] @exact_rerank_rank_key = hash[:exact_rerank_rank_key] @family = hash[:family] @foldseek_binary_path = hash[:foldseek_binary_path] @max_candidates = hash[:max_candidates] @max_hits = hash[:max_hits] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @max_query_posting_blocks = hash[:max_query_posting_blocks] @max_shards = hash[:max_shards] @max_verifications = hash[:max_verifications] @object_store_root = hash[:object_store_root] @postings_range_coalesce_gap_bytes = hash[:postings_range_coalesce_gap_bytes] @postings_range_coalesce_max_span_bytes = hash[:postings_range_coalesce_max_span_bytes] @query = hash[:query] @query_mode = hash[:query_mode] @query_sequence = hash[:query_sequence] @query_structure_file_name = hash[:query_structure_file_name] @query_structure_object_id = hash[:query_structure_object_id] @query_structure_path = hash[:query_structure_path] @ref = hash[:ref] @release_id = hash[:release_id] @require_zero_materialization = hash[:require_zero_materialization] @rerank_limit = hash[:rerank_limit] @routing_mode = hash[:routing_mode] @sequence_planner_calibration_path = hash[:sequence_planner_calibration_path] @sequence_planner_mode = hash[:sequence_planner_mode] @similar_kmer_max_variants = hash[:similar_kmer_max_variants] @similar_kmer_threshold = hash[:similar_kmer_threshold] @structure_pair_geometry_max_query_tokens = hash[:structure_pair_geometry_max_query_tokens] @structure_pair_geometry_min_shared_pairs = hash[:structure_pair_geometry_min_shared_pairs] @structure_pair_geometry_shift_bins = hash[:structure_pair_geometry_shift_bins] @structure_reverse_correction = hash[:structure_reverse_correction] @structure_search_preset = hash[:structure_search_preset] @structure_token_extractor = hash[:structure_token_extractor] @target_shard_score_coverage = hash[:target_shard_score_coverage] @target_structure_objects = hash[:target_structure_objects] || {} @target_structure_paths = hash[:target_structure_paths] || {} @tmalign_binary_path = hash[:tmalign_binary_path] @ungapped_diagonal_top_n = hash[:ungapped_diagonal_top_n] @use_structure_pair_geometry = hash[:use_structure_pair_geometry] @verification_band = hash[:verification_band] end |
Instance Attribute Details
#candidate_rank_strategy ⇒ Object
Returns the value of attribute candidate_rank_strategy.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def candidate_rank_strategy @candidate_rank_strategy end |
#corpus ⇒ Object
Returns the value of attribute corpus.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def corpus @corpus end |
#exact_rerank ⇒ Object
Returns the value of attribute exact_rerank.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def exact_rerank @exact_rerank end |
#exact_rerank_backend ⇒ Object
Returns the value of attribute exact_rerank_backend.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def exact_rerank_backend @exact_rerank_backend end |
#exact_rerank_rank_key ⇒ Object
Returns the value of attribute exact_rerank_rank_key.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def exact_rerank_rank_key @exact_rerank_rank_key end |
#family ⇒ Object
Returns the value of attribute family.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def family @family end |
#foldseek_binary_path ⇒ Object
Returns the value of attribute foldseek_binary_path.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def foldseek_binary_path @foldseek_binary_path end |
#max_candidates ⇒ Object
Returns the value of attribute max_candidates.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def max_candidates @max_candidates end |
#max_hits ⇒ Object
Returns the value of attribute max_hits.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def max_hits @max_hits end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_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/datasets/corpu_release_search_request.rb', line 56 def max_object_reads @max_object_reads end |
#max_query_posting_blocks ⇒ Object
Returns the value of attribute max_query_posting_blocks.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def max_query_posting_blocks @max_query_posting_blocks end |
#max_shards ⇒ Object
Returns the value of attribute max_shards.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def max_shards @max_shards end |
#max_verifications ⇒ Object
Returns the value of attribute max_verifications.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def max_verifications @max_verifications end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def object_store_root @object_store_root end |
#postings_range_coalesce_gap_bytes ⇒ Object
Returns the value of attribute postings_range_coalesce_gap_bytes.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def postings_range_coalesce_gap_bytes @postings_range_coalesce_gap_bytes end |
#postings_range_coalesce_max_span_bytes ⇒ Object
Returns the value of attribute postings_range_coalesce_max_span_bytes.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def postings_range_coalesce_max_span_bytes @postings_range_coalesce_max_span_bytes end |
#query ⇒ Object
Returns the value of attribute query.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query @query end |
#query_mode ⇒ Object
Returns the value of attribute query_mode.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query_mode @query_mode end |
#query_sequence ⇒ Object
Returns the value of attribute query_sequence.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query_sequence @query_sequence end |
#query_structure_file_name ⇒ Object
Returns the value of attribute query_structure_file_name.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query_structure_file_name @query_structure_file_name end |
#query_structure_object_id ⇒ Object
Returns the value of attribute query_structure_object_id.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query_structure_object_id @query_structure_object_id end |
#query_structure_path ⇒ Object
Returns the value of attribute query_structure_path.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def query_structure_path @query_structure_path end |
#ref ⇒ Object
Returns the value of attribute ref.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def ref @ref end |
#release_id ⇒ Object
Returns the value of attribute release_id.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def release_id @release_id end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def require_zero_materialization @require_zero_materialization end |
#rerank_limit ⇒ Object
Returns the value of attribute rerank_limit.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def rerank_limit @rerank_limit end |
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def routing_mode @routing_mode end |
#sequence_planner_calibration_path ⇒ Object
Returns the value of attribute sequence_planner_calibration_path.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def sequence_planner_calibration_path @sequence_planner_calibration_path end |
#sequence_planner_mode ⇒ Object
Returns the value of attribute sequence_planner_mode.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def sequence_planner_mode @sequence_planner_mode end |
#similar_kmer_max_variants ⇒ Object
Returns the value of attribute similar_kmer_max_variants.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def similar_kmer_max_variants @similar_kmer_max_variants end |
#similar_kmer_threshold ⇒ Object
Returns the value of attribute similar_kmer_threshold.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def similar_kmer_threshold @similar_kmer_threshold end |
#structure_pair_geometry_max_query_tokens ⇒ Object
Returns the value of attribute structure_pair_geometry_max_query_tokens.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_pair_geometry_max_query_tokens @structure_pair_geometry_max_query_tokens end |
#structure_pair_geometry_min_shared_pairs ⇒ Object
Returns the value of attribute structure_pair_geometry_min_shared_pairs.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_pair_geometry_min_shared_pairs @structure_pair_geometry_min_shared_pairs end |
#structure_pair_geometry_shift_bins ⇒ Object
Returns the value of attribute structure_pair_geometry_shift_bins.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_pair_geometry_shift_bins @structure_pair_geometry_shift_bins end |
#structure_reverse_correction ⇒ Object
Returns the value of attribute structure_reverse_correction.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_reverse_correction @structure_reverse_correction end |
#structure_search_preset ⇒ Object
Returns the value of attribute structure_search_preset.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_search_preset @structure_search_preset end |
#structure_token_extractor ⇒ Object
Returns the value of attribute structure_token_extractor.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def structure_token_extractor @structure_token_extractor end |
#target_shard_score_coverage ⇒ Object
Returns the value of attribute target_shard_score_coverage.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def target_shard_score_coverage @target_shard_score_coverage end |
#target_structure_objects ⇒ Object
Returns the value of attribute target_structure_objects.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def target_structure_objects @target_structure_objects end |
#target_structure_paths ⇒ Object
Returns the value of attribute target_structure_paths.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def target_structure_paths @target_structure_paths end |
#tmalign_binary_path ⇒ Object
Returns the value of attribute tmalign_binary_path.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def tmalign_binary_path @tmalign_binary_path end |
#ungapped_diagonal_top_n ⇒ Object
Returns the value of attribute ungapped_diagonal_top_n.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def ungapped_diagonal_top_n @ungapped_diagonal_top_n end |
#use_structure_pair_geometry ⇒ Object
Returns the value of attribute use_structure_pair_geometry.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def use_structure_pair_geometry @use_structure_pair_geometry end |
#verification_band ⇒ Object
Returns the value of attribute verification_band.
56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_search_request.rb', line 56 def verification_band @verification_band end |