Class: Rafflesia::Sequences
- Inherits:
-
Object
- Object
- Rafflesia::Sequences
- Defined in:
- lib/rafflesia/sequences.rb
Instance Method Summary collapse
-
#alignmentsAlign(query:, target:, gap: nil, match: nil, mismatch: nil, query_positions: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceAlignData
POST /v1/sequences/alignments/align.
-
#catalogsBuild(name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, source_database_snapshot: nil, source_tool_version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogBuildData
POST /v1/sequences/catalogs/build.
-
#catalogsInspect(catalog_id: nil, catalog_object_id: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogInspectData
POST /v1/sequences/catalogs/inspect.
-
#catalogsList(name: nil, version: nil, limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogListData
GET /v1/sequences/catalogs/list.
-
#indexesBlastBuild(name:, version:, allow_unbenchmarked_publish: nil, blastdb_version: nil, dry_run: nil, extra_args: nil, index_format: nil, input_file_name: nil, input_object_id: nil, input_path: nil, molecule: nil, output_dir: nil, parse_seqids: nil, register_manifest: nil, store_artifacts: nil, title: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbBuildData
POST /v1/sequences/indexes/blast/build.
-
#indexesBlastDescribe(manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbDescribeData
POST /v1/sequences/indexes/blast/describe.
-
#indexesBlastEvict(dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbEvictData
POST /v1/sequences/indexes/blast/evict.
-
#indexesBlastList(limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbListData
GET /v1/sequences/indexes/blast/list.
-
#indexesBlastMaterialize(manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbMaterializeData
POST /v1/sequences/indexes/blast/materialize.
-
#indexesBlastPublish(allow_unbenchmarked_publish: nil, benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, ref: nil, require_benchmark: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbPublishData
POST /v1/sequences/indexes/blast/publish.
-
#indexesBlastVerify(manifest_path: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbVerifyData
POST /v1/sequences/indexes/blast/verify.
-
#indexesCandidatesApply(namespace:, build_policy: nil, dataset_name: nil, dataset_version: nil, decision_object_id: nil, decision_path: nil, input_object_id: nil, input_path: nil, name: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateApplyData
POST /v1/sequences/indexes/candidates/apply.
-
#indexesCandidatesBenchmark(namespace:, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, min_top_hit_identity: nil, queries_object_id: nil, queries_path: nil, query_mode: nil, require_top_hit_id_matches_query_id: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateBenchmarkData
POST /v1/sequences/indexes/candidates/benchmark.
-
#indexesCandidatesBuild(build_policy: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, minimizer_window: nil, name: nil, namespace: nil, payload_shard_records: nil, reduced_alphabet: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateBuildData
POST /v1/sequences/indexes/candidates/build.
-
#indexesCandidatesGc(namespace:, apply: nil, from_generation: nil, keep_last_generations: nil, max_garbage_keys: nil, min_generation_age_ms: nil, now_unix_ms: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateGcPlanData
POST /v1/sequences/indexes/candidates/gc.
-
#indexesCandidatesInspect(namespace:, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateInspectData
POST /v1/sequences/indexes/candidates/inspect.
-
#indexesCandidatesSweep(case_timeout_ms: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_sizes: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, minimizer_windows: nil, name: nil, namespace_prefix: nil, payload_shard_records: nil, publish_selected_namespace: nil, queries_object_id: nil, queries_path: nil, query_modes: nil, reduced_alphabets: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateSweepData
POST /v1/sequences/indexes/candidates/sweep.
-
#indexesCandidatesVerify(namespace:, check_gc_plan: nil, expected_source_sha_256: nil, max_gc_garbage_count: nil, max_object_bytes: nil, max_object_reads: nil, min_record_count: nil, min_top_hit_identity: nil, probe_max_hits: nil, probe_query: nil, require_payload_shards: nil, require_posting_segment: nil, require_probe_hit: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateVerifyData
POST /v1/sequences/indexes/candidates/verify.
-
#indexesDiamondBuild(name:, version:, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, register_manifest: nil, store_artifacts: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbBuildData
POST /v1/sequences/indexes/diamond/build.
-
#indexesDiamondCatalogBuild(name:, version:, catalog: nil, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, shard_count: nil, store_root: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondCatalogBuildData
POST /v1/sequences/indexes/diamond/catalog/build.
-
#indexesDiamondDescribe(manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbDescribeData
POST /v1/sequences/indexes/diamond/describe.
-
#indexesDiamondEvict(dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbEvictData
POST /v1/sequences/indexes/diamond/evict.
-
#indexesDiamondList(limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbListData
GET /v1/sequences/indexes/diamond/list.
-
#indexesDiamondMaterialize(manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbMaterializeData
POST /v1/sequences/indexes/diamond/materialize.
-
#indexesDiamondPublish(manifest_object_id: nil, manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbPublishData
POST /v1/sequences/indexes/diamond/publish.
-
#indexesDiamondVerify(manifest_path: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbVerifyData
POST /v1/sequences/indexes/diamond/verify.
-
#indexesSeedBenchmark(queries_path:, concurrency: nil, db: nil, index_id: nil, input_object_id: nil, input_path: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_identity: nil, min_mean_overlap_fraction: nil, name: nil, payload_block_size: nil, posting_block_size: nil, require_zero_materialization: nil, rerank_alignment: nil, store_artifact: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexBenchmarkData
POST /v1/sequences/indexes/seed/benchmark.
-
#indexesSeedBuild(name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, payload_block_size: nil, payload_lite: nil, posting_block_size: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexBuildData
POST /v1/sequences/indexes/seed/build.
-
#indexesSeedCompact(name:, version:, base_index_id: nil, base_manifest_object_id: nil, base_manifest_path: nil, base_name: nil, base_version: nil, dataset_name: nil, dataset_version: nil, kmer_size: nil, payload_block_size: nil, posting_block_size: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexCompactData
POST /v1/sequences/indexes/seed/compact.
-
#indexesSeedDescribe(index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexInspectData
POST /v1/sequences/indexes/seed/describe.
-
#indexesSeedList(name: nil, version: nil, limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexListData
GET /v1/sequences/indexes/seed/list.
-
#indexesSeedMerge(name:, segment_manifest_object_ids:, version:, dataset_name: nil, dataset_version: nil, kmer_size: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexMergeData
POST /v1/sequences/indexes/seed/merge.
-
#indexesSeedPlan(query:, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes: nil, max_object_reads: nil, name: nil, require_zero_materialization: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexPlanData
POST /v1/sequences/indexes/seed/plan.
-
#indexesSeedPublish(benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_mean_overlap_fraction: nil, require_benchmark: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexInspectData
POST /v1/sequences/indexes/seed/publish.
-
#indexesSeedVerify(check_blocks: nil, index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexVerifyData
POST /v1/sequences/indexes/seed/verify.
-
#indexesSeedWalAppend(index_id: nil, input_object_id: nil, input_path: nil, manifest_object_id: nil, manifest_path: nil, name: nil, records: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexWalAppendData
POST /v1/sequences/indexes/seed/wal/append.
-
#indexesSegmentsBuild(algorithm:, name:, version:, block_size_bytes: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, key_mode: nil, tool_name: nil, tool_version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentBuildData
POST /v1/sequences/indexes/segments/build.
-
#indexesSegmentsDescribe(manifest_object_id: nil, manifest_path: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentDescribeData
POST /v1/sequences/indexes/segments/describe.
-
#indexesSegmentsGc(candidate_manifest_object_ids: nil, candidate_manifest_paths: nil, dry_run: nil, keep_manifest_object_ids: nil, keep_manifest_paths: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentGcData
POST /v1/sequences/indexes/segments/gc.
-
#indexesSegmentsPlan(manifest_object_id: nil, manifest_path: nil, max_blocks: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentPlanData
POST /v1/sequences/indexes/segments/plan.
-
#indexesSegmentsPrefetch(manifest_object_id: nil, manifest_path: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentPrefetchData
POST /v1/sequences/indexes/segments/prefetch.
-
#initialize(client) ⇒ Sequences
constructor
A new instance of Sequences.
-
#msaBuild(backend: nil, cache_mode: nil, dry_run: nil, extra_args: nil, input_object_id: nil, input_path: nil, inputs: nil, output_dir: nil, strategy: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaBuildData
POST /v1/sequences/msa/build.
-
#msaCoevolution(alignment_object_id: nil, alignment_path: nil, max_gap_fraction: nil, max_sequences: nil, method_: nil, min_separation: nil, pseudocount: nil, reference: nil, reference_start: nil, reweight_identity: nil, top: nil, request_options: {}) ⇒ Rafflesia::EnvelopeCoevolutionData
POST /v1/sequences/msa/coevolution.
-
#msaFromSearch(query:, cache_mode: nil, db: nil, dry_run: nil, extra_args: nil, hit_fasta_path: nil, homology_search_id: nil, include_query: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_dir: nil, search_backend: nil, search_object_id: nil, sequence_catalog_object_id: nil, strategy: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaFromSearchData
POST /v1/sequences/msa/from-search.
-
#msaInspect(alignment_object_id: nil, alignment_path: nil, database: nil, include_columns: nil, max_columns: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaInspectData
POST /v1/sequences/msa/inspect.
-
#profilesBuild(alignment_object_id: nil, alignment_path: nil, cache_mode: nil, dry_run: nil, extra_args: nil, name: nil, output_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeProfileBuildData
POST /v1/sequences/profiles/build.
-
#recordsFetch(target_id:, allow_network: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceData
POST /v1/sequences/records/fetch.
-
#recordsImport(path:, target_id: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceImportData
POST /v1/sequences/records/import.
-
#recordsInspect(sequence_id:, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceInspectData
POST /v1/sequences/records/inspect.
-
#search(query:, database: nil, db: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSearchData
POST /v1/sequences/search.
-
#searchBlast(query:, concurrency: nil, database: nil, db: nil, db_refs: nil, dry_run: nil, evalue: nil, manifest_path: nil, materialize: nil, max_exact_shards: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, pack_access_mode: nil, partition_by: nil, preview_limit: nil, profile: nil, program: nil, relation: nil, release: nil, require_routing: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, routing_wal_object_ids: nil, shard_ids: nil, sort_by: nil, target_dir: nil, task: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchData
POST /v1/sequences/search/blast.
-
#searchBlastBenchmark(query:, db: nil, evalue: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, output_dir: nil, profile: nil, program: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, store_artifact: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchBenchmarkData
POST /v1/sequences/search/blast/benchmark.
-
#searchBlastCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchData
POST /v1/sequences/search/blast-catalog.
-
#searchBlastExplain(search:, workload_profile: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchExplainData
POST /v1/sequences/search/blast/explain.
-
#searchCandidates(namespace:, query:, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, query_mode: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateSearchData
POST /v1/sequences/search/candidates.
-
#searchDiamond(query:, database: nil, db: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_path: nil, materialize: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query_gencode: nil, relation: nil, release: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondSearchData
POST /v1/sequences/search/diamond.
-
#searchDiamondCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondSearchData
POST /v1/sequences/search/diamond-catalog.
-
#searchHmmer(database: nil, db: nil, domains: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query: nil, relation: nil, release: nil, shards: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeHmmerSearchData
POST /v1/sequences/search/hmmer.
-
#searchHmmerCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, limit: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeHmmerSearchData
POST /v1/sequences/search/hmmer-catalog.
-
#searchMmseqs(query:, database: nil, dry_run: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, max_seqs: nil, min_bits: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, shards: nil, sort_by: nil, target: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMmseqsSearchData
POST /v1/sequences/search/mmseqs.
-
#searchMmseqsCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, max_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMmseqsSearchData
POST /v1/sequences/search/mmseqs-catalog.
-
#searchSeedIndex(query:, concurrency: nil, database: nil, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, min_identity: nil, name: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, require_zero_materialization: nil, rerank_alignment: nil, sort_by: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSearchData
POST /v1/sequences/search/seed-index.
Constructor Details
#initialize(client) ⇒ Sequences
Returns a new instance of Sequences.
9 10 11 |
# File 'lib/rafflesia/sequences.rb', line 9 def initialize(client) @client = client end |
Instance Method Details
#alignmentsAlign(query:, target:, gap: nil, match: nil, mismatch: nil, query_positions: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceAlignData
POST /v1/sequences/alignments/align
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/sequences.rb', line 22 def alignmentsAlign( query:, target:, gap: nil, match: nil, mismatch: nil, query_positions: nil, request_options: {} ) body = { 'gap' => gap, 'match' => match, 'mismatch' => mismatch, 'query' => query, 'query_positions' => query_positions, 'target' => target }.compact response = @client.request( method: :post, path: '/v1/sequences/alignments/align', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceAlignData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#catalogsBuild(name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, source_database_snapshot: nil, source_tool_version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogBuildData
POST /v1/sequences/catalogs/build
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/rafflesia/sequences.rb', line 62 def catalogsBuild( name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, source_database_snapshot: nil, source_tool_version: nil, request_options: {} ) body = { 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'input_object_id' => input_object_id, 'input_path' => input_path, 'name' => name, 'source_database_snapshot' => source_database_snapshot, 'source_tool_version' => source_tool_version, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/catalogs/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCatalogBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#catalogsInspect(catalog_id: nil, catalog_object_id: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogInspectData
POST /v1/sequences/catalogs/inspect
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/rafflesia/sequences.rb', line 102 def catalogsInspect( catalog_id: nil, catalog_object_id: nil, name: nil, version: nil, request_options: {} ) body = { 'catalog_id' => catalog_id, 'catalog_object_id' => catalog_object_id, 'name' => name, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/catalogs/inspect', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCatalogInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#catalogsList(name: nil, version: nil, limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCatalogListData
GET /v1/sequences/catalogs/list
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/rafflesia/sequences.rb', line 133 def catalogsList( name: nil, version: nil, limit: nil, request_options: {} ) params = { 'name' => name, 'version' => version, 'limit' => limit }.compact response = @client.request( method: :get, path: '/v1/sequences/catalogs/list', auth: true, params: params, request_options: ) result = Rafflesia::EnvelopeSequenceCatalogListData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastBuild(name:, version:, allow_unbenchmarked_publish: nil, blastdb_version: nil, dry_run: nil, extra_args: nil, index_format: nil, input_file_name: nil, input_object_id: nil, input_path: nil, molecule: nil, output_dir: nil, parse_seqids: nil, register_manifest: nil, store_artifacts: nil, title: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbBuildData
POST /v1/sequences/indexes/blast/build
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/rafflesia/sequences.rb', line 175 def indexesBlastBuild( name:, version:, allow_unbenchmarked_publish: nil, blastdb_version: nil, dry_run: nil, extra_args: nil, index_format: nil, input_file_name: nil, input_object_id: nil, input_path: nil, molecule: nil, output_dir: nil, parse_seqids: nil, register_manifest: nil, store_artifacts: nil, title: nil, request_options: {} ) body = { 'allow_unbenchmarked_publish' => allow_unbenchmarked_publish, 'blastdb_version' => blastdb_version, 'dry_run' => dry_run, 'extra_args' => extra_args, 'index_format' => index_format, 'input_file_name' => input_file_name, 'input_object_id' => input_object_id, 'input_path' => input_path, 'molecule' => molecule, 'name' => name, 'output_dir' => output_dir, 'parse_seqids' => parse_seqids, 'register_manifest' => register_manifest, 'store_artifacts' => store_artifacts, 'title' => title, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastDescribe(manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbDescribeData
POST /v1/sequences/indexes/blast/describe
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/rafflesia/sequences.rb', line 229 def indexesBlastDescribe( manifest_path: nil, ref: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/describe', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbDescribeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastEvict(dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbEvictData
POST /v1/sequences/indexes/blast/evict
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/rafflesia/sequences.rb', line 259 def indexesBlastEvict( dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {} ) body = { 'dry_run' => dry_run, 'manifest_path' => manifest_path, 'max_bytes' => max_bytes, 'policy' => policy, 'ref' => ref, 'target_dir' => target_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/evict', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbEvictData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastList(limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbListData
GET /v1/sequences/indexes/blast/list
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 |
# File 'lib/rafflesia/sequences.rb', line 292 def indexesBlastList( limit: nil, request_options: {} ) params = { 'limit' => limit }.compact response = @client.request( method: :get, path: '/v1/sequences/indexes/blast/list', auth: true, params: params, request_options: ) result = Rafflesia::EnvelopeBlastDbListData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastMaterialize(manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbMaterializeData
POST /v1/sequences/indexes/blast/materialize
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
# File 'lib/rafflesia/sequences.rb', line 318 def indexesBlastMaterialize( manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref, 'target_dir' => target_dir, 'verify' => verify }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/materialize', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbMaterializeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastPublish(allow_unbenchmarked_publish: nil, benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, ref: nil, require_benchmark: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbPublishData
POST /v1/sequences/indexes/blast/publish
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 |
# File 'lib/rafflesia/sequences.rb', line 362 def indexesBlastPublish( allow_unbenchmarked_publish: nil, benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, ref: nil, require_benchmark: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, request_options: {} ) body = { 'allow_unbenchmarked_publish' => allow_unbenchmarked_publish, 'benchmark_object_id' => benchmark_object_id, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_local_control_bytes' => max_local_control_bytes, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'min_byte_reduction_fraction' => min_byte_reduction_fraction, 'min_hit_overlap_fraction' => min_hit_overlap_fraction, 'min_recall_at_1' => min_recall_at_1, 'min_recall_at_10' => min_recall_at_10, 'ref' => ref, 'require_benchmark' => require_benchmark, 'require_exact_pack_reads' => require_exact_pack_reads, 'require_no_local_control_files' => require_no_local_control_files, 'require_zero_materialization' => require_zero_materialization }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/publish', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbPublishData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesBlastVerify(manifest_path: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastDbVerifyData
POST /v1/sequences/indexes/blast/verify
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/rafflesia/sequences.rb', line 417 def indexesBlastVerify( manifest_path: nil, ref: nil, target_dir: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref, 'target_dir' => target_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/blast/verify', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastDbVerifyData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesApply(namespace:, build_policy: nil, dataset_name: nil, dataset_version: nil, decision_object_id: nil, decision_path: nil, input_object_id: nil, input_path: nil, name: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateApplyData
POST /v1/sequences/indexes/candidates/apply
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'lib/rafflesia/sequences.rb', line 454 def indexesCandidatesApply( namespace:, build_policy: nil, dataset_name: nil, dataset_version: nil, decision_object_id: nil, decision_path: nil, input_object_id: nil, input_path: nil, name: nil, timeout_ms: nil, version: nil, request_options: {} ) body = { 'build_policy' => build_policy, 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'decision_object_id' => decision_object_id, 'decision_path' => decision_path, 'input_object_id' => input_object_id, 'input_path' => input_path, 'name' => name, 'namespace' => namespace, 'timeout_ms' => timeout_ms, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/apply', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateApplyData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesBenchmark(namespace:, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, min_top_hit_identity: nil, queries_object_id: nil, queries_path: nil, query_mode: nil, require_top_hit_id_matches_query_id: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateBenchmarkData
POST /v1/sequences/indexes/candidates/benchmark
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 |
# File 'lib/rafflesia/sequences.rb', line 509 def indexesCandidatesBenchmark( namespace:, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, min_top_hit_identity: nil, queries_object_id: nil, queries_path: nil, query_mode: nil, require_top_hit_id_matches_query_id: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, request_options: {} ) body = { 'max_hits' => max_hits, 'max_object_bytes_per_query' => max_object_bytes_per_query, 'max_object_reads_per_query' => max_object_reads_per_query, 'min_recall_at_k' => min_recall_at_k, 'min_top_hit_identity' => min_top_hit_identity, 'namespace' => namespace, 'queries_object_id' => queries_object_id, 'queries_path' => queries_path, 'query_mode' => query_mode, 'require_top_hit_id_matches_query_id' => require_top_hit_id_matches_query_id, 'require_zero_materialization' => require_zero_materialization, 'store_artifact' => store_artifact, 'timeout_ms' => timeout_ms }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/benchmark', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateBenchmarkData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesBuild(build_policy: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, minimizer_window: nil, name: nil, namespace: nil, payload_shard_records: nil, reduced_alphabet: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateBuildData
POST /v1/sequences/indexes/candidates/build
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 |
# File 'lib/rafflesia/sequences.rb', line 568 def indexesCandidatesBuild( build_policy: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, minimizer_window: nil, name: nil, namespace: nil, payload_shard_records: nil, reduced_alphabet: nil, timeout_ms: nil, version: nil, request_options: {} ) body = { 'build_policy' => build_policy, 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'input_object_id' => input_object_id, 'input_path' => input_path, 'kmer_size' => kmer_size, 'minimizer_window' => minimizer_window, 'name' => name, 'namespace' => namespace, 'payload_shard_records' => payload_shard_records, 'reduced_alphabet' => reduced_alphabet, 'timeout_ms' => timeout_ms, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesGc(namespace:, apply: nil, from_generation: nil, keep_last_generations: nil, max_garbage_keys: nil, min_generation_age_ms: nil, now_unix_ms: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateGcPlanData
POST /v1/sequences/indexes/candidates/gc
622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 |
# File 'lib/rafflesia/sequences.rb', line 622 def indexesCandidatesGc( namespace:, apply: nil, from_generation: nil, keep_last_generations: nil, max_garbage_keys: nil, min_generation_age_ms: nil, now_unix_ms: nil, timeout_ms: nil, request_options: {} ) body = { 'apply' => apply, 'from_generation' => from_generation, 'keep_last_generations' => keep_last_generations, 'max_garbage_keys' => max_garbage_keys, 'min_generation_age_ms' => min_generation_age_ms, 'namespace' => namespace, 'now_unix_ms' => now_unix_ms, 'timeout_ms' => timeout_ms }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/gc', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateGcPlanData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesInspect(namespace:, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateInspectData
POST /v1/sequences/indexes/candidates/inspect
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 |
# File 'lib/rafflesia/sequences.rb', line 659 def indexesCandidatesInspect( namespace:, request_options: {} ) body = { 'namespace' => namespace } response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/inspect', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesSweep(case_timeout_ms: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_sizes: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, minimizer_windows: nil, name: nil, namespace_prefix: nil, payload_shard_records: nil, publish_selected_namespace: nil, queries_object_id: nil, queries_path: nil, query_modes: nil, reduced_alphabets: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateSweepData
POST /v1/sequences/indexes/candidates/sweep
704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 |
# File 'lib/rafflesia/sequences.rb', line 704 def indexesCandidatesSweep( case_timeout_ms: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_sizes: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_recall_at_k: nil, minimizer_windows: nil, name: nil, namespace_prefix: nil, payload_shard_records: nil, publish_selected_namespace: nil, queries_object_id: nil, queries_path: nil, query_modes: nil, reduced_alphabets: nil, require_zero_materialization: nil, store_artifact: nil, timeout_ms: nil, version: nil, request_options: {} ) body = { 'case_timeout_ms' => case_timeout_ms, 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'input_object_id' => input_object_id, 'input_path' => input_path, 'kmer_sizes' => kmer_sizes, 'max_hits' => max_hits, 'max_object_bytes_per_query' => max_object_bytes_per_query, 'max_object_reads_per_query' => max_object_reads_per_query, 'min_recall_at_k' => min_recall_at_k, 'minimizer_windows' => minimizer_windows, 'name' => name, 'namespace_prefix' => namespace_prefix, 'payload_shard_records' => payload_shard_records, 'publish_selected_namespace' => publish_selected_namespace, 'queries_object_id' => queries_object_id, 'queries_path' => queries_path, 'query_modes' => query_modes, 'reduced_alphabets' => reduced_alphabets, 'require_zero_materialization' => require_zero_materialization, 'store_artifact' => store_artifact, 'timeout_ms' => timeout_ms, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/sweep', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateSweepData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesCandidatesVerify(namespace:, check_gc_plan: nil, expected_source_sha_256: nil, max_gc_garbage_count: nil, max_object_bytes: nil, max_object_reads: nil, min_record_count: nil, min_top_hit_identity: nil, probe_max_hits: nil, probe_query: nil, require_payload_shards: nil, require_posting_segment: nil, require_probe_hit: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateVerifyData
POST /v1/sequences/indexes/candidates/verify
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 |
# File 'lib/rafflesia/sequences.rb', line 785 def indexesCandidatesVerify( namespace:, check_gc_plan: nil, expected_source_sha_256: nil, max_gc_garbage_count: nil, max_object_bytes: nil, max_object_reads: nil, min_record_count: nil, min_top_hit_identity: nil, probe_max_hits: nil, probe_query: nil, require_payload_shards: nil, require_posting_segment: nil, require_probe_hit: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {} ) body = { 'check_gc_plan' => check_gc_plan, 'expected_source_sha256' => expected_source_sha_256, 'max_gc_garbage_count' => max_gc_garbage_count, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'min_record_count' => min_record_count, 'min_top_hit_identity' => min_top_hit_identity, 'namespace' => namespace, 'probe_max_hits' => probe_max_hits, 'probe_query' => probe_query, 'require_payload_shards' => require_payload_shards, 'require_posting_segment' => require_posting_segment, 'require_probe_hit' => require_probe_hit, 'require_zero_materialization' => require_zero_materialization, 'timeout_ms' => timeout_ms }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/candidates/verify', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateVerifyData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondBuild(name:, version:, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, register_manifest: nil, store_artifacts: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbBuildData
POST /v1/sequences/indexes/diamond/build
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 |
# File 'lib/rafflesia/sequences.rb', line 846 def indexesDiamondBuild( name:, version:, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, register_manifest: nil, store_artifacts: nil, threads: nil, request_options: {} ) body = { 'dry_run' => dry_run, 'extra_args' => extra_args, 'input_file_name' => input_file_name, 'input_object_id' => input_object_id, 'input_path' => input_path, 'name' => name, 'output_dir' => output_dir, 'register_manifest' => register_manifest, 'store_artifacts' => store_artifacts, 'threads' => threads, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondCatalogBuild(name:, version:, catalog: nil, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, shard_count: nil, store_root: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondCatalogBuildData
POST /v1/sequences/indexes/diamond/catalog/build
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 |
# File 'lib/rafflesia/sequences.rb', line 900 def indexesDiamondCatalogBuild( name:, version:, catalog: nil, dry_run: nil, extra_args: nil, input_file_name: nil, input_object_id: nil, input_path: nil, output_dir: nil, shard_count: nil, store_root: nil, threads: nil, request_options: {} ) body = { 'catalog' => catalog, 'dry_run' => dry_run, 'extra_args' => extra_args, 'input_file_name' => input_file_name, 'input_object_id' => input_object_id, 'input_path' => input_path, 'name' => name, 'output_dir' => output_dir, 'shard_count' => shard_count, 'store_root' => store_root, 'threads' => threads, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/catalog/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondCatalogBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondDescribe(manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbDescribeData
POST /v1/sequences/indexes/diamond/describe
946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 |
# File 'lib/rafflesia/sequences.rb', line 946 def indexesDiamondDescribe( manifest_path: nil, ref: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/describe', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbDescribeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondEvict(dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbEvictData
POST /v1/sequences/indexes/diamond/evict
976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'lib/rafflesia/sequences.rb', line 976 def indexesDiamondEvict( dry_run: nil, manifest_path: nil, max_bytes: nil, policy: nil, ref: nil, target_dir: nil, request_options: {} ) body = { 'dry_run' => dry_run, 'manifest_path' => manifest_path, 'max_bytes' => max_bytes, 'policy' => policy, 'ref' => ref, 'target_dir' => target_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/evict', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbEvictData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondList(limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbListData
GET /v1/sequences/indexes/diamond/list
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/rafflesia/sequences.rb', line 1009 def indexesDiamondList( limit: nil, request_options: {} ) params = { 'limit' => limit }.compact response = @client.request( method: :get, path: '/v1/sequences/indexes/diamond/list', auth: true, params: params, request_options: ) result = Rafflesia::EnvelopeDiamondDbListData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondMaterialize(manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbMaterializeData
POST /v1/sequences/indexes/diamond/materialize
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File 'lib/rafflesia/sequences.rb', line 1035 def indexesDiamondMaterialize( manifest_path: nil, ref: nil, target_dir: nil, verify: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref, 'target_dir' => target_dir, 'verify' => verify }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/materialize', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbMaterializeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondPublish(manifest_object_id: nil, manifest_path: nil, ref: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbPublishData
POST /v1/sequences/indexes/diamond/publish
1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 |
# File 'lib/rafflesia/sequences.rb', line 1066 def indexesDiamondPublish( manifest_object_id: nil, manifest_path: nil, ref: nil, request_options: {} ) body = { 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'ref' => ref }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/publish', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbPublishData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesDiamondVerify(manifest_path: nil, ref: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondDbVerifyData
POST /v1/sequences/indexes/diamond/verify
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 |
# File 'lib/rafflesia/sequences.rb', line 1095 def indexesDiamondVerify( manifest_path: nil, ref: nil, target_dir: nil, request_options: {} ) body = { 'manifest_path' => manifest_path, 'ref' => ref, 'target_dir' => target_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/diamond/verify', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondDbVerifyData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedBenchmark(queries_path:, concurrency: nil, db: nil, index_id: nil, input_object_id: nil, input_path: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_identity: nil, min_mean_overlap_fraction: nil, name: nil, payload_block_size: nil, posting_block_size: nil, require_zero_materialization: nil, rerank_alignment: nil, store_artifact: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexBenchmarkData
POST /v1/sequences/indexes/seed/benchmark
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 |
# File 'lib/rafflesia/sequences.rb', line 1144 def indexesSeedBenchmark( queries_path:, concurrency: nil, db: nil, index_id: nil, input_object_id: nil, input_path: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_identity: nil, min_mean_overlap_fraction: nil, name: nil, payload_block_size: nil, posting_block_size: nil, require_zero_materialization: nil, rerank_alignment: nil, store_artifact: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {} ) body = { 'concurrency' => concurrency, 'db' => db, 'index_id' => index_id, 'input_object_id' => input_object_id, 'input_path' => input_path, 'kmer_size' => kmer_size, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_hits' => max_hits, 'max_object_bytes_per_query' => max_object_bytes_per_query, 'max_object_reads_per_query' => max_object_reads_per_query, 'min_identity' => min_identity, 'min_mean_overlap_fraction' => min_mean_overlap_fraction, 'name' => name, 'payload_block_size' => payload_block_size, 'posting_block_size' => posting_block_size, 'queries_path' => queries_path, 'require_zero_materialization' => require_zero_materialization, 'rerank_alignment' => rerank_alignment, 'store_artifact' => store_artifact, 'use_block_cache' => use_block_cache, 'version' => version, 'wal_object_ids' => wal_object_ids }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/benchmark', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexBenchmarkData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedBuild(name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, payload_block_size: nil, payload_lite: nil, posting_block_size: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexBuildData
POST /v1/sequences/indexes/seed/build
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 |
# File 'lib/rafflesia/sequences.rb', line 1220 def indexesSeedBuild( name:, version:, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, kmer_size: nil, payload_block_size: nil, payload_lite: nil, posting_block_size: nil, request_options: {} ) body = { 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'input_object_id' => input_object_id, 'input_path' => input_path, 'kmer_size' => kmer_size, 'name' => name, 'payload_block_size' => payload_block_size, 'payload_lite' => payload_lite, 'posting_block_size' => posting_block_size, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedCompact(name:, version:, base_index_id: nil, base_manifest_object_id: nil, base_manifest_path: nil, base_name: nil, base_version: nil, dataset_name: nil, dataset_version: nil, kmer_size: nil, payload_block_size: nil, posting_block_size: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexCompactData
POST /v1/sequences/indexes/seed/compact
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/rafflesia/sequences.rb', line 1273 def indexesSeedCompact( name:, version:, base_index_id: nil, base_manifest_object_id: nil, base_manifest_path: nil, base_name: nil, base_version: nil, dataset_name: nil, dataset_version: nil, kmer_size: nil, payload_block_size: nil, posting_block_size: nil, wal_object_ids: nil, request_options: {} ) body = { 'base_index_id' => base_index_id, 'base_manifest_object_id' => base_manifest_object_id, 'base_manifest_path' => base_manifest_path, 'base_name' => base_name, 'base_version' => base_version, 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'kmer_size' => kmer_size, 'name' => name, 'payload_block_size' => payload_block_size, 'posting_block_size' => posting_block_size, 'version' => version, 'wal_object_ids' => wal_object_ids }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/compact', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexCompactData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedDescribe(index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexInspectData
POST /v1/sequences/indexes/seed/describe
1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 |
# File 'lib/rafflesia/sequences.rb', line 1324 def indexesSeedDescribe( index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {} ) body = { 'index_id' => index_id, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'name' => name, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/describe', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedList(name: nil, version: nil, limit: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexListData
GET /v1/sequences/indexes/seed/list
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'lib/rafflesia/sequences.rb', line 1357 def indexesSeedList( name: nil, version: nil, limit: nil, request_options: {} ) params = { 'name' => name, 'version' => version, 'limit' => limit }.compact response = @client.request( method: :get, path: '/v1/sequences/indexes/seed/list', auth: true, params: params, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexListData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedMerge(name:, segment_manifest_object_ids:, version:, dataset_name: nil, dataset_version: nil, kmer_size: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexMergeData
POST /v1/sequences/indexes/seed/merge
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'lib/rafflesia/sequences.rb', line 1389 def indexesSeedMerge( name:, segment_manifest_object_ids:, version:, dataset_name: nil, dataset_version: nil, kmer_size: nil, request_options: {} ) body = { 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'kmer_size' => kmer_size, 'name' => name, 'segment_manifest_object_ids' => segment_manifest_object_ids, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/merge', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexMergeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedPlan(query:, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes: nil, max_object_reads: nil, name: nil, require_zero_materialization: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexPlanData
POST /v1/sequences/indexes/seed/plan
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 |
# File 'lib/rafflesia/sequences.rb', line 1432 def indexesSeedPlan( query:, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes: nil, max_object_reads: nil, name: nil, require_zero_materialization: nil, version: nil, wal_object_ids: nil, request_options: {} ) body = { 'index_id' => index_id, 'kmer_size' => kmer_size, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'name' => name, 'query' => query, 'require_zero_materialization' => require_zero_materialization, 'version' => version, 'wal_object_ids' => wal_object_ids }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/plan', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexPlanData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedPublish(benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_mean_overlap_fraction: nil, require_benchmark: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexInspectData
POST /v1/sequences/indexes/seed/publish
1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 |
# File 'lib/rafflesia/sequences.rb', line 1482 def indexesSeedPublish( benchmark_object_id: nil, manifest_object_id: nil, manifest_path: nil, max_object_bytes_per_query: nil, max_object_reads_per_query: nil, min_mean_overlap_fraction: nil, require_benchmark: nil, require_zero_materialization: nil, request_options: {} ) body = { 'benchmark_object_id' => benchmark_object_id, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_object_bytes_per_query' => max_object_bytes_per_query, 'max_object_reads_per_query' => max_object_reads_per_query, 'min_mean_overlap_fraction' => min_mean_overlap_fraction, 'require_benchmark' => require_benchmark, 'require_zero_materialization' => require_zero_materialization }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/publish', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedVerify(check_blocks: nil, index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexVerifyData
POST /v1/sequences/indexes/seed/verify
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 |
# File 'lib/rafflesia/sequences.rb', line 1524 def indexesSeedVerify( check_blocks: nil, index_id: nil, manifest_object_id: nil, manifest_path: nil, name: nil, version: nil, request_options: {} ) body = { 'check_blocks' => check_blocks, 'index_id' => index_id, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'name' => name, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/verify', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexVerifyData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSeedWalAppend(index_id: nil, input_object_id: nil, input_path: nil, manifest_object_id: nil, manifest_path: nil, name: nil, records: nil, version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSeedIndexWalAppendData
POST /v1/sequences/indexes/seed/wal/append
1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 |
# File 'lib/rafflesia/sequences.rb', line 1564 def indexesSeedWalAppend( index_id: nil, input_object_id: nil, input_path: nil, manifest_object_id: nil, manifest_path: nil, name: nil, records: nil, version: nil, request_options: {} ) body = { 'index_id' => index_id, 'input_object_id' => input_object_id, 'input_path' => input_path, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'name' => name, 'records' => records, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/seed/wal/append', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSeedIndexWalAppendData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSegmentsBuild(algorithm:, name:, version:, block_size_bytes: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, key_mode: nil, tool_name: nil, tool_version: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentBuildData
POST /v1/sequences/indexes/segments/build
1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 |
# File 'lib/rafflesia/sequences.rb', line 1611 def indexesSegmentsBuild( algorithm:, name:, version:, block_size_bytes: nil, dataset_name: nil, dataset_version: nil, input_object_id: nil, input_path: nil, key_mode: nil, tool_name: nil, tool_version: nil, request_options: {} ) body = { 'algorithm' => algorithm, 'block_size_bytes' => block_size_bytes, 'dataset_name' => dataset_name, 'dataset_version' => dataset_version, 'input_object_id' => input_object_id, 'input_path' => input_path, 'key_mode' => key_mode, 'name' => name, 'tool_name' => tool_name, 'tool_version' => tool_version, 'version' => version }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/segments/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSearchSegmentBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSegmentsDescribe(manifest_object_id: nil, manifest_path: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentDescribeData
POST /v1/sequences/indexes/segments/describe
1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 |
# File 'lib/rafflesia/sequences.rb', line 1655 def indexesSegmentsDescribe( manifest_object_id: nil, manifest_path: nil, request_options: {} ) body = { 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/segments/describe', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSearchSegmentDescribeData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSegmentsGc(candidate_manifest_object_ids: nil, candidate_manifest_paths: nil, dry_run: nil, keep_manifest_object_ids: nil, keep_manifest_paths: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentGcData
POST /v1/sequences/indexes/segments/gc
1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'lib/rafflesia/sequences.rb', line 1684 def indexesSegmentsGc( candidate_manifest_object_ids: nil, candidate_manifest_paths: nil, dry_run: nil, keep_manifest_object_ids: nil, keep_manifest_paths: nil, request_options: {} ) body = { 'candidate_manifest_object_ids' => candidate_manifest_object_ids, 'candidate_manifest_paths' => candidate_manifest_paths, 'dry_run' => dry_run, 'keep_manifest_object_ids' => keep_manifest_object_ids, 'keep_manifest_paths' => keep_manifest_paths }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/segments/gc', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSearchSegmentGcData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSegmentsPlan(manifest_object_id: nil, manifest_path: nil, max_blocks: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentPlanData
POST /v1/sequences/indexes/segments/plan
1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/rafflesia/sequences.rb', line 1722 def indexesSegmentsPlan( manifest_object_id: nil, manifest_path: nil, max_blocks: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {} ) body = { 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_blocks' => max_blocks, 'max_materialized_bytes' => max_materialized_bytes, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'query_key' => query_key, 'require_zero_materialization' => require_zero_materialization }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/segments/plan', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSearchSegmentPlanData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#indexesSegmentsPrefetch(manifest_object_id: nil, manifest_path: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSearchSegmentPrefetchData
POST /v1/sequences/indexes/segments/prefetch
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/rafflesia/sequences.rb', line 1765 def indexesSegmentsPrefetch( manifest_object_id: nil, manifest_path: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, query_key: nil, require_zero_materialization: nil, request_options: {} ) body = { 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_materialized_bytes' => max_materialized_bytes, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'query_key' => query_key, 'require_zero_materialization' => require_zero_materialization }.compact response = @client.request( method: :post, path: '/v1/sequences/indexes/segments/prefetch', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSearchSegmentPrefetchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#msaBuild(backend: nil, cache_mode: nil, dry_run: nil, extra_args: nil, input_object_id: nil, input_path: nil, inputs: nil, output_dir: nil, strategy: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaBuildData
POST /v1/sequences/msa/build
1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 |
# File 'lib/rafflesia/sequences.rb', line 1809 def msaBuild( backend: nil, cache_mode: nil, dry_run: nil, extra_args: nil, input_object_id: nil, input_path: nil, inputs: nil, output_dir: nil, strategy: nil, threads: nil, request_options: {} ) body = { 'backend' => backend, 'cache_mode' => cache_mode, 'dry_run' => dry_run, 'extra_args' => extra_args, 'input_object_id' => input_object_id, 'input_path' => input_path, 'inputs' => inputs, 'output_dir' => output_dir, 'strategy' => strategy, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/msa/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeMsaBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#msaCoevolution(alignment_object_id: nil, alignment_path: nil, max_gap_fraction: nil, max_sequences: nil, method_: nil, min_separation: nil, pseudocount: nil, reference: nil, reference_start: nil, reweight_identity: nil, top: nil, request_options: {}) ⇒ Rafflesia::EnvelopeCoevolutionData
POST /v1/sequences/msa/coevolution
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 |
# File 'lib/rafflesia/sequences.rb', line 1860 def msaCoevolution( alignment_object_id: nil, alignment_path: nil, max_gap_fraction: nil, max_sequences: nil, method_: nil, min_separation: nil, pseudocount: nil, reference: nil, reference_start: nil, reweight_identity: nil, top: nil, request_options: {} ) body = { 'alignment_object_id' => alignment_object_id, 'alignment_path' => alignment_path, 'max_gap_fraction' => max_gap_fraction, 'max_sequences' => max_sequences, 'method' => method_, 'min_separation' => min_separation, 'pseudocount' => pseudocount, 'reference' => reference, 'reference_start' => reference_start, 'reweight_identity' => reweight_identity, 'top' => top }.compact response = @client.request( method: :post, path: '/v1/sequences/msa/coevolution', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeCoevolutionData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#msaFromSearch(query:, cache_mode: nil, db: nil, dry_run: nil, extra_args: nil, hit_fasta_path: nil, homology_search_id: nil, include_query: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_dir: nil, search_backend: nil, search_object_id: nil, sequence_catalog_object_id: nil, strategy: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaFromSearchData
POST /v1/sequences/msa/from-search
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 |
# File 'lib/rafflesia/sequences.rb', line 1919 def msaFromSearch( query:, cache_mode: nil, db: nil, dry_run: nil, extra_args: nil, hit_fasta_path: nil, homology_search_id: nil, include_query: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_dir: nil, search_backend: nil, search_object_id: nil, sequence_catalog_object_id: nil, strategy: nil, threads: nil, request_options: {} ) body = { 'cache_mode' => cache_mode, 'db' => db, 'dry_run' => dry_run, 'extra_args' => extra_args, 'hit_fasta_path' => hit_fasta_path, 'homology_search_id' => homology_search_id, 'include_query' => include_query, 'kmer_size' => kmer_size, 'max_hits' => max_hits, 'min_identity' => min_identity, 'output_dir' => output_dir, 'query' => query, 'search_backend' => search_backend, 'search_object_id' => search_object_id, 'sequence_catalog_object_id' => sequence_catalog_object_id, 'strategy' => strategy, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/msa/from-search', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeMsaFromSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#msaInspect(alignment_object_id: nil, alignment_path: nil, database: nil, include_columns: nil, max_columns: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMsaInspectData
POST /v1/sequences/msa/inspect
1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'lib/rafflesia/sequences.rb', line 1985 def msaInspect( alignment_object_id: nil, alignment_path: nil, database: nil, include_columns: nil, max_columns: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {} ) body = { 'alignment_object_id' => alignment_object_id, 'alignment_path' => alignment_path, 'database' => database, 'include_columns' => include_columns, 'max_columns' => max_columns, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'relation' => relation, 'release' => release, 'sort_by' => sort_by }.compact response = @client.request( method: :post, path: '/v1/sequences/msa/inspect', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeMsaInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#profilesBuild(alignment_object_id: nil, alignment_path: nil, cache_mode: nil, dry_run: nil, extra_args: nil, name: nil, output_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeProfileBuildData
POST /v1/sequences/profiles/build
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'lib/rafflesia/sequences.rb', line 2036 def profilesBuild( alignment_object_id: nil, alignment_path: nil, cache_mode: nil, dry_run: nil, extra_args: nil, name: nil, output_dir: nil, request_options: {} ) body = { 'alignment_object_id' => alignment_object_id, 'alignment_path' => alignment_path, 'cache_mode' => cache_mode, 'dry_run' => dry_run, 'extra_args' => extra_args, 'name' => name, 'output_dir' => output_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/profiles/build', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeProfileBuildData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#recordsFetch(target_id:, allow_network: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceData
POST /v1/sequences/records/fetch
2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 |
# File 'lib/rafflesia/sequences.rb', line 2072 def recordsFetch( target_id:, allow_network: nil, request_options: {} ) body = { 'allow_network' => allow_network, 'target_id' => target_id }.compact response = @client.request( method: :post, path: '/v1/sequences/records/fetch', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#recordsImport(path:, target_id: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceImportData
POST /v1/sequences/records/import
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 |
# File 'lib/rafflesia/sequences.rb', line 2098 def recordsImport( path:, target_id: nil, request_options: {} ) body = { 'path' => path, 'target_id' => target_id }.compact response = @client.request( method: :post, path: '/v1/sequences/records/import', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceImportData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#recordsInspect(sequence_id:, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceInspectData
POST /v1/sequences/records/inspect
2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 |
# File 'lib/rafflesia/sequences.rb', line 2123 def recordsInspect( sequence_id:, request_options: {} ) body = { 'sequence_id' => sequence_id } response = @client.request( method: :post, path: '/v1/sequences/records/inspect', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceInspectData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#search(query:, database: nil, db: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSearchData
POST /v1/sequences/search
2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 |
# File 'lib/rafflesia/sequences.rb', line 2158 def search( query:, database: nil, db: nil, kmer_size: nil, max_hits: nil, min_identity: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sort_by: nil, request_options: {} ) body = { 'database' => database, 'db' => db, 'kmer_size' => kmer_size, 'max_hits' => max_hits, 'min_identity' => min_identity, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'query' => query, 'relation' => relation, 'release' => release, 'sort_by' => sort_by }.compact response = @client.request( method: :post, path: '/v1/sequences/search', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchBlast(query:, concurrency: nil, database: nil, db: nil, db_refs: nil, dry_run: nil, evalue: nil, manifest_path: nil, materialize: nil, max_exact_shards: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, pack_access_mode: nil, partition_by: nil, preview_limit: nil, profile: nil, program: nil, relation: nil, release: nil, require_routing: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, routing_wal_object_ids: nil, shard_ids: nil, sort_by: nil, target_dir: nil, task: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchData
POST /v1/sequences/search/blast
2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 |
# File 'lib/rafflesia/sequences.rb', line 2249 def searchBlast( query:, concurrency: nil, database: nil, db: nil, db_refs: nil, dry_run: nil, evalue: nil, manifest_path: nil, materialize: nil, max_exact_shards: nil, max_materialized_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, pack_access_mode: nil, partition_by: nil, preview_limit: nil, profile: nil, program: nil, relation: nil, release: nil, require_routing: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, routing_wal_object_ids: nil, shard_ids: nil, sort_by: nil, target_dir: nil, task: nil, threads: nil, request_options: {} ) body = { '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 }.compact response = @client.request( method: :post, path: '/v1/sequences/search/blast', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchBlastBenchmark(query:, db: nil, evalue: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, output_dir: nil, profile: nil, program: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, store_artifact: nil, target_dir: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchBenchmarkData
POST /v1/sequences/search/blast/benchmark
2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 |
# File 'lib/rafflesia/sequences.rb', line 2459 def searchBlastBenchmark( query:, db: nil, evalue: nil, manifest_path: nil, max_local_control_bytes: nil, max_object_bytes: nil, max_object_reads: nil, max_target_seqs: nil, min_bit_score: nil, min_byte_reduction_fraction: nil, min_hit_overlap_fraction: nil, min_recall_at_1: nil, min_recall_at_10: nil, output_dir: nil, profile: nil, program: nil, require_exact_pack_reads: nil, require_no_local_control_files: nil, require_zero_materialization: nil, routing_concurrency: nil, routing_index_id: nil, routing_kmer_size: nil, routing_manifest_object_id: nil, routing_manifest_path: nil, routing_max_candidates: nil, routing_min_identity: nil, routing_name: nil, routing_rerank_alignment: nil, routing_use_block_cache: nil, routing_version: nil, store_artifact: nil, target_dir: nil, request_options: {} ) body = { 'db' => db, 'evalue' => evalue, 'manifest_path' => manifest_path, 'max_local_control_bytes' => max_local_control_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, 'min_byte_reduction_fraction' => min_byte_reduction_fraction, 'min_hit_overlap_fraction' => min_hit_overlap_fraction, 'min_recall_at_1' => min_recall_at_1, 'min_recall_at_10' => min_recall_at_10, 'output_dir' => output_dir, 'profile' => profile, 'program' => program, 'query' => query, 'require_exact_pack_reads' => require_exact_pack_reads, 'require_no_local_control_files' => require_no_local_control_files, '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, 'store_artifact' => store_artifact, 'target_dir' => target_dir }.compact response = @client.request( method: :post, path: '/v1/sequences/search/blast/benchmark', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastSearchBenchmarkData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchBlastCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchData
POST /v1/sequences/search/blast-catalog
2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 |
# File 'lib/rafflesia/sequences.rb', line 2375 def searchBlastCatalog( catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {} ) body = { 'catalog' => catalog, 'concurrency' => concurrency, 'database' => database, 'evalue' => evalue, 'max_target_seqs' => max_target_seqs, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'program' => program, 'query' => query, 'relation' => relation, 'release' => release, 'sort_by' => sort_by, 'store_root' => store_root, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/search/blast-catalog', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchBlastExplain(search:, workload_profile: nil, request_options: {}) ⇒ Rafflesia::EnvelopeBlastSearchExplainData
POST /v1/sequences/search/blast/explain
2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/rafflesia/sequences.rb', line 2545 def searchBlastExplain( search:, workload_profile: nil, request_options: {} ) body = { 'search' => search, 'workload_profile' => workload_profile }.compact response = @client.request( method: :post, path: '/v1/sequences/search/blast/explain', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeBlastSearchExplainData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchCandidates(namespace:, query:, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, query_mode: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceCandidateSearchData
POST /v1/sequences/search/candidates
2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 |
# File 'lib/rafflesia/sequences.rb', line 2577 def searchCandidates( namespace:, query:, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, query_mode: nil, require_zero_materialization: nil, timeout_ms: nil, request_options: {} ) body = { 'max_hits' => max_hits, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'namespace' => namespace, 'query' => query, 'query_mode' => query_mode, 'require_zero_materialization' => require_zero_materialization, 'timeout_ms' => timeout_ms }.compact response = @client.request( method: :post, path: '/v1/sequences/search/candidates', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceCandidateSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchDiamond(query:, database: nil, db: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_path: nil, materialize: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query_gencode: nil, relation: nil, release: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondSearchData
POST /v1/sequences/search/diamond
2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/rafflesia/sequences.rb', line 2636 def searchDiamond( query:, database: nil, db: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_path: nil, materialize: nil, max_target_seqs: nil, min_bit_score: nil, out_format: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query_gencode: nil, relation: nil, release: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {} ) body = { '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 }.compact response = @client.request( method: :post, path: '/v1/sequences/search/diamond', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchDiamondCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeDiamondSearchData
POST /v1/sequences/search/diamond-catalog
2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 |
# File 'lib/rafflesia/sequences.rb', line 2718 def searchDiamondCatalog( catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, max_target_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {} ) body = { 'catalog' => catalog, 'concurrency' => concurrency, 'database' => database, 'evalue' => evalue, 'max_target_seqs' => max_target_seqs, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'program' => program, 'query' => query, 'relation' => relation, 'release' => release, 'sort_by' => sort_by, 'store_root' => store_root, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/search/diamond-catalog', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeDiamondSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchHmmer(database: nil, db: nil, domains: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query: nil, relation: nil, release: nil, shards: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeHmmerSearchData
POST /v1/sequences/search/hmmer
2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 |
# File 'lib/rafflesia/sequences.rb', line 2791 def searchHmmer( database: nil, db: nil, domains: nil, dry_run: nil, evalue: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, query: nil, relation: nil, release: nil, shards: nil, sort_by: nil, target_dir: nil, threads: nil, request_options: {} ) body = { '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 }.compact response = @client.request( method: :post, path: '/v1/sequences/search/hmmer', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeHmmerSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchHmmerCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, limit: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeHmmerSearchData
POST /v1/sequences/search/hmmer-catalog
2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 |
# File 'lib/rafflesia/sequences.rb', line 2869 def searchHmmerCatalog( catalog:, query:, store_root:, concurrency: nil, database: nil, evalue: nil, limit: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, program: nil, relation: nil, release: nil, sort_by: nil, threads: nil, request_options: {} ) body = { 'catalog' => catalog, 'concurrency' => concurrency, 'database' => database, 'evalue' => evalue, 'limit' => limit, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'program' => program, 'query' => query, 'relation' => relation, 'release' => release, 'sort_by' => sort_by, 'store_root' => store_root, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/search/hmmer-catalog', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeHmmerSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchMmseqs(query:, database: nil, dry_run: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, max_seqs: nil, min_bits: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, shards: nil, sort_by: nil, target: nil, target_dir: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMmseqsSearchData
POST /v1/sequences/search/mmseqs
2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 |
# File 'lib/rafflesia/sequences.rb', line 2942 def searchMmseqs( query:, database: nil, dry_run: nil, extra_args: nil, manifest_object_id: nil, manifest_path: nil, max_seqs: nil, min_bits: nil, output_dir: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, shards: nil, sort_by: nil, target: nil, target_dir: nil, threads: nil, request_options: {} ) body = { 'database' => database, 'dry_run' => dry_run, 'extra_args' => extra_args, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_seqs' => max_seqs, 'min_bits' => min_bits, 'output_dir' => output_dir, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'query' => query, 'relation' => relation, 'release' => release, 'sensitivity' => sensitivity, 'shards' => shards, 'sort_by' => sort_by, 'target' => target, 'target_dir' => target_dir, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/search/mmseqs', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeMmseqsSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchMmseqsCatalog(catalog:, query:, store_root:, concurrency: nil, database: nil, max_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, sort_by: nil, threads: nil, request_options: {}) ⇒ Rafflesia::EnvelopeMmseqsSearchData
POST /v1/sequences/search/mmseqs-catalog
3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 |
# File 'lib/rafflesia/sequences.rb', line 3019 def searchMmseqsCatalog( catalog:, query:, store_root:, concurrency: nil, database: nil, max_seqs: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, sensitivity: nil, sort_by: nil, threads: nil, request_options: {} ) body = { 'catalog' => catalog, 'concurrency' => concurrency, 'database' => database, 'max_seqs' => max_seqs, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'query' => query, 'relation' => relation, 'release' => release, 'sensitivity' => sensitivity, 'sort_by' => sort_by, 'store_root' => store_root, 'threads' => threads }.compact response = @client.request( method: :post, path: '/v1/sequences/search/mmseqs-catalog', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeMmseqsSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |
#searchSeedIndex(query:, concurrency: nil, database: nil, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, min_identity: nil, name: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, require_zero_materialization: nil, rerank_alignment: nil, sort_by: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {}) ⇒ Rafflesia::EnvelopeSequenceSearchData
POST /v1/sequences/search/seed-index
3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 |
# File 'lib/rafflesia/sequences.rb', line 3093 def searchSeedIndex( query:, concurrency: nil, database: nil, index_id: nil, kmer_size: nil, manifest_object_id: nil, manifest_path: nil, max_hits: nil, max_object_bytes: nil, max_object_reads: nil, min_identity: nil, name: nil, output_format: nil, output_relation: nil, partition_by: nil, preview_limit: nil, relation: nil, release: nil, require_zero_materialization: nil, rerank_alignment: nil, sort_by: nil, use_block_cache: nil, version: nil, wal_object_ids: nil, request_options: {} ) body = { 'concurrency' => concurrency, 'database' => database, 'index_id' => index_id, 'kmer_size' => kmer_size, 'manifest_object_id' => manifest_object_id, 'manifest_path' => manifest_path, 'max_hits' => max_hits, 'max_object_bytes' => max_object_bytes, 'max_object_reads' => max_object_reads, 'min_identity' => min_identity, 'name' => name, 'output_format' => output_format, 'output_relation' => output_relation, 'partition_by' => partition_by, 'preview_limit' => preview_limit, 'query' => query, 'relation' => relation, 'release' => release, 'require_zero_materialization' => require_zero_materialization, 'rerank_alignment' => rerank_alignment, 'sort_by' => sort_by, 'use_block_cache' => use_block_cache, 'version' => version, 'wal_object_ids' => wal_object_ids }.compact response = @client.request( method: :post, path: '/v1/sequences/search/seed-index', auth: true, body: body, request_options: ) result = Rafflesia::EnvelopeSequenceSearchData.new(response.body) result.last_response = Rafflesia::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"]) result end |