Class: Google::Apis::GenomicsV1beta2::GenomicsService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::GenomicsV1beta2::GenomicsService
- Defined in:
- generated/google/apis/genomics_v1beta2/service.rb
Overview
Genomics API
Provides access to Genomics data.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#align_read_group_sets(align_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse
Aligns read data from existing read group sets or files from Google Cloud Storage.
-
#batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse
Creates one or more new annotations atomically.
-
#call_read_group_sets(call_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse
Calls variants on read data from existing read group sets or files from Google Cloud Storage.
-
#cancel_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Cancels a job by ID.
-
#create_annotation(annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Creates a new annotation.
-
#create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Creates a new annotation set.
-
#create_call_set(call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Creates a new call set.
-
#create_dataset(dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Creates a new dataset.
-
#create_experimental_job(experimental_create_job_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse
Creates and asynchronously runs an ad-hoc job.
-
#create_variant(variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Creates a new variant.
-
#create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Creates a new variant set (only necessary in v1).
-
#delete_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes an annotation.
-
#delete_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes an annotation set.
-
#delete_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a call set.
-
#delete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a dataset.
-
#delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a read group set.
-
#delete_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes a variant.
-
#delete_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the contents of a variant set.
-
#export_read_group_sets(export_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse
Exports read group sets to a BAM file in Google Cloud Storage.
-
#export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExportVariantSetResponse
Exports variant set data to an external destination.
-
#get_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Gets an annotation.
-
#get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Gets an annotation set.
-
#get_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Gets a call set by ID.
-
#get_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Gets a dataset by ID.
-
#get_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Job
Gets a job by ID.
-
#get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Gets a read group set by ID.
-
#get_reference(reference_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Reference
Gets a reference.
-
#get_reference_set(reference_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReferenceSet
Gets a reference set.
-
#get_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Gets a variant by ID.
-
#get_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Gets a variant set by ID.
-
#import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse
Creates read group sets by asynchronously importing the provided information.
-
#import_variants(variant_set_id, import_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ImportVariantsResponse
Creates variant data by asynchronously importing the provided information.
-
#initialize ⇒ GenomicsService
constructor
A new instance of GenomicsService.
-
#list_coverage_buckets(read_group_set_id, page_size: nil, page_token: nil, range_end: nil, range_reference_name: nil, range_start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse
Lists fixed width coverage buckets for a read group set, each of which correspond to a range of a reference sequence.
-
#list_datasets(page_size: nil, page_token: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListDatasetsResponse
Lists datasets within a project.
-
#list_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListBasesResponse
Lists the bases in a reference, optionally restricted to a range.
-
#merge_variants(variant_set_id, merge_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Merges the given variants with existing variants.
-
#patch_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Updates an annotation.
-
#patch_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Updates an annotation set.
-
#patch_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Updates a call set.
-
#patch_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Updates a dataset.
-
#patch_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Updates a read group set.
-
#patch_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Updates a variant set's metadata.
-
#search_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse
Searches for annotation sets that match the given criteria.
-
#search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse
Searches for annotations that match the given criteria.
-
#search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchCallSetsResponse
Gets a list of call sets matching the criteria.
-
#search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchJobsResponse
Gets a list of jobs matching the criteria.
-
#search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse
Searches for read group sets matching the criteria.
-
#search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReadsResponse
Gets a list of reads for one or more read group sets.
-
#search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse
Searches for reference sets which match the given criteria.
-
#search_references(search_references_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReferencesResponse
Searches for references which match the given criteria.
-
#search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse
Returns a list of all variant sets matching search criteria.
-
#search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchVariantsResponse
Gets a list of variants matching the criteria.
-
#undelete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Undeletes a dataset by restoring a dataset which was deleted via this API.
-
#update_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Updates an annotation.
-
#update_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Updates an annotation set.
-
#update_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Updates a call set.
-
#update_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Updates a dataset.
-
#update_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Updates a read group set.
-
#update_variant(variant_id, variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Updates a variant's names and info fields.
-
#update_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Updates a variant set's metadata.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Constructor Details
#initialize ⇒ GenomicsService
Returns a new instance of GenomicsService.
51 52 53 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'genomics/v1beta2/') end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#align_read_group_sets(align_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse
Aligns read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1213 def align_read_group_sets(align_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/align' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsRequest::Representation command.request_object = align_read_group_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse
Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together. If the request has a systemic issue, such as an attempt to write to an inaccessible annotation set, the entire RPC will fail accordingly. For lesser data issues, when possible an error will be isolated to the corresponding batch entry in the response; the remaining well formed annotations will be created normally.
315 316 317 318 319 320 321 322 323 324 325 326 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 315 def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations:batchCreate' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::BatchCreateAnnotationsRequest::Representation command.request_object = batch_create_annotations_request_object command.response_representation = Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#call_read_group_sets(call_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse
Calls variants on read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1251 def call_read_group_sets(call_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/call' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::CallReadGroupSetsRequest::Representation command.request_object = call_read_group_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#cancel_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Cancels a job by ID. Note that it is possible for partial results to be generated and stored for cancelled jobs.
1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1107 def cancel_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'jobs/{jobId}/cancel' command = make_simple_command(:post, path, ) command.params['jobId'] = job_id unless job_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_annotation(annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Creates a new annotation. Caller must have WRITE permission for the associated annotation set.
352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 352 def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.request_object = annotation_object command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.response_class = Google::Apis::GenomicsV1beta2::Annotation command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Creates a new annotation set. Caller must have WRITE permission for the associated dataset.
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 79 def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.request_object = annotation_set_object command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_call_set(call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Creates a new call set.
581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 581 def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.request_object = call_set_object command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::CallSet command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_dataset(dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Creates a new dataset.
802 803 804 805 806 807 808 809 810 811 812 813 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 802 def create_dataset(dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.request_object = dataset_object command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.response_class = Google::Apis::GenomicsV1beta2::Dataset command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_experimental_job(experimental_create_job_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse
Creates and asynchronously runs an ad-hoc job. This is an experimental call and may be removed or changed at any time.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1069 def create_experimental_job(experimental_create_job_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'experimental/jobs/create' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobRequest::Representation command.request_object = experimental_create_job_request_object command.response_representation = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_variant(variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Creates a new variant.
1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1871 def create_variant(variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variants' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Variant::Representation command.request_object = variant_object command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation command.response_class = Google::Apis::GenomicsV1beta2::Variant command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Creates a new variant set (only necessary in v1).
2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2054 def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.request_object = variant_set_object command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::VariantSet command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes an annotation. Caller must have WRITE permission for the associated annotation set.
390 391 392 393 394 395 396 397 398 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 390 def delete_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations/{annotationId}' command = make_simple_command(:delete, path, ) command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes an annotation set. Caller must have WRITE permission for the associated annotation set.
117 118 119 120 121 122 123 124 125 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 117 def delete_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets/{annotationSetId}' command = make_simple_command(:delete, path, ) command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a call set.
618 619 620 621 622 623 624 625 626 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 618 def delete_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets/{callSetId}' command = make_simple_command(:delete, path, ) command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a dataset.
839 840 841 842 843 844 845 846 847 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 839 def delete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets/{datasetId}' command = make_simple_command(:delete, path, ) command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a read group set.
1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1289 def delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/{readGroupSetId}' command = make_simple_command(:delete, path, ) command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a variant.
1908 1909 1910 1911 1912 1913 1914 1915 1916 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1908 def delete_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variants/{variantId}' command = make_simple_command(:delete, path, ) command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the contents of a variant set. The variant set object is not deleted.
2091 2092 2093 2094 2095 2096 2097 2098 2099 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2091 def delete_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}' command = make_simple_command(:delete, path, ) command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#export_read_group_sets(export_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse
Exports read group sets to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1327 def export_read_group_sets(export_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/export' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsRequest::Representation command.request_object = export_read_group_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ExportVariantSetResponse
Exports variant set data to an external destination.
2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2127 def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}/export' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ExportVariantSetRequest::Representation command.request_object = export_variant_set_request_object command.response_representation = Google::Apis::GenomicsV1beta2::ExportVariantSetResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ExportVariantSetResponse command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Gets an annotation. Caller must have READ permission for the associated annotation set.
425 426 427 428 429 430 431 432 433 434 435 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 425 def get_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations/{annotationId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.response_class = Google::Apis::GenomicsV1beta2::Annotation command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Gets an annotation set. Caller must have READ permission for the associated dataset.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 152 def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets/{annotationSetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Gets a call set by ID.
652 653 654 655 656 657 658 659 660 661 662 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 652 def get_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets/{callSetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::CallSet command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Gets a dataset by ID.
873 874 875 876 877 878 879 880 881 882 883 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 873 def get_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets/{datasetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.response_class = Google::Apis::GenomicsV1beta2::Dataset command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Job
Gets a job by ID.
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1141 def get_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'jobs/{jobId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Job::Representation command.response_class = Google::Apis::GenomicsV1beta2::Job command.params['jobId'] = job_id unless job_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Gets a read group set by ID.
1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1364 def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/{readGroupSetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_reference(reference_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Reference
Gets a reference. Implements GlobalAllianceApi.getReference.
1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1673 def get_reference(reference_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'references/{referenceId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Reference::Representation command.response_class = Google::Apis::GenomicsV1beta2::Reference command.params['referenceId'] = reference_id unless reference_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_reference_set(reference_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReferenceSet
Gets a reference set. Implements GlobalAllianceApi.getReferenceSet.
1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1799 def get_reference_set(reference_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'referencesets/{referenceSetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::ReferenceSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::ReferenceSet command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Gets a variant by ID.
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1942 def get_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variants/{variantId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation command.response_class = Google::Apis::GenomicsV1beta2::Variant command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Gets a variant set by ID.
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2165 def get_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::VariantSet command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse
Creates read group sets by asynchronously importing the provided information. Note that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1402 def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/import' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsRequest::Representation command.request_object = import_read_group_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#import_variants(variant_set_id, import_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ImportVariantsResponse
Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing data and each other according to the behavior of mergeVariants. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.
2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2209 def import_variants(variant_set_id, import_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}/importVariants' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ImportVariantsRequest::Representation command.request_object = import_variants_request_object command.response_representation = Google::Apis::GenomicsV1beta2::ImportVariantsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ImportVariantsResponse command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_coverage_buckets(read_group_set_id, page_size: nil, page_token: nil, range_end: nil, range_reference_name: nil, range_start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse
Lists fixed width coverage buckets for a read group set, each of which correspond to a range of a reference sequence. Each bucket summarizes coverage information across its corresponding genomic range. Coverage is defined as the number of reads which are aligned to a given base in the reference sequence. Coverage buckets are available at several precomputed bucket widths, enabling retrieval of various coverage 'zoom levels' . The caller must have READ permissions for the target read group set.
1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1584 def list_coverage_buckets(read_group_set_id, page_size: nil, page_token: nil, range_end: nil, range_reference_name: nil, range_start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/{readGroupSetId}/coveragebuckets' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['range.end'] = range_end unless range_end.nil? command.query['range.referenceName'] = range_reference_name unless range_reference_name.nil? command.query['range.start'] = range_start unless range_start.nil? command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_datasets(page_size: nil, page_token: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListDatasetsResponse
Lists datasets within a project.
916 917 918 919 920 921 922 923 924 925 926 927 928 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 916 def list_datasets(page_size: nil, page_token: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::ListDatasetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ListDatasetsResponse command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['projectNumber'] = project_number unless project_number.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ListBasesResponse
Lists the bases in a reference, optionally restricted to a range. Implements GlobalAllianceApi.getReferenceBases.
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1758 def list_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'references/{referenceId}/bases' command = make_simple_command(:get, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::ListBasesResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::ListBasesResponse command.params['referenceId'] = reference_id unless reference_id.nil? command.query['end'] = end_position unless end_position.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['start'] = start_position unless start_position.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#merge_variants(variant_set_id, merge_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Merges the given variants with existing variants. Each variant will be merged with an existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded.
2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2254 def merge_variants(variant_set_id, merge_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}/mergeVariants' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::MergeVariantsRequest::Representation command.request_object = merge_variants_request_object command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset. This method supports patch semantics.
464 465 466 467 468 469 470 471 472 473 474 475 476 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 464 def patch_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations/{annotationId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.request_object = annotation_object command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.response_class = Google::Apis::GenomicsV1beta2::Annotation command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Updates an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset. This method supports patch semantics.
192 193 194 195 196 197 198 199 200 201 202 203 204 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 192 def patch_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets/{annotationSetId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.request_object = annotation_set_object command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Updates a call set. This method supports patch semantics.
689 690 691 692 693 694 695 696 697 698 699 700 701 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 689 def patch_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets/{callSetId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.request_object = call_set_object command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::CallSet command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Updates a dataset. This method supports patch semantics.
955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 955 def patch_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets/{datasetId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.request_object = dataset_object command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.response_class = Google::Apis::GenomicsV1beta2::Dataset command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Updates a read group set. This method supports patch semantics.
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1441 def patch_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/{readGroupSetId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation command.request_object = read_group_set_object command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Updates a variant set's metadata. All other modifications are silently ignored. This method supports patch semantics.
2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2292 def patch_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}' command = make_simple_command(:patch, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.request_object = variant_set_object command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::VariantSet command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse
Searches for annotation sets that match the given criteria. Results are returned in a deterministic order. Caller must have READ permission for the queried datasets.
231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 231 def search_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsRequest::Representation command.request_object = search_annotation_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse
Searches for annotations that match the given criteria. Results are returned ordered by start position. Annotations that have matching start positions are ordered deterministically. Caller must have READ permission for the queried annotation sets.
504 505 506 507 508 509 510 511 512 513 514 515 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 504 def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationsRequest::Representation command.request_object = search_annotations_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchCallSetsResponse
Gets a list of call sets matching the criteria. Implements GlobalAllianceApi.searchCallSets.
727 728 729 730 731 732 733 734 735 736 737 738 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 727 def search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchCallSetsRequest::Representation command.request_object = search_call_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchCallSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchCallSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchJobsResponse
Gets a list of jobs matching the criteria.
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1176 def search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'jobs/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchJobsRequest::Representation command.request_object = search_jobs_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchJobsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchJobsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse
Searches for read group sets matching the criteria. Implements GlobalAllianceApi.searchReadGroupSets.
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1479 def search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsRequest::Representation command.request_object = search_read_group_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReadsResponse
Gets a list of reads for one or more read group sets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order. Implements GlobalAllianceApi.searchReads.
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1635 def search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'reads/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchReadsRequest::Representation command.request_object = search_reads_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchReadsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchReadsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse
Searches for reference sets which match the given criteria. Implements GlobalAllianceApi.searchReferenceSets.
1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1835 def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'referencesets/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchReferenceSetsRequest::Representation command.request_object = search_reference_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_references(search_references_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchReferencesResponse
Searches for references which match the given criteria. Implements GlobalAllianceApi.searchReferences.
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1709 def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'references/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchReferencesRequest::Representation command.request_object = search_references_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchReferencesResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchReferencesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse
Returns a list of all variant sets matching search criteria. Implements GlobalAllianceApi.searchVariantSets.
2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2330 def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchVariantSetsRequest::Representation command.request_object = search_variant_sets_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::SearchVariantsResponse
Gets a list of variants matching the criteria. Implements GlobalAllianceApi.searchVariants.
1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1978 def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variants/search' command = make_simple_command(:post, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::SearchVariantsRequest::Representation command.request_object = search_variants_request_object command.response_representation = Google::Apis::GenomicsV1beta2::SearchVariantsResponse::Representation command.response_class = Google::Apis::GenomicsV1beta2::SearchVariantsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#undelete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.
994 995 996 997 998 999 1000 1001 1002 1003 1004 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 994 def undelete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets/{datasetId}/undelete' command = make_simple_command(:post, path, ) command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.response_class = Google::Apis::GenomicsV1beta2::Dataset command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Annotation
Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset.
544 545 546 547 548 549 550 551 552 553 554 555 556 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 544 def update_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotations/{annotationId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.request_object = annotation_object command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation command.response_class = Google::Apis::GenomicsV1beta2::Annotation command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::AnnotationSet
Updates an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset.
271 272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 271 def update_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'annotationSets/{annotationSetId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.request_object = annotation_set_object command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::CallSet
Updates a call set.
765 766 767 768 769 770 771 772 773 774 775 776 777 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 765 def update_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'callsets/{callSetId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.request_object = call_set_object command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::CallSet command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Dataset
Updates a dataset.
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1031 def update_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'datasets/{datasetId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.request_object = dataset_object command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation command.response_class = Google::Apis::GenomicsV1beta2::Dataset command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::ReadGroupSet
Updates a read group set.
1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 1518 def update_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'readgroupsets/{readGroupSetId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation command.request_object = read_group_set_object command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_variant(variant_id, variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::Variant
Updates a variant's names and info fields. All other modifications are silently ignored. Returns the modified variant without its calls.
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2017 def update_variant(variant_id, variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variants/{variantId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::Variant::Representation command.request_object = variant_object command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation command.response_class = Google::Apis::GenomicsV1beta2::Variant command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GenomicsV1beta2::VariantSet
Updates a variant set's metadata. All other modifications are silently ignored.
2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 |
# File 'generated/google/apis/genomics_v1beta2/service.rb', line 2368 def update_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) path = 'variantsets/{variantSetId}' command = make_simple_command(:put, path, ) command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.request_object = variant_set_object command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation command.response_class = Google::Apis::GenomicsV1beta2::VariantSet command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |