@@ -1,3738 +1,3817 @@
2− "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/TKQGsoI5uymkCaRsPv6PtM7WLsw\"",
4− "discoveryVersion": "v1",
5− "id": "genomics:v1",
2+ "id": "genomics:v1",
6− "name": "genomics",
3+ "auth": {
8− "revision": "20161004",
9− "title": "Genomics API",
10− "description": "Stores, processes, explores and shares genomic data.",
11− "ownerDomain": "google.com",
12− "ownerName": "Google",
14− "x16": "http://www.google.com/images/icons/product/search-16.gif",
15− "x32": "http://www.google.com/images/icons/product/search-32.gif"
17− "documentationLink": "https://cloud.google.com/genomics/",
19− "baseUrl": "https://genomics.googleapis.com/",
21− "rootUrl": "https://genomics.googleapis.com/",
23− "batchPath": "batch",
27− "description": "OAuth access token.",
32− "description": "Data format for response.",
34− "enumDescriptions": [
35− "Responses with Content-Type of application/json",
36− "Media download with context-dependent Content-Type",
37− "Responses with Content-Type of application/x-protobuf"
43− "description": "OAuth bearer token.",
48− "description": "JSONP",
53− "description": "Selector specifying which fields to include in a partial response.",
58− "description": "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.",
63− "description": "OAuth 2.0 token for the current user.",
68− "description": "Pretty-print response.",
74− "description": "Returns response with indentations and line breaks.",
80− "description": "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.",
85− "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
90− "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
95− "description": "V1 error format.",
96− "enumDescriptions": [
104− "oauth2": {
4+ "oauth2": {
105− "scopes": {
5+ "scopes": {
106− "https://www.googleapis.com/auth/bigquery": {
107− "description": "View and manage your data in Google BigQuery"
109− "https://www.googleapis.com/auth/cloud-platform": {
6+ "https://www.googleapis.com/auth/cloud-platform": {
110− "description": "View and manage your data across Google Cloud Platform services"
7+ "description": "View and manage your data across Google Cloud Platform services"
112− "https://www.googleapis.com/auth/devstorage.read_write": {
9+ "https://www.googleapis.com/auth/devstorage.read_write": {
113− "description": "Manage your data in Google Cloud Storage"
10+ "description": "Manage your data in Google Cloud Storage"
12+ "https://www.googleapis.com/auth/bigquery": {
13+ "description": "View and manage your data in Google BigQuery"
115− "https://www.googleapis.com/auth/genomics": {
15+ "https://www.googleapis.com/auth/genomics": {
116− "description": "View and manage Genomics data"
16+ "description": "View and manage Genomics data"
118− "https://www.googleapis.com/auth/genomics.readonly": {
18+ "https://www.googleapis.com/auth/genomics.readonly": {
119− "description": "View Genomics data"
19+ "description": "View Genomics data"
126− "id": "AnnotationSet",
128− "description": "An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include 'all genes from refseq', and 'all variant annotations from ClinVar'.",
132− "description": "The server-generated annotation set ID, unique across all annotation sets."
136− "description": "The dataset to which this annotation set belongs."
140− "description": "The ID of the reference set that defines the coordinate space for this set's annotations."
144− "description": "The display name for this annotation set."
148− "description": "The source URI describing the file from which this annotation set was generated, if any."
152− "description": "The type of annotations contained within this set.",
154− "ANNOTATION_TYPE_UNSPECIFIED",
163− "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
164− "additionalProperties": {
176− "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`."
178− "SearchAnnotationSetsRequest": {
179− "id": "SearchAnnotationSetsRequest",
184− "description": "Required. The dataset IDs to search within. Caller must have `READ` access to these datasets.",
191− "description": "If specified, only annotation sets associated with the given reference set are returned."
195− "description": "Only return annotations sets for which a substring of the name matches this string (case insensitive)."
199− "description": "If specified, only annotation sets that have any of these types are returned.",
200− "enumDescriptions": [
202− "A `GENERIC` annotation type should be used when no other annotation type will suffice. This represents an untyped annotation of the reference genome.",
203− "A `VARIANT` annotation type.",
204− "A `GENE` annotation type represents the existence of a gene at the associated reference coordinates. The start coordinate is typically the gene's transcription start site and the end is typically the end of the gene's last exon.",
205− "A `TRANSCRIPT` annotation type represents the assertion that a particular region of the reference genome may be transcribed as RNA."
210− "ANNOTATION_TYPE_UNSPECIFIED",
220− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
224− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 128. The maximum value is 1024.",
229− "SearchAnnotationSetsResponse": {
24+ "description": "Upload, process, query, and search Genomics data in the cloud.",
230− "id": "SearchAnnotationSetsResponse",
25+ "protocol": "rest",
231− "type": "object",
26+ "title": "Genomics API",
232− "properties": {
27+ "resources": {
233− "annotationSets": {
28+ "callsets": {
234− "type": "array",
29+ "methods": {
31+ "id": "genomics.callsets.create",
35+ "parameterOrder": [],
36+ "description": "Creates a new call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
40+ "flatPath": "v1/callsets",
41+ "httpMethod": "POST",
43+ "path": "v1/callsets",
45+ "https://www.googleapis.com/auth/cloud-platform",
46+ "https://www.googleapis.com/auth/genomics"
50+ "id": "genomics.callsets.get",
57+ "description": "Gets a call set by ID.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
58+ "flatPath": "v1/callsets/{callSetId}",
235− "description": "The matching annotation sets.",
62+ "description": "The ID of the call set.",
236− "items": {
63+ "required": true,
237− "$ref": "AnnotationSet"
64+ "location": "path",
68+ "path": "v1/callsets/{callSetId}",
70+ "https://www.googleapis.com/auth/cloud-platform",
71+ "https://www.googleapis.com/auth/genomics",
72+ "https://www.googleapis.com/auth/genomics.readonly"
76+ "id": "genomics.callsets.search",
78+ "$ref": "SearchCallSetsResponse"
80+ "parameterOrder": [],
81+ "description": "Gets a list of call sets matching the criteria.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).",
83+ "$ref": "SearchCallSetsRequest"
85+ "flatPath": "v1/callsets/search",
86+ "httpMethod": "POST",
88+ "path": "v1/callsets/search",
90+ "https://www.googleapis.com/auth/cloud-platform",
91+ "https://www.googleapis.com/auth/genomics",
92+ "https://www.googleapis.com/auth/genomics.readonly"
96+ "id": "genomics.callsets.patch",
103+ "description": "Updates a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
239− },
107+ "flatPath": "v1/callsets/{callSetId}",
240− "nextPageToken": {
108+ "httpMethod": "PATCH",
241− "type": "string",
109+ "parameters": {
242− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
110+ "callSetId": {
243− }
111+ "description": "The ID of the call set to be updated.",
244− }
112+ "required": true,
245− },
113+ "location": "path",
246− "Annotation": {
114+ "type": "string"
247− "id": "Annotation",
115+ },
248− "type": "object",
116+ "updateMask": {
249− "description": "An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. An annotation is not inherently associated with a specific sample or individual (though a client could choose to use annotations in this way). Example canonical annotation types are `GENE` and `VARIANT`.",
117+ "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
250− "properties": {
118+ "location": "query",
251− "id": {
119+ "type": "string",
252− "type": "string",
120+ "format": "google-fieldmask"
253− "description": "The server-generated annotation ID, unique across all annotations."
121+ }
255− "annotationSetId": {
257− "description": "The annotation set to which this annotation belongs."
261− "description": "The display name of this annotation."
265− "description": "The ID of the Google Genomics reference associated with this range."
269− "description": "The display name corresponding to the reference specified by `referenceId`, for example `chr1`, `1`, or `chrX`."
273− "description": "The start position of the range on the reference, 0-based inclusive.",
278− "description": "The end position of the range on the reference, 0-based exclusive.",
283− "description": "Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand."
287− "description": "The data type for this annotation. Must match the containing annotation set's type.",
289− "ANNOTATION_TYPE_UNSPECIFIED",
296− "variant": {
123+ "path": "v1/callsets/{callSetId}",
297− "$ref": "VariantAnnotation",
124+ "scopes": [
298− "description": "A variant annotation, which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type `VARIANT`."
125+ "https://www.googleapis.com/auth/cloud-platform",
299− },
126+ "https://www.googleapis.com/auth/genomics"
300− "transcript": {
127+ ]
301− "$ref": "Transcript",
128+ },
302− "description": "A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternative splicing pattern would be represented as a separate transcript object. This field is only set for annotations of type `TRANSCRIPT`."
129+ "delete": {
303− },
130+ "id": "genomics.callsets.delete",
304− "info": {
131+ "response": {
305− "type": "object",
132+ "$ref": "Empty"
306− "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
133+ },
307− "additionalProperties": {
134+ "parameterOrder": [
137+ "description": "Deletes a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
138+ "flatPath": "v1/callsets/{callSetId}",
139+ "httpMethod": "DELETE",
142+ "description": "The ID of the call set to be deleted.",
308− "type": "array",
145+ "type": "string"
310− "type": "any"
147+ },
148+ "path": "v1/callsets/{callSetId}",
150+ "https://www.googleapis.com/auth/cloud-platform",
151+ "https://www.googleapis.com/auth/genomics"
316− "VariantAnnotation": {
317− "id": "VariantAnnotation",
322− "description": "Type has been adapted from ClinVar's list of variant types.",
336− "description": "Effect of the variant on the coding sequence.",
338− "EFFECT_UNSPECIFIED",
341− "FRAME_PRESERVING_INDEL",
343− "NONSYNONYMOUS_SNP",
346− "SPLICE_SITE_DISRUPTION"
351− "description": "The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions."
355− "description": "Google annotation ID of the gene affected by this variant. This should be provided when the variant is created."
357− "transcriptIds": {
156+ "annotationsets": {
358− "type": "array",
157+ "methods": {
359− "description": "Google annotation IDs of the transcripts affected by this variant. These should be provided when the variant is created.",
158+ "update": {
360− "items": {
159+ "id": "genomics.annotationsets.update",
361− "type": "string"
160+ "response": {
362− }
161+ "$ref": "AnnotationSet"
366− "description": "The set of conditions associated with this variant. A condition describes the way a variant influences human health.",
368− "$ref": "ClinicalCondition"
371− "clinicalSignificance": {
163+ "parameterOrder": [
372− "type": "string",
164+ "annotationSetId"
373− "description": "Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/",
165+ ],
374− "enum": [
166+ "description": "Updates an annotation set. The update must respect all mutability\nrestrictions and other invariants described on the annotation set resource.\nCaller must have WRITE permission for the associated dataset.",
375− "CLINICAL_SIGNIFICANCE_UNSPECIFIED",
167+ "request": {
376− "CLINICAL_SIGNIFICANCE_OTHER",
168+ "$ref": "AnnotationSet"
380− "LIKELY_PATHOGENIC",
383− "HISTOCOMPATIBILITY",
384− "CONFERS_SENSITIVITY",
393− "ClinicalCondition": {
394− "id": "ClinicalCondition",
399− "description": "A set of names for the condition.",
406− "description": "The set of external IDs for this condition.",
408− "$ref": "ExternalId"
413− "description": "The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/"
417− "description": "The OMIM id for this condition. Search for these IDs at http://omim.org/"
427− "description": "The name of the source of this data."
431− "description": "The id used by the source of this data."
438− "description": "A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.",
442− "description": "The annotation ID of the gene from which this transcript is transcribed."
446− "description": "The exons that compose this transcript. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. Introns are regions of the transcript that are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript that are not exons are introns. Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. Exons are ordered by start position and may not overlap.",
452− "$ref": "CodingSequence",
453− "description": "The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA."
463− "description": "The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and **not** the containing annotation start.",
468− "description": "The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and *not* the containing annotation start.",
473− "description": "The frame of this exon. Contains a value of 0, 1, or 2, which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.reverse_strand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end `- 1`. Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons.",
478− "CodingSequence": {
170+ "flatPath": "v1/annotationsets/{annotationSetId}",
479− "id": "CodingSequence",
171+ "httpMethod": "PUT",
480− "type": "object",
172+ "parameters": {
481− "properties": {
173+ "updateMask": {
482− "start": {
174+ "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nsource_uri, and\ninfo. If unspecified, all\nmutable fields will be updated.",
483− "type": "string",
175+ "location": "query",
484− "description": "The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and *not* the containing annotation start.",
176+ "type": "string",
485− "format": "int64"
177+ "format": "google-fieldmask"
487− "end": {
179+ "annotationSetId": {
488− "type": "string",
180+ "description": "The ID of the annotation set to be updated.",
489− "description": "The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and *not* the containing annotation start.",
181+ "required": true,
490− "format": "int64"
182+ "location": "path",
494− "BatchCreateAnnotationsRequest": {
186+ "path": "v1/annotationsets/{annotationSetId}",
495− "id": "BatchCreateAnnotationsRequest",
187+ "scopes": [
496− "type": "object",
188+ "https://www.googleapis.com/auth/cloud-platform",
497− "properties": {
189+ "https://www.googleapis.com/auth/genomics"
498− "annotations": {
190+ ]
499− "type": "array",
191+ },
500− "description": "The annotations to be created. At most 4096 can be specified in a single request.",
192+ "create": {
501− "items": {
193+ "id": "genomics.annotationsets.create",
502− "$ref": "Annotation"
194+ "response": {
195+ "$ref": "AnnotationSet"
197+ "parameterOrder": [],
198+ "description": "Creates a new annotation set. Caller must have WRITE permission for the\nassociated dataset.\n\nThe following fields are required:\n\n * datasetId\n * referenceSetId\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field).",
200+ "$ref": "AnnotationSet"
504− },
202+ "flatPath": "v1/annotationsets",
505− "requestId": {
203+ "httpMethod": "POST",
506− "type": "string",
204+ "parameters": {},
507− "description": "A unique request ID which enables the server to detect duplicated requests. If provided, duplicated requests will result in the same response; if not provided, duplicated requests may result in duplicated data. For a given annotation set, callers should not reuse `request_id`s when writing different batches of annotations - behavior in this case is undefined. A common approach is to use a UUID. For batch jobs where worker crashes are a possibility, consider using some unique variant of a worker or run ID."
205+ "path": "v1/annotationsets",
509− }
207+ "https://www.googleapis.com/auth/cloud-platform",
510− },
208+ "https://www.googleapis.com/auth/genomics"
511− "BatchCreateAnnotationsResponse": {
209+ ]
512− "id": "BatchCreateAnnotationsResponse",
210+ },
513− "type": "object",
211+ "get": {
514− "properties": {
212+ "id": "genomics.annotationsets.get",
515− "entries": {
213+ "response": {
516− "type": "array",
214+ "$ref": "AnnotationSet"
517− "description": "The resulting per-annotation entries, ordered consistently with the original request.",
215+ },
518− "items": {
216+ "parameterOrder": [
519− "$ref": "Entry"
217+ "annotationSetId"
521− }
219+ "description": "Gets an annotation set. Caller must have READ permission for\nthe associated dataset.",
522− }
220+ "flatPath": "v1/annotationsets/{annotationSetId}",
523− },
221+ "httpMethod": "GET",
524− "Entry": {
222+ "parameters": {
525− "id": "Entry",
223+ "annotationSetId": {
526− "type": "object",
224+ "description": "The ID of the annotation set to be retrieved.",
527− "properties": {
225+ "required": true,
528− "status": {
226+ "location": "path",
529− "$ref": "Status",
227+ "type": "string"
530− "description": "The creation status."
228+ }
532− "annotation": {
230+ "path": "v1/annotationsets/{annotationSetId}",
533− "$ref": "Annotation",
231+ "scopes": [
534− "description": "The created annotation, if creation was successful."
232+ "https://www.googleapis.com/auth/cloud-platform",
535− }
233+ "https://www.googleapis.com/auth/genomics",
536− }
234+ "https://www.googleapis.com/auth/genomics.readonly"
539− "id": "Status",
237+ "search": {
540− "type": "object",
238+ "id": "genomics.annotationsets.search",
541− "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.",
239+ "response": {
542− "properties": {
240+ "$ref": "SearchAnnotationSetsResponse"
544− "type": "integer",
242+ "parameterOrder": [],
545− "description": "The status code, which should be an enum value of google.rpc.Code.",
243+ "description": "Searches for annotation sets that match the given criteria. Annotation sets\nare returned in an unspecified order. This order is consistent, such that\ntwo queries for the same content (regardless of page size) yield annotation\nsets in the same order across their respective streams of paginated\nresponses. Caller must have READ permission for the queried datasets.",
546− "format": "int32"
244+ "request": {
547− },
245+ "$ref": "SearchAnnotationSetsRequest"
549− "type": "string",
247+ "flatPath": "v1/annotationsets/search",
550− "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
248+ "httpMethod": "POST",
551− },
249+ "parameters": {},
552− "details": {
250+ "path": "v1/annotationsets/search",
553− "type": "array",
251+ "scopes": [
554− "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
252+ "https://www.googleapis.com/auth/cloud-platform",
555− "items": {
253+ "https://www.googleapis.com/auth/genomics",
556− "type": "object",
254+ "https://www.googleapis.com/auth/genomics.readonly"
557− "additionalProperties": {
255+ ]
558− "type": "any",
256+ },
559− "description": "Properties of the object. Contains field @type with type URL."
257+ "delete": {
258+ "id": "genomics.annotationsets.delete",
265+ "description": "Deletes an annotation set. Caller must have WRITE permission\nfor the associated annotation set.",
266+ "flatPath": "v1/annotationsets/{annotationSetId}",
267+ "httpMethod": "DELETE",
269+ "annotationSetId": {
270+ "description": "The ID of the annotation set to be deleted.",
276+ "path": "v1/annotationsets/{annotationSetId}",
278+ "https://www.googleapis.com/auth/cloud-platform",
279+ "https://www.googleapis.com/auth/genomics"
565− "SearchAnnotationsRequest": {
566− "id": "SearchAnnotationsRequest",
569− "annotationSetIds": {
571− "description": "Required. The annotation sets to search within. The caller must have `READ` access to these annotation sets. All queried annotation sets must have the same type.",
578− "description": "The ID of the reference to query."
582− "description": "The name of the reference to query, within the reference set associated with this query."
586− "description": "The start position of the range on the reference, 0-based inclusive. If specified, referenceId or referenceName must be specified. Defaults to 0.",
591− "description": "The end position of the range on the reference, 0-based exclusive. If referenceId or referenceName must be specified, Defaults to the length of the reference.",
596− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
600− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 2048.",
605− "SearchAnnotationsResponse": {
606− "id": "SearchAnnotationsResponse",
611− "description": "The matching annotations.",
613− "$ref": "Annotation"
618− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
622− "ListDatasetsResponse": {
623− "id": "ListDatasetsResponse",
625− "description": "The dataset list response.",
629− "description": "The list of matching Datasets.",
636− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
643− "description": "A Dataset is a collection of genomic data. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
647− "description": "The server-generated dataset ID, unique across all datasets."
651− "description": "The Google Cloud project ID that this dataset belongs to."
655− "description": "The dataset name."
659− "description": "The time this dataset was created, in seconds from the epoch."
663− "UndeleteDatasetRequest": {
664− "id": "UndeleteDatasetRequest",
667− "SetIamPolicyRequest": {
668− "id": "SetIamPolicyRequest",
670− "description": "Request message for `SetIamPolicy` method.",
674− "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
681− "description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
685− "description": "Version of the `Policy`. The default version is 0.",
690− "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
697− "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
705− "description": "Associates `members` with a `role`.",
709− "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
713− "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
720− "GetIamPolicyRequest": {
721− "id": "GetIamPolicyRequest",
723− "description": "Request message for `GetIamPolicy` method."
725− "TestIamPermissionsRequest": {
726− "id": "TestIamPermissionsRequest",
728− "description": "Request message for `TestIamPermissions` method.",
732− "description": "REQUIRED: The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. Allowed permissions are: * `genomics.datasets.create` * `genomics.datasets.delete` * `genomics.datasets.get` * `genomics.datasets.list` * `genomics.datasets.update` * `genomics.datasets.getIamPolicy` * `genomics.datasets.setIamPolicy`",
739− "TestIamPermissionsResponse": {
740− "id": "TestIamPermissionsResponse",
742− "description": "Response message for `TestIamPermissions` method.",
746− "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
753− "ListOperationsResponse": {
754− "id": "ListOperationsResponse",
756− "description": "The response message for Operations.ListOperations.",
758 "operations": {
284 "operations": {
759− "type": "array",
285+ "methods": {
760− "description": "A list of operations that matches the specified filter in the request.",
286+ "get": {
761− "items": {
287+ "id": "genomics.operations.get",
762− "$ref": "Operation"
288+ "response": {
763− }
289+ "$ref": "Operation"
765− "nextPageToken": {
291+ "parameterOrder": [
294+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.",
295+ "flatPath": "v1/operations/{operationsId}",
296+ "httpMethod": "GET",
299+ "description": "The name of the operation resource.",
301+ "pattern": "^operations/.+$",
766− "type": "string",
303+ "type": "string"
306+ "path": "v1/{+name}",
308+ "https://www.googleapis.com/auth/cloud-platform",
309+ "https://www.googleapis.com/auth/genomics"
313+ "id": "genomics.operations.list",
315+ "$ref": "ListOperationsResponse"
320+ "description": "Lists operations that match the specified filter in the request.",
321+ "flatPath": "v1/operations",
322+ "httpMethod": "GET",
325+ "description": "The maximum number of results to return. If unspecified, defaults to\n256. The maximum value is 2048.",
326+ "location": "query",
331+ "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `\u003c=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime \u003e= 1432140000`\n* `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`",
332+ "location": "query",
336+ "description": "The name of the operation collection.",
338+ "pattern": "^operations$",
767− "description": "The standard List next-page token."
343+ "description": "The standard list page token.",
768− }
344+ "location": "query",
771− "Operation": {
348+ "path": "v1/{+name}",
772− "id": "Operation",
349+ "scopes": [
773− "type": "object",
350+ "https://www.googleapis.com/auth/cloud-platform",
774− "description": "This resource represents a long-running operation that is the result of a network API call.",
351+ "https://www.googleapis.com/auth/genomics"
775− "properties": {
352+ ]
777− "type": "string",
354+ "cancel": {
778− "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`"
355+ "id": "genomics.operations.cancel",
779− },
356+ "response": {
780− "metadata": {
357+ "$ref": "Empty"
781− "type": "object",
358+ },
782− "description": "An OperationMetadata object. This will always be returned with the Operation.",
359+ "parameterOrder": [
783− "additionalProperties": {
360+ "name"
784− "type": "any",
361+ ],
785− "description": "Properties of the object. Contains field @type with type URL."
362+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.",
787− },
364+ "$ref": "CancelOperationRequest"
790− "description": "If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available."
794− "description": "The error result of the operation in case of failure or cancellation."
798− "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For exports, an empty response is returned.",
799− "additionalProperties": {
801− "description": "Properties of the object. Contains field @type with type URL."
806− "CancelOperationRequest": {
807− "id": "CancelOperationRequest",
809− "description": "The request message for Operations.CancelOperation."
811− "ImportReadGroupSetsRequest": {
812− "id": "ImportReadGroupSetsRequest",
814− "description": "The read group set import request.",
818− "description": "Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset."
822− "description": "The reference set to which the imported read group sets are aligned to, if any. The reference names of this reference set must be a superset of those found in the imported file headers. If no reference set id is provided, a best effort is made to associate with a matching reference set."
826− "description": "A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/SAMv1.pdf) in Google Cloud Storage.",
831− "partitionStrategy": {
833− "description": "The partition strategy describes how read groups are partitioned into read group sets.",
835− "PARTITION_STRATEGY_UNSPECIFIED",
836− "PER_FILE_PER_SAMPLE",
842− "ExportReadGroupSetRequest": {
843− "id": "ExportReadGroupSetRequest",
845− "description": "The read group set export request.",
849− "description": "Required. The Google Cloud project ID that owns this export. The caller must have WRITE access to this project."
853− "description": "Required. A Google Cloud Storage URI for the exported BAM file. The currently authenticated user must have write access to the new file. An error will be returned if the URI already contains data."
857− "description": "The reference names to export. If this is not specified, all reference sequences, including unmapped reads, are exported. Use `*` to export only unmapped reads.",
864− "SearchReadGroupSetsRequest": {
366+ "flatPath": "v1/operations/{operationsId}:cancel",
865− "id": "SearchReadGroupSetsRequest",
367+ "httpMethod": "POST",
866− "type": "object",
368+ "parameters": {
867− "description": "The read group set search request.",
369+ "name": {
868− "properties": {
370+ "description": "The name of the operation resource to be cancelled.",
869− "datasetIds": {
371+ "required": true,
870− "type": "array",
372+ "pattern": "^operations/.+$",
871− "description": "Restricts this query to read group sets within the given datasets. At least one ID must be provided.",
373+ "location": "path",
872− "items": {
374+ "type": "string"
873− "type": "string"
375+ }
377+ "path": "v1/{+name}:cancel",
379+ "https://www.googleapis.com/auth/cloud-platform",
380+ "https://www.googleapis.com/auth/genomics"
876− "name": {
385+ "references": {
390+ "id": "genomics.references.bases.list",
392+ "$ref": "ListBasesResponse"
397+ "description": "Lists the bases in a reference, optionally restricted to a range.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).",
398+ "flatPath": "v1/references/{referenceId}/bases",
399+ "httpMethod": "GET",
402+ "description": "The end position (0-based, exclusive) of this query. Defaults to the length\nof this reference.",
403+ "location": "query",
877− "type": "string",
404+ "type": "string",
878− "description": "Only return read group sets for which a substring of the name matches this string."
405+ "format": "int64"
408+ "description": "The maximum number of bases to return in a single page. If unspecified,\ndefaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base\npairs).",
409+ "location": "query",
414+ "description": "The ID of the reference.",
420+ "description": "The start position (0-based) of this query. Defaults to 0.",
421+ "location": "query",
426+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
427+ "location": "query",
431+ "path": "v1/references/{referenceId}/bases",
433+ "https://www.googleapis.com/auth/cloud-platform",
434+ "https://www.googleapis.com/auth/genomics",
435+ "https://www.googleapis.com/auth/genomics.readonly"
443+ "id": "genomics.references.get",
450+ "description": "Gets a reference.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).",
451+ "flatPath": "v1/references/{referenceId}",
452+ "httpMethod": "GET",
455+ "description": "The ID of the reference.",
461+ "path": "v1/references/{referenceId}",
463+ "https://www.googleapis.com/auth/cloud-platform",
464+ "https://www.googleapis.com/auth/genomics",
465+ "https://www.googleapis.com/auth/genomics.readonly"
469+ "id": "genomics.references.search",
471+ "$ref": "SearchReferencesResponse"
473+ "parameterOrder": [],
474+ "description": "Searches for references which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).",
476+ "$ref": "SearchReferencesRequest"
478+ "flatPath": "v1/references/search",
479+ "httpMethod": "POST",
481+ "path": "v1/references/search",
483+ "https://www.googleapis.com/auth/cloud-platform",
484+ "https://www.googleapis.com/auth/genomics",
485+ "https://www.googleapis.com/auth/genomics.readonly"
492+ "coveragebuckets": {
495+ "id": "genomics.readgroupsets.coveragebuckets.list",
497+ "$ref": "ListCoverageBucketsResponse"
502+ "description": "Lists fixed width coverage buckets for a read group set, each of which\ncorrespond to a range of a reference sequence. Each bucket summarizes\ncoverage information across its corresponding genomic range.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nCoverage is defined as the number of reads which are aligned to a given\nbase in the reference sequence. Coverage buckets are available at several\nprecomputed bucket widths, enabling retrieval of various coverage 'zoom\nlevels'. The caller must have READ permissions for the target read group\nset.",
503+ "flatPath": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
504+ "httpMethod": "GET",
507+ "description": "The name of the reference to query, within the reference set associated\nwith this query. Optional.",
508+ "location": "query",
512+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 2048.",
513+ "location": "query",
517+ "targetBucketWidth": {
518+ "description": "The desired width of each reported coverage bucket in base pairs. This\nwill be rounded down to the nearest precomputed bucket width; the value\nof which is returned as `bucketWidth` in the response. Defaults\nto infinity (each bucket spans an entire reference sequence) or the length\nof the target range, if specified. The smallest precomputed\n`bucketWidth` is currently 2048 base pairs; this is subject to\nchange.",
519+ "location": "query",
524+ "description": "Required. The ID of the read group set over which coverage is requested.",
530+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.",
531+ "location": "query",
880− "pageToken": {
535+ "pageToken": {
882− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
536+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
537+ "location": "query",
541+ "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified. If unset or 0, defaults\nto the length of the reference.",
542+ "location": "query",
547+ "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
549+ "https://www.googleapis.com/auth/cloud-platform",
550+ "https://www.googleapis.com/auth/genomics",
551+ "https://www.googleapis.com/auth/genomics.readonly"
559+ "id": "genomics.readgroupsets.export",
566+ "description": "Exports a read group set to a BAM file in Google Cloud Storage.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nNote that currently there may be some differences between exported BAM\nfiles and the original BAM file at the time of import. See\nImportReadGroupSets\nfor caveats.",
568+ "$ref": "ExportReadGroupSetRequest"
570+ "flatPath": "v1/readgroupsets/{readGroupSetId}:export",
571+ "httpMethod": "POST",
574+ "description": "Required. The ID of the read group set to export. The caller must have\nREAD access to this read group set.",
580+ "path": "v1/readgroupsets/{readGroupSetId}:export",
582+ "https://www.googleapis.com/auth/cloud-platform",
583+ "https://www.googleapis.com/auth/devstorage.read_write",
584+ "https://www.googleapis.com/auth/genomics"
588+ "id": "genomics.readgroupsets.search",
590+ "$ref": "SearchReadGroupSetsResponse"
592+ "parameterOrder": [],
593+ "description": "Searches for read group sets matching the criteria.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).",
595+ "$ref": "SearchReadGroupSetsRequest"
597+ "flatPath": "v1/readgroupsets/search",
598+ "httpMethod": "POST",
600+ "path": "v1/readgroupsets/search",
602+ "https://www.googleapis.com/auth/cloud-platform",
603+ "https://www.googleapis.com/auth/genomics",
604+ "https://www.googleapis.com/auth/genomics.readonly"
608+ "id": "genomics.readgroupsets.get",
610+ "$ref": "ReadGroupSet"
615+ "description": "Gets a read group set by ID.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
616+ "flatPath": "v1/readgroupsets/{readGroupSetId}",
617+ "httpMethod": "GET",
620+ "description": "The ID of the read group set.",
626+ "path": "v1/readgroupsets/{readGroupSetId}",
628+ "https://www.googleapis.com/auth/cloud-platform",
629+ "https://www.googleapis.com/auth/genomics",
630+ "https://www.googleapis.com/auth/genomics.readonly"
634+ "id": "genomics.readgroupsets.patch",
636+ "$ref": "ReadGroupSet"
641+ "description": "Updates a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
643+ "$ref": "ReadGroupSet"
645+ "flatPath": "v1/readgroupsets/{readGroupSetId}",
646+ "httpMethod": "PATCH",
649+ "description": "The ID of the read group set to be updated. The caller must have WRITE\npermissions to the dataset associated with this read group set.",
655+ "description": "An optional mask specifying which fields to update. Supported fields:\n\n* name.\n* referenceSetId.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.",
656+ "location": "query",
658+ "format": "google-fieldmask"
661+ "path": "v1/readgroupsets/{readGroupSetId}",
663+ "https://www.googleapis.com/auth/cloud-platform",
664+ "https://www.googleapis.com/auth/genomics"
668+ "id": "genomics.readgroupsets.delete",
675+ "description": "Deletes a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
676+ "flatPath": "v1/readgroupsets/{readGroupSetId}",
677+ "httpMethod": "DELETE",
680+ "description": "The ID of the read group set to be deleted. The caller must have WRITE\npermissions to the dataset associated with this read group set.",
686+ "path": "v1/readgroupsets/{readGroupSetId}",
688+ "https://www.googleapis.com/auth/cloud-platform",
689+ "https://www.googleapis.com/auth/genomics"
693+ "id": "genomics.readgroupsets.import",
697+ "parameterOrder": [],
698+ "description": "Creates read group sets by asynchronously importing the provided\ninformation.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe caller must have WRITE permissions to the dataset.\n\n## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import\n\n- Tags will be converted to strings - tag types are not preserved\n- Comments (`@CO`) in the input file header will not be preserved\n- Original header order of references (`@SQ`) will not be preserved\n- Any reverse stranded unmapped reads will be reverse complemented, and\ntheir qualities (also the \"BQ\" and \"OQ\" tags, if any) will be reversed\n- Unmapped reads will be stripped of positional information (reference name\nand position)",
700+ "$ref": "ImportReadGroupSetsRequest"
702+ "flatPath": "v1/readgroupsets:import",
703+ "httpMethod": "POST",
705+ "path": "v1/readgroupsets:import",
707+ "https://www.googleapis.com/auth/cloud-platform",
708+ "https://www.googleapis.com/auth/devstorage.read_write",
709+ "https://www.googleapis.com/auth/genomics"
884− "pageSize": {
714+ "variantsets": {
885− "type": "integer",
715+ "methods": {
886− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 1024.",
716+ "export": {
887− "format": "int32"
717+ "id": "genomics.variantsets.export",
889− }
719+ "$ref": "Operation"
724+ "description": "Exports variant set data to an external destination.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
726+ "$ref": "ExportVariantSetRequest"
891− "SearchReadGroupSetsResponse": {
728+ "flatPath": "v1/variantsets/{variantSetId}:export",
892− "id": "SearchReadGroupSetsResponse",
729+ "httpMethod": "POST",
893− "type": "object",
730+ "parameters": {
894− "description": "The read group set search response.",
731+ "variantSetId": {
895− "properties": {
732+ "description": "Required. The ID of the variant set that contains variant data which\nshould be exported. The caller must have READ access to this variant set.",
896− "readGroupSets": {
733+ "required": true,
897− "type": "array",
734+ "location": "path",
898− "description": "The list of matching read group sets.",
735+ "type": "string"
900− "$ref": "ReadGroupSet"
737+ },
901− }
738+ "path": "v1/variantsets/{variantSetId}:export",
740+ "https://www.googleapis.com/auth/bigquery",
741+ "https://www.googleapis.com/auth/cloud-platform",
742+ "https://www.googleapis.com/auth/genomics"
746+ "id": "genomics.variantsets.search",
748+ "$ref": "SearchVariantSetsResponse"
750+ "parameterOrder": [],
751+ "description": "Returns a list of all variant sets matching search criteria.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).",
753+ "$ref": "SearchVariantSetsRequest"
755+ "flatPath": "v1/variantsets/search",
756+ "httpMethod": "POST",
758+ "path": "v1/variantsets/search",
760+ "https://www.googleapis.com/auth/cloud-platform",
761+ "https://www.googleapis.com/auth/genomics",
762+ "https://www.googleapis.com/auth/genomics.readonly"
766+ "id": "genomics.variantsets.get",
768+ "$ref": "VariantSet"
773+ "description": "Gets a variant set by ID.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
774+ "flatPath": "v1/variantsets/{variantSetId}",
775+ "httpMethod": "GET",
778+ "description": "Required. The ID of the variant set.",
784+ "path": "v1/variantsets/{variantSetId}",
786+ "https://www.googleapis.com/auth/cloud-platform",
787+ "https://www.googleapis.com/auth/genomics",
788+ "https://www.googleapis.com/auth/genomics.readonly"
903− "nextPageToken": {
791+ "create": {
904− "type": "string",
792+ "id": "genomics.variantsets.create",
905− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
793+ "response": {
906− }
794+ "$ref": "VariantSet"
908− },
796+ "parameterOrder": [],
909− "ReadGroupSet": {
797+ "description": "Creates a new variant set.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe provided variant set must have a valid `datasetId` set - all other\nfields are optional. Note that the `id` field will be ignored, as this is\nassigned by the server.",
910− "id": "ReadGroupSet",
798+ "request": {
911− "type": "object",
799+ "$ref": "VariantSet"
912− "description": "A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way. * A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
800+ },
913− "properties": {
801+ "flatPath": "v1/variantsets",
914− "id": {
802+ "httpMethod": "POST",
915− "type": "string",
803+ "parameters": {},
916− "description": "The server-generated read group set ID, unique for all read group sets."
804+ "path": "v1/variantsets",
918− "datasetId": {
806+ "https://www.googleapis.com/auth/cloud-platform",
919− "type": "string",
807+ "https://www.googleapis.com/auth/genomics"
920− "description": "The dataset to which this read group set belongs."
808+ ]
924− "description": "The reference set to which the reads in this read group set are aligned."
926− "name": {
810+ "patch": {
927− "type": "string",
811+ "id": "genomics.variantsets.patch",
928− "description": "The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set."
812+ "response": {
813+ "$ref": "VariantSet"
930− "filename": {
815+ "parameterOrder": [
931− "type": "string",
816+ "variantSetId"
932− "description": "The filename of the original source file for this read group set, if any."
817+ ],
818+ "description": "Updates a variant set using patch semantics.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
820+ "$ref": "VariantSet"
822+ "flatPath": "v1/variantsets/{variantSetId}",
823+ "httpMethod": "PATCH",
826+ "description": "The ID of the variant to be updated (must already exist).",
832+ "description": "An optional mask specifying which fields to update. Supported fields:\n\n* metadata.\n* name.\n* description.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.",
833+ "location": "query",
835+ "format": "google-fieldmask"
838+ "path": "v1/variantsets/{variantSetId}",
840+ "https://www.googleapis.com/auth/cloud-platform",
841+ "https://www.googleapis.com/auth/genomics"
845+ "id": "genomics.variantsets.delete",
934− "readGroups": {
849+ "parameterOrder": [
935− "type": "array",
850+ "variantSetId"
936− "description": "The read groups in this set. There are typically 1-10 read groups in a read group set.",
851+ ],
937− "items": {
852+ "description": "Deletes a variant set including all variants, call sets, and calls within.\nThis is not reversible.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
938− "$ref": "ReadGroup"
853+ "flatPath": "v1/variantsets/{variantSetId}",
939− }
854+ "httpMethod": "DELETE",
940− },
855+ "parameters": {
941− "info": {
856+ "variantSetId": {
942− "type": "object",
857+ "description": "The ID of the variant set to be deleted.",
943− "description": "A map of additional read group set information.",
858+ "required": true,
944− "additionalProperties": {
859+ "location": "path",
945− "type": "array",
860+ "type": "string"
947− "type": "any"
862+ },
863+ "path": "v1/variantsets/{variantSetId}",
865+ "https://www.googleapis.com/auth/cloud-platform",
866+ "https://www.googleapis.com/auth/genomics"
950− }
871+ "annotations": {
953− "ReadGroup": {
874+ "id": "genomics.annotations.search",
954− "id": "ReadGroup",
875+ "response": {
955− "type": "object",
876+ "$ref": "SearchAnnotationsResponse"
956− "description": "A read group is all the data that's processed the same way by the sequencer.",
877+ },
957− "properties": {
878+ "parameterOrder": [],
958− "id": {
879+ "description": "Searches for annotations that match the given criteria. Results are\nordered by genomic coordinate (by reference sequence, then position).\nAnnotations with equivalent genomic coordinates are returned in an\nunspecified order. This order is consistent, such that two queries for the\nsame content (regardless of page size) yield annotations in the same order\nacross their respective streams of paginated responses. Caller must have\nREAD permission for the queried annotation sets.",
959− "type": "string",
880+ "request": {
960− "description": "The server-generated read group ID, unique for all read groups. Note: This is different than the @RG ID field in the SAM spec. For that value, see name."
881+ "$ref": "SearchAnnotationsRequest"
883+ "flatPath": "v1/annotations/search",
884+ "httpMethod": "POST",
886+ "path": "v1/annotations/search",
888+ "https://www.googleapis.com/auth/cloud-platform",
889+ "https://www.googleapis.com/auth/genomics",
890+ "https://www.googleapis.com/auth/genomics.readonly"
894+ "id": "genomics.annotations.get",
896+ "$ref": "Annotation"
901+ "description": "Gets an annotation. Caller must have READ permission\nfor the associated annotation set.",
902+ "flatPath": "v1/annotations/{annotationId}",
903+ "httpMethod": "GET",
906+ "description": "The ID of the annotation to be retrieved.",
912+ "path": "v1/annotations/{annotationId}",
914+ "https://www.googleapis.com/auth/cloud-platform",
915+ "https://www.googleapis.com/auth/genomics",
916+ "https://www.googleapis.com/auth/genomics.readonly"
920+ "id": "genomics.annotations.create",
922+ "$ref": "Annotation"
924+ "parameterOrder": [],
925+ "description": "Creates a new annotation. Caller must have WRITE permission\nfor the associated annotation set.\n\nThe following fields are required:\n\n* annotationSetId\n* referenceName or\n referenceId\n\n### Transcripts\n\nFor annotations of type TRANSCRIPT, the following fields of\ntranscript must be provided:\n\n* exons.start\n* exons.end\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field). The annotated\nrange must be no longer than 100Mbp (mega base pairs). See the\nAnnotation resource\nfor additional restrictions on each field.",
927+ "$ref": "Annotation"
929+ "flatPath": "v1/annotations",
930+ "httpMethod": "POST",
932+ "path": "v1/annotations",
934+ "https://www.googleapis.com/auth/cloud-platform",
935+ "https://www.googleapis.com/auth/genomics"
962− "datasetId": {
938+ "update": {
963− "type": "string",
939+ "id": "genomics.annotations.update",
964− "description": "The dataset to which this read group belongs."
940+ "response": {
965− },
941+ "$ref": "Annotation"
967− "type": "string",
943+ "parameterOrder": [
968− "description": "The read group name. This corresponds to the @RG ID field in the SAM spec."
944+ "annotationId"
970− "description": {
946+ "description": "Updates an annotation. Caller must have\nWRITE permission for the associated dataset.",
971− "type": "string",
947+ "request": {
972− "description": "A free-form text description of this read group."
948+ "$ref": "Annotation"
974− "sampleId": {
950+ "flatPath": "v1/annotations/{annotationId}",
975− "type": "string",
951+ "httpMethod": "PUT",
976− "description": "A client-supplied sample identifier for the reads in this read group."
952+ "parameters": {
977− },
953+ "annotationId": {
978− "experiment": {
954+ "description": "The ID of the annotation to be updated.",
979− "$ref": "Experiment",
955+ "required": true,
980− "description": "The experiment used to generate this read group."
956+ "location": "path",
981− },
957+ "type": "string"
982− "predictedInsertSize": {
958+ },
983− "type": "integer",
959+ "updateMask": {
984− "description": "The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.",
960+ "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nvariant,\ntranscript, and\ninfo. If unspecified, all mutable\nfields will be updated.",
985− "format": "int32"
961+ "location": "query",
963+ "format": "google-fieldmask"
966+ "path": "v1/annotations/{annotationId}",
968+ "https://www.googleapis.com/auth/cloud-platform",
969+ "https://www.googleapis.com/auth/genomics"
987− "programs": {
972+ "batchCreate": {
988− "type": "array",
973+ "id": "genomics.annotations.batchCreate",
989− "description": "The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.",
974+ "response": {
990− "items": {
975+ "$ref": "BatchCreateAnnotationsResponse"
991− "$ref": "Program"
976+ },
992− }
977+ "parameterOrder": [],
978+ "description": "Creates one or more new annotations atomically. All annotations must\nbelong to the same annotation set. Caller must have WRITE\npermission for this annotation set. For optimal performance, batch\npositionally adjacent annotations together.\n\nIf the request has a systemic issue, such as an attempt to write to\nan inaccessible annotation set, the entire RPC will fail accordingly. For\nlesser data issues, when possible an error will be isolated to the\ncorresponding batch entry in the response; the remaining well formed\nannotations will be created normally.\n\nFor details on the requirements for each individual annotation resource,\nsee\nCreateAnnotation.",
980+ "$ref": "BatchCreateAnnotationsRequest"
982+ "flatPath": "v1/annotations:batchCreate",
983+ "httpMethod": "POST",
985+ "path": "v1/annotations:batchCreate",
987+ "https://www.googleapis.com/auth/cloud-platform",
988+ "https://www.googleapis.com/auth/genomics"
992+ "id": "genomics.annotations.delete",
994− "referenceSetId": {
996+ "parameterOrder": [
995− "type": "string",
997+ "annotationId"
996− "description": "The reference set the reads in this read group are aligned to."
998+ ],
997− },
999+ "description": "Deletes an annotation. Caller must have WRITE permission for\nthe associated annotation set.",
998− "info": {
1000+ "flatPath": "v1/annotations/{annotationId}",
999− "type": "object",
1001+ "httpMethod": "DELETE",
1000− "description": "A map of additional read group information. This must be of the form map (string key mapping to a list of string values).",
1002+ "parameters": {
1001− "additionalProperties": {
1003+ "annotationId": {
1004+ "description": "The ID of the annotation to be deleted.",
1006+ "location": "path",
1002− "type": "array",
1007+ "type": "string"
1004− "type": "any"
1009+ },
1010+ "path": "v1/annotations/{annotationId}",
1012+ "https://www.googleapis.com/auth/cloud-platform",
1013+ "https://www.googleapis.com/auth/genomics"
1011− "id": "Experiment",
1016− "description": "A client-supplied library identifier; a library is a collection of DNA fragments which have been prepared for sequencing from a sample. This field is important for quality control as error or bias can be introduced during sample preparation."
1020− "description": "The platform unit used as part of this experiment, for example flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field in the SAM spec."
1022− "sequencingCenter": {
1024− "description": "The sequencing center used as part of this experiment."
1026− "instrumentModel": {
1028− "description": "The instrument model used as part of this experiment. This maps to sequencing technology in the SAM spec."
1038− "description": "The command line used to run this program."
1042− "description": "The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs."
1046− "description": "The display name of the program. This is typically the colloquial name of the tool used, for example 'bwa' or 'picard'."
1050− "description": "The ID of the program run before this one."
1054− "description": "The version of the program run."
1058− "ListCoverageBucketsResponse": {
1059− "id": "ListCoverageBucketsResponse",
1064− "description": "The length of each coverage bucket in base pairs. Note that buckets at the end of a reference sequence may be shorter. This value is omitted if the bucket width is infinity (the default behaviour, with no range or `targetBucketWidth`).",
1067− "coverageBuckets": {
1069− "description": "The coverage buckets. The list of buckets is sparse; a bucket with 0 overlapping reads is not returned. A bucket never crosses more than one reference sequence. Each bucket has width `bucketWidth`, unless its end is the end of the reference sequence.",
1071− "$ref": "CoverageBucket"
1076− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1080− "CoverageBucket": {
1081− "id": "CoverageBucket",
1083− "description": "A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.",
1087− "description": "The genomic coordinate range spanned by this bucket."
1091− "description": "The average number of reads which are aligned to each individual reference base in this bucket.",
1099− "description": "A 0-based half-open genomic coordinate range for search requests.",
1103− "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`."
1107− "description": "The start position of the range on the reference, 0-based inclusive.",
1112− "description": "The end position of the range on the reference, 0-based exclusive.",
1117− "SearchReadsRequest": {
1118− "id": "SearchReadsRequest",
1120− "description": "The read search request.",
1122− "readGroupSetIds": {
1124− "description": "The IDs of the read groups sets within which to search for reads. All specified read group sets must be aligned against a common set of reference sequences; this defines the genomic coordinates for the query. Must specify one of `readGroupSetIds` or `readGroupIds`.",
1129− "readGroupIds": {
1018+ "reads": {
1130− "type": "array",
1019+ "methods": {
1131− "description": "The IDs of the read groups within which to search for reads. All specified read groups must belong to the same read group sets. Must specify one of `readGroupSetIds` or `readGroupIds`.",
1020+ "search": {
1132− "items": {
1021+ "id": "genomics.reads.search",
1133− "type": "string"
1022+ "response": {
1134− }
1023+ "$ref": "SearchReadsResponse"
1136− "referenceName": {
1025+ "parameterOrder": [],
1137− "type": "string",
1026+ "description": "Gets a list of reads for one or more read group sets.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nReads search operates over a genomic coordinate space of reference sequence\n& position defined over the reference sequences to which the requested\nread group sets are aligned.\n\nIf a target positional range is specified, search returns all reads whose\nalignment to the reference genome overlap the range. A query which\nspecifies only read group set IDs yields all reads in those read group\nsets, including unmapped reads.\n\nAll reads returned (including reads on subsequent pages) are ordered by\ngenomic coordinate (by reference sequence, then position). Reads with\nequivalent genomic coordinates are returned in an unspecified order. This\norder is consistent, such that two queries for the same content (regardless\nof page size) yield reads in the same order across their respective streams\nof paginated responses.\n\nImplements\n[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).",
1138− "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to `*`, only unmapped reads are returned. If unspecified, all reads (mapped and unmapped) are returned."
1027+ "request": {
1139− },
1028+ "$ref": "SearchReadsRequest"
1141− "type": "string",
1030+ "flatPath": "v1/reads/search",
1142− "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified.",
1031+ "httpMethod": "POST",
1143− "format": "int64"
1032+ "parameters": {},
1144− },
1033+ "path": "v1/reads/search",
1145− "end": {
1034+ "scopes": [
1146− "type": "string",
1035+ "https://www.googleapis.com/auth/cloud-platform",
1147− "description": "The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified.",
1036+ "https://www.googleapis.com/auth/genomics",
1148− "format": "int64"
1037+ "https://www.googleapis.com/auth/genomics.readonly"
1150− "pageToken": {
1039+ }
1151− "type": "string",
1040+ }
1152− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
1041+ },
1153− },
1042+ "variants": {
1154− "pageSize": {
1043+ "methods": {
1155− "type": "integer",
1044+ "merge": {
1156− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 2048.",
1045+ "id": "genomics.variants.merge",
1157− "format": "int32"
1046+ "response": {
1158− }
1047+ "$ref": "Empty"
1160− },
1049+ "parameterOrder": [],
1161− "SearchReadsResponse": {
1050+ "description": "Merges the given variants with existing variants.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach variant will be\nmerged with an existing variant that matches its reference sequence,\nstart, end, reference bases, and alternative bases. If no such variant\nexists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant. Variant info fields are merged as\nspecified in the\ninfoMergeConfig\nfield of the MergeVariantsRequest.\n\nPlease exercise caution when using this method! It is easy to introduce\nmistakes in existing variants and difficult to back out of them. For\nexample,\nsuppose you were trying to merge a new variant with an existing one and\nboth\nvariants contain calls that belong to callsets with the same callset ID.\n\n // Existing variant - irrelevant fields trimmed for clarity\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 0,\n 1\n ],\n }\n ]\n }\n\n // New variant with conflicting call information\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThe resulting merged variant would overwrite the existing calls with those\nfrom the new variant:\n\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThis may be the desired outcome, but it is up to the user to determine if\nif that is indeed the case.",
1162− "id": "SearchReadsResponse",
1051+ "request": {
1163− "type": "object",
1052+ "$ref": "MergeVariantsRequest"
1164− "description": "The read search response.",
1053+ },
1165− "properties": {
1054+ "flatPath": "v1/variants:merge",
1166− "alignments": {
1055+ "httpMethod": "POST",
1167− "type": "array",
1056+ "parameters": {},
1168− "description": "The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name.",
1057+ "path": "v1/variants:merge",
1169− "items": {
1058+ "scopes": [
1170− "$ref": "Read"
1059+ "https://www.googleapis.com/auth/cloud-platform",
1171− }
1060+ "https://www.googleapis.com/auth/genomics"
1173− "nextPageToken": {
1062+ },
1174− "type": "string",
1063+ "search": {
1175− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1064+ "id": "genomics.variants.search",
1176− }
1065+ "response": {
1177− }
1066+ "$ref": "SearchVariantsResponse"
1179− "Read": {
1068+ "parameterOrder": [],
1180− "id": "Read",
1069+ "description": "Gets a list of variants matching the criteria.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).",
1181− "type": "object",
1070+ "request": {
1182− "description": "A read alignment describes a linear alignment of a string of DNA to a reference sequence, in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one read group set. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ### Reverse-stranded reads Mapped reads (reads having a non-null `alignment`) can be aligned to either the forward or the reverse strand of their associated reference. Strandedness of a mapped read is encoded by `alignment.position.reverseStrand`. If we consider the reference to be a forward-stranded coordinate space of `[0, reference.length)` with `0` as the left-most position and `reference.length` as the right-most position, reads are always aligned left to right. That is, `alignment.position.position` always refers to the left-most reference coordinate and `alignment.cigar` describes the alignment of this read to the reference from left to right. All per-base fields such as `alignedSequence` and `alignedQuality` share this same left-to-right orientation; this is true of reads which are aligned to either strand. For reverse-stranded reads, this means that `alignedSequence` is the reverse complement of the bases that were originally reported by the sequencing machine. ### Generating a reference-aligned sequence string When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this: out = \"\" offset = 0 for c in read.alignment.cigar { switch c.operation { case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case \"CLIP_SOFT\", \"INSERT\": offset += c.operationLength break case \"PAD\": out += repeat(\"*\", c.operationLength) break case \"DELETE\": out += repeat(\"-\", c.operationLength) break case \"SKIP\": out += repeat(\" \", c.operationLength) break case \"CLIP_HARD\": break } } return out ### Converting to SAM's CIGAR string The following pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this is a lossy conversion (`cigar.referenceSequence` is lost). cigarMap = { \"ALIGNMENT_MATCH\": \"M\", \"INSERT\": \"I\", \"DELETE\": \"D\", \"SKIP\": \"N\", \"CLIP_SOFT\": \"S\", \"CLIP_HARD\": \"H\", \"PAD\": \"P\", \"SEQUENCE_MATCH\": \"=\", \"SEQUENCE_MISMATCH\": \"X\", } cigarStr = \"\" for c in read.alignment.cigar { cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr",
1071+ "$ref": "SearchVariantsRequest"
1183− "properties": {
1072+ },
1184− "id": {
1073+ "flatPath": "v1/variants/search",
1185− "type": "string",
1074+ "httpMethod": "POST",
1186− "description": "The server-generated read ID, unique across all reads. This is different from the `fragmentName`."
1075+ "parameters": {},
1187− },
1076+ "path": "v1/variants/search",
1188− "readGroupId": {
1077+ "scopes": [
1189− "type": "string",
1078+ "https://www.googleapis.com/auth/cloud-platform",
1190− "description": "The ID of the read group this read belongs to. A read belongs to exactly one read group. This is a server-generated ID which is distinct from SAM's RG tag (for that value, see ReadGroup.name)."
1079+ "https://www.googleapis.com/auth/genomics",
1191− },
1080+ "https://www.googleapis.com/auth/genomics.readonly"
1192− "readGroupSetId": {
1081+ ]
1193− "type": "string",
1082+ },
1194− "description": "The ID of the read group set this read belongs to. A read belongs to exactly one read group set."
1083+ "get": {
1195− },
1084+ "id": "genomics.variants.get",
1196− "fragmentName": {
1085+ "response": {
1197− "type": "string",
1086+ "$ref": "Variant"
1198− "description": "The fragment name. Equivalent to QNAME (query template name) in SAM."
1087+ },
1199− },
1088+ "parameterOrder": [
1200− "properPlacement": {
1089+ "variantId"
1201− "type": "boolean",
1090+ ],
1202− "description": "The orientation and the distance between reads from the fragment are consistent with the sequencing protocol (SAM flag 0x2)."
1091+ "description": "Gets a variant by ID.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1203− },
1092+ "flatPath": "v1/variants/{variantId}",
1204− "duplicateFragment": {
1093+ "httpMethod": "GET",
1205− "type": "boolean",
1094+ "parameters": {
1206− "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400)."
1095+ "variantId": {
1207− },
1096+ "description": "The ID of the variant.",
1208− "fragmentLength": {
1097+ "required": true,
1209− "type": "integer",
1098+ "location": "path",
1210− "description": "The observed length of the fragment, equivalent to TLEN in SAM.",
1099+ "type": "string"
1211− "format": "int32"
1100+ }
1213− "readNumber": {
1102+ "path": "v1/variants/{variantId}",
1214− "type": "integer",
1103+ "scopes": [
1215− "description": "The read number in sequencing. 0-based and less than numberReads. This field replaces SAM flag 0x40 and 0x80.",
1104+ "https://www.googleapis.com/auth/cloud-platform",
1216− "format": "int32"
1105+ "https://www.googleapis.com/auth/genomics",
1217− },
1106+ "https://www.googleapis.com/auth/genomics.readonly"
1218− "numberReads": {
1107+ ]
1219− "type": "integer",
1108+ },
1220− "description": "The number of reads in the fragment (extension to SAM flag 0x1).",
1109+ "create": {
1221− "format": "int32"
1110+ "id": "genomics.variants.create",
1222− },
1111+ "response": {
1223− "failedVendorQualityChecks": {
1112+ "$ref": "Variant"
1224− "type": "boolean",
1113+ },
1225− "description": "Whether this read did not pass filters, such as platform or vendor quality controls (SAM flag 0x200)."
1114+ "parameterOrder": [],
1226− },
1115+ "description": "Creates a new variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1227− "alignment": {
1116+ "request": {
1228− "$ref": "LinearAlignment",
1117+ "$ref": "Variant"
1229− "description": "The linear alignment for this alignment record. This field is null for unmapped reads."
1118+ },
1230− },
1119+ "flatPath": "v1/variants",
1231− "secondaryAlignment": {
1120+ "httpMethod": "POST",
1232− "type": "boolean",
1121+ "parameters": {},
1233− "description": "Whether this alignment is secondary. Equivalent to SAM flag 0x100. A secondary alignment represents an alternative to the primary alignment for this read. Aligners may return secondary alignments if a read can map ambiguously to multiple coordinates in the genome. By convention, each read has one and only one alignment where both `secondaryAlignment` and `supplementaryAlignment` are false."
1122+ "path": "v1/variants",
1234− },
1123+ "scopes": [
1235− "supplementaryAlignment": {
1124+ "https://www.googleapis.com/auth/cloud-platform",
1236− "type": "boolean",
1125+ "https://www.googleapis.com/auth/genomics"
1237− "description": "Whether this alignment is supplementary. Equivalent to SAM flag 0x800. Supplementary alignments are used in the representation of a chimeric alignment. In a chimeric alignment, a read is split into multiple linear alignments that map to different reference contigs. The first linear alignment in the read will be designated as the representative alignment; the remaining linear alignments will be designated as supplementary alignments. These alignments may have different mapping quality scores. In each linear alignment in a chimeric alignment, the read will be hard clipped. The `alignedSequence` and `alignedQuality` fields in the alignment record will only represent the bases for its respective linear alignment."
1126+ ]
1239− "alignedSequence": {
1128+ "patch": {
1240− "type": "string",
1129+ "id": "genomics.variants.patch",
1241− "description": "The bases of the read sequence contained in this alignment record, **without CIGAR operations applied** (equivalent to SEQ in SAM). `alignedSequence` and `alignedQuality` may be shorter than the full read sequence and quality. This will occur if the alignment is part of a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR for this read will begin/end with a hard clip operator that will indicate the length of the excised sequence."
1130+ "response": {
1242− },
1131+ "$ref": "Variant"
1243− "alignedQuality": {
1132+ },
1244− "type": "array",
1133+ "parameterOrder": [
1245− "description": "The quality of the read sequence contained in this alignment record (equivalent to QUAL in SAM). `alignedSequence` and `alignedQuality` may be shorter than the full read sequence and quality. This will occur if the alignment is part of a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR for this read will begin/end with a hard clip operator that will indicate the length of the excised sequence.",
1134+ "variantId"
1247− "type": "integer",
1136+ "description": "Updates a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics. Returns the modified variant without\nits calls.",
1248− "format": "int32"
1137+ "request": {
1249− }
1138+ "$ref": "Variant"
1251− "nextMatePosition": {
1140+ "flatPath": "v1/variants/{variantId}",
1252− "$ref": "Position",
1141+ "httpMethod": "PATCH",
1253− "description": "The mapping of the primary alignment of the `(readNumber+1)%numberReads` read in the fragment. It replaces mate position and mate strand in SAM."
1142+ "parameters": {
1254− },
1143+ "updateMask": {
1255− "info": {
1144+ "description": "An optional mask specifying which fields to update. At this time, mutable\nfields are names and\ninfo. Acceptable values are \"names\" and\n\"info\". If unspecified, all mutable fields will be updated.",
1256− "type": "object",
1145+ "location": "query",
1257− "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
1146+ "type": "string",
1258− "additionalProperties": {
1147+ "format": "google-fieldmask"
1259− "type": "array",
1148+ },
1260− "items": {
1149+ "variantId": {
1261− "type": "any"
1150+ "description": "The ID of the variant to be updated.",
1152+ "location": "path",
1156+ "path": "v1/variants/{variantId}",
1158+ "https://www.googleapis.com/auth/cloud-platform",
1159+ "https://www.googleapis.com/auth/genomics"
1163+ "id": "genomics.variants.delete",
1167+ "parameterOrder": [
1170+ "description": "Deletes a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1171+ "flatPath": "v1/variants/{variantId}",
1172+ "httpMethod": "DELETE",
1175+ "description": "The ID of the variant to be deleted.",
1177+ "location": "path",
1181+ "path": "v1/variants/{variantId}",
1183+ "https://www.googleapis.com/auth/cloud-platform",
1184+ "https://www.googleapis.com/auth/genomics"
1188+ "id": "genomics.variants.import",
1190+ "$ref": "Operation"
1192+ "parameterOrder": [],
1193+ "description": "Creates variant data by asynchronously importing the provided information.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe variants for import will be merged with any existing variant that\nmatches its reference sequence, start, end, reference bases, and\nalternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant, and Variant info fields are merged\nas specified in\ninfoMergeConfig.\nAs a special case, for single-sample VCF files, QUAL and FILTER fields will\nbe moved to the call level; these are sometimes interpreted in a\ncall-specific context.\nImported VCF headers are appended to the metadata already in a variant set.",
1195+ "$ref": "ImportVariantsRequest"
1197+ "flatPath": "v1/variants:import",
1198+ "httpMethod": "POST",
1200+ "path": "v1/variants:import",
1202+ "https://www.googleapis.com/auth/cloud-platform",
1203+ "https://www.googleapis.com/auth/devstorage.read_write",
1204+ "https://www.googleapis.com/auth/genomics"
1212+ "id": "genomics.referencesets.get",
1214+ "$ref": "ReferenceSet"
1216+ "parameterOrder": [
1219+ "description": "Gets a reference set.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).",
1220+ "flatPath": "v1/referencesets/{referenceSetId}",
1221+ "httpMethod": "GET",
1223+ "referenceSetId": {
1224+ "description": "The ID of the reference set.",
1226+ "location": "path",
1230+ "path": "v1/referencesets/{referenceSetId}",
1232+ "https://www.googleapis.com/auth/cloud-platform",
1233+ "https://www.googleapis.com/auth/genomics",
1234+ "https://www.googleapis.com/auth/genomics.readonly"
1238+ "id": "genomics.referencesets.search",
1240+ "$ref": "SearchReferenceSetsResponse"
1242+ "parameterOrder": [],
1243+ "description": "Searches for reference sets which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)",
1245+ "$ref": "SearchReferenceSetsRequest"
1247+ "flatPath": "v1/referencesets/search",
1248+ "httpMethod": "POST",
1250+ "path": "v1/referencesets/search",
1252+ "https://www.googleapis.com/auth/cloud-platform",
1253+ "https://www.googleapis.com/auth/genomics",
1254+ "https://www.googleapis.com/auth/genomics.readonly"
1262+ "id": "genomics.datasets.getIamPolicy",
1266+ "parameterOrder": [
1269+ "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee \u003ca href=\"/iam/docs/managing-policies#getting_a_policy\"\u003eGetting a\nPolicy\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1271+ "$ref": "GetIamPolicyRequest"
1273+ "flatPath": "v1/datasets/{datasetsId}:getIamPolicy",
1274+ "httpMethod": "POST",
1277+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.",
1279+ "pattern": "^datasets/[^/]+$",
1280+ "location": "path",
1284+ "path": "v1/{+resource}:getIamPolicy",
1286+ "https://www.googleapis.com/auth/cloud-platform",
1287+ "https://www.googleapis.com/auth/genomics"
1291+ "id": "genomics.datasets.undelete",
1295+ "parameterOrder": [
1298+ "description": "Undeletes a dataset by restoring a dataset which was deleted via this API.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis operation is only possible for a week after the deletion occurred.",
1300+ "$ref": "UndeleteDatasetRequest"
1302+ "flatPath": "v1/datasets/{datasetId}:undelete",
1303+ "httpMethod": "POST",
1306+ "description": "The ID of the dataset to be undeleted.",
1308+ "location": "path",
1312+ "path": "v1/datasets/{datasetId}:undelete",
1314+ "https://www.googleapis.com/auth/cloud-platform",
1315+ "https://www.googleapis.com/auth/genomics"
1319+ "id": "genomics.datasets.list",
1321+ "$ref": "ListDatasetsResponse"
1323+ "parameterOrder": [],
1324+ "description": "Lists datasets within a project.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1325+ "flatPath": "v1/datasets",
1326+ "httpMethod": "GET",
1329+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 50. The maximum value is 1024.",
1330+ "location": "query",
1335+ "description": "Required. The Google Cloud project ID to list datasets for.",
1336+ "location": "query",
1340+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
1341+ "location": "query",
1345+ "path": "v1/datasets",
1347+ "https://www.googleapis.com/auth/cloud-platform",
1348+ "https://www.googleapis.com/auth/genomics",
1349+ "https://www.googleapis.com/auth/genomics.readonly"
1353+ "id": "genomics.datasets.get",
1357+ "parameterOrder": [
1360+ "description": "Gets a dataset by ID.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1361+ "flatPath": "v1/datasets/{datasetId}",
1362+ "httpMethod": "GET",
1365+ "description": "The ID of the dataset.",
1367+ "location": "path",
1371+ "path": "v1/datasets/{datasetId}",
1373+ "https://www.googleapis.com/auth/cloud-platform",
1374+ "https://www.googleapis.com/auth/genomics",
1375+ "https://www.googleapis.com/auth/genomics.readonly"
1379+ "id": "genomics.datasets.create",
1383+ "parameterOrder": [],
1384+ "description": "Creates a new dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1388+ "flatPath": "v1/datasets",
1389+ "httpMethod": "POST",
1391+ "path": "v1/datasets",
1393+ "https://www.googleapis.com/auth/cloud-platform",
1394+ "https://www.googleapis.com/auth/genomics"
1398+ "id": "genomics.datasets.patch",
1402+ "parameterOrder": [
1405+ "description": "Updates a dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.",
1409+ "flatPath": "v1/datasets/{datasetId}",
1410+ "httpMethod": "PATCH",
1413+ "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.",
1414+ "location": "query",
1416+ "format": "google-fieldmask"
1419+ "description": "The ID of the dataset to be updated.",
1421+ "location": "path",
1425+ "path": "v1/datasets/{datasetId}",
1427+ "https://www.googleapis.com/auth/cloud-platform",
1428+ "https://www.googleapis.com/auth/genomics"
1432+ "id": "genomics.datasets.setIamPolicy",
1436+ "parameterOrder": [
1439+ "description": "Sets the access control policy on the specified dataset. Replaces any\nexisting policy.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nSee \u003ca href=\"/iam/docs/managing-policies#setting_a_policy\"\u003eSetting a\nPolicy\u003c/a\u003e for more information.",
1441+ "$ref": "SetIamPolicyRequest"
1443+ "flatPath": "v1/datasets/{datasetsId}:setIamPolicy",
1444+ "httpMethod": "POST",
1447+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.",
1449+ "pattern": "^datasets/[^/]+$",
1450+ "location": "path",
1454+ "path": "v1/{+resource}:setIamPolicy",
1456+ "https://www.googleapis.com/auth/cloud-platform",
1457+ "https://www.googleapis.com/auth/genomics"
1461+ "id": "genomics.datasets.delete",
1465+ "parameterOrder": [
1468+ "description": "Deletes a dataset and all of its contents (all read group sets,\nreference sets, variant sets, call sets, annotation sets, etc.)\nThis is reversible (up to one week after the deletion) via\nthe\ndatasets.undelete\noperation.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1469+ "flatPath": "v1/datasets/{datasetId}",
1470+ "httpMethod": "DELETE",
1473+ "description": "The ID of the dataset to be deleted.",
1475+ "location": "path",
1479+ "path": "v1/datasets/{datasetId}",
1481+ "https://www.googleapis.com/auth/cloud-platform",
1482+ "https://www.googleapis.com/auth/genomics"
1485+ "testIamPermissions": {
1486+ "id": "genomics.datasets.testIamPermissions",
1488+ "$ref": "TestIamPermissionsResponse"
1490+ "parameterOrder": [
1493+ "description": "Returns permissions that a caller has on the specified resource.\nSee \u003ca href=\"/iam/docs/managing-policies#testing_permissions\"\u003eTesting\nPermissions\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1495+ "$ref": "TestIamPermissionsRequest"
1497+ "flatPath": "v1/datasets/{datasetsId}:testIamPermissions",
1498+ "httpMethod": "POST",
1501+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.",
1503+ "pattern": "^datasets/[^/]+$",
1504+ "location": "path",
1508+ "path": "v1/{+resource}:testIamPermissions",
1510+ "https://www.googleapis.com/auth/cloud-platform",
1511+ "https://www.googleapis.com/auth/genomics"
1267− "LinearAlignment": {
1268− "id": "LinearAlignment",
1270− "description": "A linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference.",
1273− "$ref": "Position",
1274− "description": "The position of this alignment."
1276− "mappingQuality": {
1278− "description": "The mapping quality of this alignment. Represents how likely the read maps to this position as opposed to other locations. Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to the nearest integer.",
1283− "description": "Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.",
1285− "$ref": "CigarUnit"
1293− "description": "An abstraction for referring to a genomic position, in relation to some already known reference. For now, represents a genomic position as a reference name, a base number on that reference (0-based), and a determination of forward or reverse strand.",
1297− "description": "The name of the reference in whatever reference set is being used."
1301− "description": "The 0-based offset from the start of the forward strand for that reference.",
1306− "description": "Whether this position is on the reverse strand, as opposed to the forward strand."
1313− "description": "A single CIGAR operation.",
1318− "OPERATION_UNSPECIFIED",
1327− "SEQUENCE_MISMATCH"
1330− "operationLength": {
1332− "description": "The number of genomic bases that the operation runs for. Required.",
1335− "referenceSequence": {
1337− "description": "`referenceSequence` is only used at mismatches (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). Filling this field replaces SAM's MD tag. If the relevant information is not available, this field is unset."
1341− "StreamReadsRequest": {
1342− "id": "StreamReadsRequest",
1344− "description": "The stream reads request.",
1348− "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required."
1350− "readGroupSetId": {
1352− "description": "The ID of the read group set from which to stream reads."
1356− "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *, only unmapped reads are returned."
1360− "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified.",
1365− "description": "The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified.",
1370− "description": "Restricts results to a shard containing approximately `1/totalShards` of the normal response payload for this query. Results from a sharded request are disjoint from those returned by all queries which differ only in their shard parameter. A shard may yield 0 results; this is especially likely for large values of `totalShards`. Valid values are `[0, totalShards)`.",
1375− "description": "Specifying `totalShards` causes a disjoint subset of the normal response payload to be returned for each query with a unique `shard` parameter specified. A best effort is made to yield equally sized shards. Sharding can be used to distribute processing amongst workers, where each worker is assigned a unique `shard` number and all workers specify the same `totalShards` number. The union of reads returned for all sharded queries `[0, totalShards)` is equal to those returned by a single unsharded query. Queries for different values of `totalShards` with common divisors will share shard boundaries. For example, streaming `shard` 2 of 5 `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10 `totalShards`. This property can be leveraged for adaptive retries.",
1380− "StreamReadsResponse": {
1381− "id": "StreamReadsResponse",
1392− "SearchReferenceSetsRequest": {
1517+ "schemas": {
1393− "id": "SearchReferenceSetsRequest",
1518+ "SearchReferencesRequest": {
1394− "type": "object",
1519+ "type": "object",
1395− "properties": {
1520+ "properties": {
1521+ "referenceSetId": {
1522+ "description": "If present, return only references which belong to this reference set.",
1396− "md5checksums": {
1525+ "md5checksums": {
1398− "description": "If present, return reference sets for which the md5checksum matches exactly.",
1526+ "description": "If present, return references for which the\nmd5checksum matches exactly.",
1399− "items": {
1528+ "items": {
1400− "type": "string"
1529+ "type": "string"
1533+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.",
1538+ "description": "If present, return references for which a prefix of any of\nsourceAccessions match\nany of these strings. Accession numbers typically have a main number and a\nversion, for example `GCF_000001405.26`.",
1545+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
1549+ "id": "SearchReferencesRequest"
1403− "accessions": {
1551+ "ReadGroupSet": {
1404− "type": "array",
1552+ "description": "A read group set is a logical collection of read groups, which are\ncollections of reads produced by a sequencer. A read group set typically\nmodels reads corresponding to one sample, sequenced one way, and aligned one\nway.\n\n* A read group set belongs to one dataset.\n* A read group belongs to one read group set.\n* A read belongs to one read group.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1405− "description": "If present, return reference sets for which a prefix of any of sourceAccessions match any of these strings. Accession numbers typically have a main number and a version, for example `NC_000001.11`.",
1553+ "type": "object",
1406− "items": {
1554+ "properties": {
1407− "type": "string"
1555+ "id": {
1408− }
1556+ "description": "The server-generated read group set ID, unique for all read group sets.",
1560+ "description": "A map of additional read group set information.",
1561+ "additionalProperties": {
1570+ "description": "The dataset to which this read group set belongs.",
1574+ "description": "The filename of the original source file for this read group set, if any.",
1578+ "description": "The read group set name. By default this will be initialized to the sample\nname of the sequenced data contained in this set.",
1581+ "referenceSetId": {
1582+ "description": "The reference set to which the reads in this read group set are aligned.",
1586+ "description": "The read groups in this set. There are typically 1-10 read groups in a read\ngroup set.",
1589+ "$ref": "ReadGroup"
1593+ "id": "ReadGroupSet"
1595+ "ExportVariantSetRequest": {
1596+ "description": "The variant data export request.",
1600+ "description": "If provided, only variant call information from the specified call sets\nwill be exported. By default all variant calls are exported.",
1606+ "bigqueryDataset": {
1607+ "description": "Required. The BigQuery dataset to export data to. This dataset must already\nexist. Note that this is distinct from the Genomics concept of \"dataset\".",
1611+ "description": "Required. The BigQuery table to export data to.\nIf the table doesn't exist, it will be created. If it already exists, it\nwill be overwritten.",
1615+ "description": "Required. The Google Cloud project ID that owns the destination\nBigQuery dataset. The caller must have WRITE access to this project. This\nproject will also own the resulting export job.",
1619+ "description": "The format for the exported data.",
1621+ "FORMAT_UNSPECIFIED",
1624+ "enumDescriptions": [
1626+ "Export the data to Google BigQuery."
1631+ "id": "ExportVariantSetRequest"
1634+ "description": "Describes a Compute Engine resource that is being managed by a running\npipeline.",
1638+ "description": "The instance on which the operation is running.",
1642+ "description": "The machine type of the instance.",
1646+ "description": "The availability zone in which the instance resides.",
1650+ "description": "The names of the disks that were created for this pipeline.",
1657+ "id": "ComputeEngine"
1659+ "CodingSequence": {
1663+ "description": "The end of the coding sequence on this annotation's reference sequence,\n0-based exclusive. Note that this position is relative to the reference\nstart, and *not* the containing annotation start.",
1668+ "description": "The start of the coding sequence on this annotation's reference sequence,\n0-based inclusive. Note that this position is relative to the reference\nstart, and *not* the containing annotation start.",
1673+ "id": "CodingSequence"
1676+ "description": "A transcript represents the assertion that a particular region of the\nreference genome may be transcribed as RNA.",
1679+ "codingSequence": {
1680+ "description": "The range of the coding sequence for this transcript, if any. To determine\nthe exact ranges of coding sequence, intersect this range with those of the\nexons, if any. If there are any\nexons, the\ncodingSequence must start\nand end within them.\n\nNote that in some cases, the reference genome will not exactly match the\nobserved mRNA transcript e.g. due to variance in the source genome from\nreference. In these cases,\nexon.frame will not necessarily\nmatch the expected reference reading frame and coding exon reference bases\ncannot necessarily be concatenated to produce the original transcript mRNA.",
1681+ "$ref": "CodingSequence"
1684+ "description": "The annotation ID of the gene from which this transcript is transcribed.",
1688+ "description": "The \u003ca href=\"http://en.wikipedia.org/wiki/Exon\"\u003eexons\u003c/a\u003e that compose\nthis transcript. This field should be unset for genomes where transcript\nsplicing does not occur, for example prokaryotes.\n\nIntrons are regions of the transcript that are not included in the\nspliced RNA product. Though not explicitly modeled here, intron ranges can\nbe deduced; all regions of this transcript that are not exons are introns.\n\nExonic sequences do not necessarily code for a translational product\n(amino acids). Only the regions of exons bounded by the\ncodingSequence correspond\nto coding DNA sequence.\n\nExons are ordered by start position and may not overlap.",
1697+ "ListOperationsResponse": {
1698+ "description": "The response message for Operations.ListOperations.",
1702+ "description": "The standard List next-page token.",
1706+ "description": "A list of operations that matches the specified filter in the request.",
1709+ "$ref": "Operation"
1713+ "id": "ListOperationsResponse"
1719+ "description": "The created annotation, if creation was successful.",
1720+ "$ref": "Annotation"
1723+ "description": "The creation status.",
1729+ "ClinicalCondition": {
1733+ "description": "The set of external IDs for this condition.",
1736+ "$ref": "ExternalId"
1740+ "description": "A set of names for the condition.",
1747+ "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/",
1751+ "description": "The MedGen concept id associated with this gene.\nSearch for these IDs at http://www.ncbi.nlm.nih.gov/medgen/",
1755+ "id": "ClinicalCondition"
1757+ "CancelOperationRequest": {
1758+ "description": "The request message for Operations.CancelOperation.",
1761+ "id": "CancelOperationRequest"
1763+ "SearchVariantsRequest": {
1764+ "description": "The variant search request.",
1768+ "description": "Required. Only return variants in this reference sequence.",
1772+ "description": "At most one variant set ID must be provided. Only variants from this\nvariant set will be returned. If omitted, a call set id must be included in\nthe request.",
1779+ "description": "The maximum number of calls to return in a single page. Note that this\nlimit may be exceeded in the event that a matching variant contains more\ncalls than the requested maximum. If unspecified, defaults to 5000. The\nmaximum value is 10000.",
1784+ "description": "The maximum number of variants to return in a single page. If unspecified,\ndefaults to 5000. The maximum value is 10000.",
1789+ "description": "The beginning of the window (0-based, inclusive) for which\noverlapping variants should be returned. If unspecified, defaults to 0.",
1794+ "description": "Only return variant calls which belong to call sets with these ids.\nLeaving this blank returns all variant calls. If a variant has no\ncalls belonging to any of these call sets, it won't be returned at all.",
1801+ "description": "Only return variants which have exactly this name.",
1805+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
1809+ "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to\nthe length of the reference.",
1814+ "id": "SearchVariantsRequest"
1816+ "VariantSetMetadata": {
1817+ "description": "Metadata describes a single piece of variant call metadata.\nThese data include a top level key and either a single value string (value)\nor a list of key-value pairs (info.)\nValue and info are mutually exclusive.",
1821+ "description": "User-provided ID field, not enforced by this API.\nTwo or more pieces of structured metadata with identical\nid and key fields are considered equivalent.",
1825+ "description": "A textual description of this metadata.",
1829+ "description": "Remaining structured metadata key-value pairs. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
1830+ "additionalProperties": {
1839+ "description": "The top-level key.",
1843+ "description": "The value field for simple metadata",
1847+ "description": "The number of values that can be included in a field described by this\nmetadata.",
1851+ "description": "The type of data. Possible types include: Integer, Float,\nFlag, Character, and String.",
1853+ "TYPE_UNSPECIFIED",
1860+ "enumDescriptions": [
1871+ "id": "VariantSetMetadata"
1874+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).",
1878+ "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
1885+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.",
1890+ "description": "Version of the `Policy`. The default version is 0.",
1898+ "description": "A read alignment describes a linear alignment of a string of DNA to a\nreference sequence, in addition to metadata\nabout the fragment (the molecule of DNA sequenced) and the read (the bases\nwhich were read by the sequencer). A read is equivalent to a line in a SAM\nfile. A read belongs to exactly one read group and exactly one\nread group set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\n### Reverse-stranded reads\n\nMapped reads (reads having a non-null `alignment`) can be aligned to either\nthe forward or the reverse strand of their associated reference. Strandedness\nof a mapped read is encoded by `alignment.position.reverseStrand`.\n\nIf we consider the reference to be a forward-stranded coordinate space of\n`[0, reference.length)` with `0` as the left-most position and\n`reference.length` as the right-most position, reads are always aligned left\nto right. That is, `alignment.position.position` always refers to the\nleft-most reference coordinate and `alignment.cigar` describes the alignment\nof this read to the reference from left to right. All per-base fields such as\n`alignedSequence` and `alignedQuality` share this same left-to-right\norientation; this is true of reads which are aligned to either strand. For\nreverse-stranded reads, this means that `alignedSequence` is the reverse\ncomplement of the bases that were originally reported by the sequencing\nmachine.\n\n### Generating a reference-aligned sequence string\n\nWhen interacting with mapped reads, it's often useful to produce a string\nrepresenting the local alignment of the read to reference. The following\npseudocode demonstrates one way of doing this:\n\n out = \"\"\n offset = 0\n for c in read.alignment.cigar {\n switch c.operation {\n case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\":\n out += read.alignedSequence[offset:offset+c.operationLength]\n offset += c.operationLength\n break\n case \"CLIP_SOFT\", \"INSERT\":\n offset += c.operationLength\n break\n case \"PAD\":\n out += repeat(\"*\", c.operationLength)\n break\n case \"DELETE\":\n out += repeat(\"-\", c.operationLength)\n break\n case \"SKIP\":\n out += repeat(\" \", c.operationLength)\n break\n case \"CLIP_HARD\":\n break\n }\n }\n return out\n\n### Converting to SAM's CIGAR string\n\nThe following pseudocode generates a SAM CIGAR string from the\n`cigar` field. Note that this is a lossy conversion\n(`cigar.referenceSequence` is lost).\n\n cigarMap = {\n \"ALIGNMENT_MATCH\": \"M\",\n \"INSERT\": \"I\",\n \"DELETE\": \"D\",\n \"SKIP\": \"N\",\n \"CLIP_SOFT\": \"S\",\n \"CLIP_HARD\": \"H\",\n \"PAD\": \"P\",\n \"SEQUENCE_MATCH\": \"=\",\n \"SEQUENCE_MISMATCH\": \"X\",\n }\n cigarStr = \"\"\n for c in read.alignment.cigar {\n cigarStr += c.operationLength + cigarMap[c.operation]\n }\n return cigarStr",
1902+ "description": "The server-generated read ID, unique across all reads. This is different\nfrom the `fragmentName`.",
1906+ "description": "The linear alignment for this alignment record. This field is null for\nunmapped reads.",
1907+ "$ref": "LinearAlignment"
1909+ "failedVendorQualityChecks": {
1910+ "description": "Whether this read did not pass filters, such as platform or vendor quality\ncontrols (SAM flag 0x200).",
1913+ "supplementaryAlignment": {
1914+ "description": "Whether this alignment is supplementary. Equivalent to SAM flag 0x800.\nSupplementary alignments are used in the representation of a chimeric\nalignment. In a chimeric alignment, a read is split into multiple\nlinear alignments that map to different reference contigs. The first\nlinear alignment in the read will be designated as the representative\nalignment; the remaining linear alignments will be designated as\nsupplementary alignments. These alignments may have different mapping\nquality scores. In each linear alignment in a chimeric alignment, the read\nwill be hard clipped. The `alignedSequence` and\n`alignedQuality` fields in the alignment record will only\nrepresent the bases for its respective linear alignment.",
1918+ "description": "The number of reads in the fragment (extension to SAM flag 0x1).",
1923+ "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
1924+ "additionalProperties": {
1932+ "properPlacement": {
1933+ "description": "The orientation and the distance between reads from the fragment are\nconsistent with the sequencing protocol (SAM flag 0x2).",
1937+ "description": "The ID of the read group this read belongs to. A read belongs to exactly\none read group. This is a server-generated ID which is distinct from SAM's\nRG tag (for that value, see\nReadGroup.name).",
1941+ "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.",
1944+ "nextMatePosition": {
1945+ "description": "The mapping of the primary alignment of the\n`(readNumber+1)%numberReads` read in the fragment. It replaces\nmate position and mate strand in SAM.",
1948+ "secondaryAlignment": {
1949+ "description": "Whether this alignment is secondary. Equivalent to SAM flag 0x100.\nA secondary alignment represents an alternative to the primary alignment\nfor this read. Aligners may return secondary alignments if a read can map\nambiguously to multiple coordinates in the genome. By convention, each read\nhas one and only one alignment where both `secondaryAlignment`\nand `supplementaryAlignment` are false.",
1952+ "alignedQuality": {
1953+ "description": "The quality of the read sequence contained in this alignment record\n(equivalent to QUAL in SAM).\n`alignedSequence` and `alignedQuality` may be shorter than the full read\nsequence and quality. This will occur if the alignment is part of a\nchimeric alignment, or if the read was trimmed. When this occurs, the CIGAR\nfor this read will begin/end with a hard clip operator that will indicate\nthe length of the excised sequence.",
1960+ "readGroupSetId": {
1961+ "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set.",
1964+ "fragmentLength": {
1965+ "description": "The observed length of the fragment, equivalent to TLEN in SAM.",
1969+ "duplicateFragment": {
1970+ "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400).",
1974+ "description": "The read number in sequencing. 0-based and less than numberReads. This\nfield replaces SAM flag 0x40 and 0x80.",
1978+ "alignedSequence": {
1979+ "description": "The bases of the read sequence contained in this alignment record,\n**without CIGAR operations applied** (equivalent to SEQ in SAM).\n`alignedSequence` and `alignedQuality` may be\nshorter than the full read sequence and quality. This will occur if the\nalignment is part of a chimeric alignment, or if the read was trimmed. When\nthis occurs, the CIGAR for this read will begin/end with a hard clip\noperator that will indicate the length of the excised sequence.",
1985+ "SearchReadsRequest": {
1986+ "description": "The read search request.",
1990+ "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to\n`*`, only unmapped reads are returned. If unspecified, all reads (mapped\nand unmapped) are returned.",
1994+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.",
1998+ "readGroupSetIds": {
1999+ "description": "The IDs of the read groups sets within which to search for reads. All\nspecified read group sets must be aligned against a common set of reference\nsequences; this defines the genomic coordinates for the query. Must specify\none of `readGroupSetIds` or `readGroupIds`.",
2006+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified.",
2011+ "description": "The IDs of the read groups within which to search for reads. All specified\nread groups must belong to the same read group sets. Must specify one of\n`readGroupSetIds` or `readGroupIds`.",
2018+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2022+ "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.",
2027+ "id": "SearchReadsRequest"
2029+ "UndeleteDatasetRequest": {
2032+ "id": "UndeleteDatasetRequest"
2038+ "description": "The end position of the exon on this annotation's reference sequence,\n0-based exclusive. Note that this is relative to the reference start, and\n*not* the containing annotation start.",
2043+ "description": "The start position of the exon on this annotation's reference sequence,\n0-based inclusive. Note that this is relative to the reference start, and\n**not** the containing annotation start.",
2048+ "description": "The frame of this exon. Contains a value of 0, 1, or 2, which indicates\nthe offset of the first coding base of the exon within the reading frame\nof the coding DNA sequence, if any. This field is dependent on the\nstrandedness of this annotation (see\nAnnotation.reverse_strand).\nFor forward stranded annotations, this offset is relative to the\nexon.start. For reverse\nstrand annotations, this offset is relative to the\nexon.end `- 1`.\n\nUnset if this exon does not intersect the coding sequence. Upon creation\nof a transcript, the frame must be populated for all or none of the\ncoding exons.",
2055+ "GetIamPolicyRequest": {
2056+ "description": "Request message for `GetIamPolicy` method.",
2059+ "id": "GetIamPolicyRequest"
2061+ "ReferenceBound": {
2062+ "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.",
2066+ "description": "The name of the reference associated with this reference bound.",
2070+ "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.",
2075+ "id": "ReferenceBound"
2077+ "LinearAlignment": {
2078+ "description": "A linear alignment can be represented by one CIGAR string. Describes the\nmapped position and local alignment of the read to the reference.",
2082+ "description": "The position of this alignment.",
2085+ "mappingQuality": {
2086+ "description": "The mapping quality of this alignment. Represents how likely\nthe read maps to this position as opposed to other locations.\n\nSpecifically, this is -10 log10 Pr(mapping position is wrong), rounded to\nthe nearest integer.",
2091+ "description": "Represents the local alignment of this sequence (alignment matches, indels,\netc) against the reference.",
2094+ "$ref": "CigarUnit"
2098+ "id": "LinearAlignment"
2101+ "description": "An annotation describes a region of reference genome. The value of an\nannotation may be one of several canonical types, supplemented by arbitrary\ninfo tags. An annotation is not inherently associated with a specific\nsample or individual (though a client could choose to use annotations in\nthis way). Example canonical annotation types are `GENE` and\n`VARIANT`.",
2105+ "description": "The server-generated annotation ID, unique across all annotations.",
2109+ "description": "The display name corresponding to the reference specified by\n`referenceId`, for example `chr1`, `1`, or `chrX`.",
2113+ "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
2114+ "additionalProperties": {
2123+ "description": "The ID of the Google Genomics reference associated with this range.",
2127+ "description": "A variant annotation, which describes the effect of a variant on the\ngenome, the coding sequence, and/or higher level consequences at the\norganism level e.g. pathogenicity. This field is only set for annotations\nof type `VARIANT`.",
2128+ "$ref": "VariantAnnotation"
2130+ "annotationSetId": {
2131+ "description": "The annotation set to which this annotation belongs.",
2135+ "description": "The display name of this annotation.",
2139+ "description": "A transcript value represents the assertion that a particular region of\nthe reference genome may be transcribed as RNA. An alternative splicing\npattern would be represented as a separate transcript object. This field\nis only set for annotations of type `TRANSCRIPT`.",
2140+ "$ref": "Transcript"
2143+ "description": "The start position of the range on the reference, 0-based inclusive.",
2148+ "description": "Whether this range refers to the reverse strand, as opposed to the forward\nstrand. Note that regardless of this field, the start/end position of the\nrange always refer to the forward strand.",
2152+ "description": "The end position of the range on the reference, 0-based exclusive.",
2157+ "description": "The data type for this annotation. Must match the containing annotation\nset's type.",
2159+ "ANNOTATION_TYPE_UNSPECIFIED",
2165+ "enumDescriptions": [
2167+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
2168+ "A `VARIANT` annotation type.",
2169+ "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.",
2170+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
2180+ "instrumentModel": {
2181+ "description": "The instrument model used as part of this experiment. This maps to\nsequencing technology in the SAM spec.",
2184+ "sequencingCenter": {
2185+ "description": "The sequencing center used as part of this experiment.",
2189+ "description": "A client-supplied library identifier; a library is a collection of DNA\nfragments which have been prepared for sequencing from a sample. This\nfield is important for quality control as error or bias can be introduced\nduring sample preparation.",
2193+ "description": "The platform unit used as part of this experiment, for example\nflowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the\n@RG PU field in the SAM spec.",
2200+ "description": "A call represents the determination of genotype with respect to a particular\nvariant. It may include associated information such as quality and phasing.\nFor example, a call might assign a probability of 0.32 to the occurrence of\na SNP named rs1234 in a call set with the name NA12345.",
2204+ "description": "The name of the call set this variant call belongs to.",
2208+ "description": "A map of additional variant call information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
2209+ "additionalProperties": {
2218+ "description": "The ID of the call set this variant call belongs to.",
2222+ "description": "If this field is present, this variant call's genotype ordering implies\nthe phase of the bases and is consistent with any other variant calls in\nthe same reference sequence which have the same phaseset value.\nWhen importing data from VCF, if the genotype data was phased but no\nphase set was specified this field will be set to `*`.",
2226+ "description": "The genotype of this variant call. Each value represents either the value\nof the `referenceBases` field or a 1-based index into\n`alternateBases`. If a variant had a `referenceBases`\nvalue of `T` and an `alternateBases`\nvalue of `[\"A\", \"C\"]`, and the `genotype` was\n`[2, 1]`, that would mean the call\nrepresented the heterozygous value `CA` for this variant.\nIf the `genotype` was instead `[0, 1]`, the\nrepresented value would be `TA`. Ordering of the\ngenotype values is important if the `phaseset` is present.\nIf a genotype is not called (that is, a `.` is present in the\nGT string) -1 is returned.",
2233+ "genotypeLikelihood": {
2234+ "description": "The genotype likelihoods for this variant call. Each array entry\nrepresents how likely a specific genotype is for this call. The value\nordering is defined by the GL tag in the VCF spec.\nIf Phred-scaled genotype likelihood scores (PL) are available and\nlog10(P) genotype likelihood scores (GL) are not, PL scores are converted\nto GL scores. If both are available, PL scores are stored in `info`.",
2242+ "id": "VariantCall"
2244+ "SearchVariantSetsRequest": {
2245+ "description": "The search variant sets request.",
2249+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
2254+ "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.",
2261+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2265+ "id": "SearchVariantSetsRequest"
2268+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
2272+ "description": "The error result of the operation in case of failure or cancellation.",
2276+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.",
2280+ "description": "An OperationMetadata object. This will always be returned with the Operation.",
2281+ "additionalProperties": {
2282+ "description": "Properties of the object. Contains field @type with type URL.",
2288+ "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and exports, an empty response is returned.",
2289+ "additionalProperties": {
2290+ "description": "Properties of the object. Contains field @type with type URL.",
2296+ "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`",
2302+ "SearchAnnotationsRequest": {
2306+ "description": "The name of the reference to query, within the reference set associated\nwith this query.",
2310+ "description": "The ID of the reference to query.",
2314+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.",
2318+ "annotationSetIds": {
2319+ "description": "Required. The annotation sets to search within. The caller must have\n`READ` access to these annotation sets.\nAll queried annotation sets must have the same type.",
2326+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified,\nreferenceId or\nreferenceName\nmust be specified. Defaults to 0.",
2331+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2335+ "description": "The end position of the range on the reference, 0-based exclusive. If\nreferenceId or\nreferenceName\nmust be specified, Defaults to the length of the reference.",
2340+ "id": "SearchAnnotationsRequest"
2342+ "SetIamPolicyRequest": {
2343+ "description": "Request message for `SetIamPolicy` method.",
2347+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.",
2351+ "id": "SetIamPolicyRequest"
2353+ "ExportReadGroupSetRequest": {
2354+ "description": "The read group set export request.",
2357+ "referenceNames": {
2358+ "description": "The reference names to export. If this is not specified, all reference\nsequences, including unmapped reads, are exported.\nUse `*` to export only unmapped reads.",
2365+ "description": "Required. The Google Cloud project ID that owns this\nexport. The caller must have WRITE access to this project.",
2369+ "description": "Required. A Google Cloud Storage URI for the exported BAM file.\nThe currently authenticated user must have write access to the new file.\nAn error will be returned if the URI already contains data.",
2373+ "id": "ExportReadGroupSetRequest"
2375+ "SearchVariantsResponse": {
2376+ "description": "The variant search response.",
2380+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2384+ "description": "The list of matching Variants.",
2391+ "id": "SearchVariantsResponse"
2394+ "description": "A read group is all the data that's processed the same way by the sequencer.",
2398+ "description": "The server-generated read group ID, unique for all read groups.\nNote: This is different than the @RG ID field in the SAM spec. For that\nvalue, see name.",
2402+ "description": "A free-form text description of this read group.",
2406+ "description": "A client-supplied sample identifier for the reads in this read group.",
2410+ "description": "The experiment used to generate this read group.",
2411+ "$ref": "Experiment"
2413+ "predictedInsertSize": {
2414+ "description": "The predicted insert size of this read group. The insert size is the length\nthe sequenced DNA fragment from end-to-end, not including the adapters.",
2419+ "description": "A map of additional read group information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
2420+ "additionalProperties": {
2429+ "description": "The dataset to which this read group belongs.",
2433+ "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.",
2436+ "referenceSetId": {
2437+ "description": "The reference set the reads in this read group are aligned to.",
2441+ "description": "The programs used to generate this read group. Programs are always\nidentical for all read groups within a read group set. For this reason,\nonly the first read group in a returned set will have this field\npopulated.",
2450+ "BatchCreateAnnotationsResponse": {
2454+ "description": "The resulting per-annotation entries, ordered consistently with the\noriginal request.",
2461+ "id": "BatchCreateAnnotationsResponse"
2463+ "SearchVariantSetsResponse": {
2464+ "description": "The search variant sets response.",
2468+ "description": "The variant sets belonging to the requested dataset.",
2471+ "$ref": "VariantSet"
2475+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2479+ "id": "SearchVariantSetsResponse"
2482+ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
2486+ "description": "The status code, which should be an enum value of google.rpc.Code.",
2491+ "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
2494+ "additionalProperties": {
2495+ "description": "Properties of the object. Contains field @type with type URL.",
2502+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
2508+ "SearchCallSetsRequest": {
2509+ "description": "The call set search request.",
2513+ "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided.",
2520+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
2525+ "description": "Only return call sets for which a substring of the name matches this\nstring.",
2529+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2533+ "id": "SearchCallSetsRequest"
2535+ "BatchCreateAnnotationsRequest": {
2539+ "description": "The annotations to be created. At most 4096 can be specified in a single\nrequest.",
2542+ "$ref": "Annotation"
2546+ "description": "A unique request ID which enables the server to detect duplicated requests.\nIf provided, duplicated requests will result in the same response; if not\nprovided, duplicated requests may result in duplicated data. For a given\nannotation set, callers should not reuse `request_id`s when writing\ndifferent batches of annotations - behavior in this case is undefined.\nA common approach is to use a UUID. For batch jobs where worker crashes are\na possibility, consider using some unique variant of a worker or run ID.",
2550+ "id": "BatchCreateAnnotationsRequest"
2552+ "ListCoverageBucketsResponse": {
2555+ "coverageBuckets": {
2556+ "description": "The coverage buckets. The list of buckets is sparse; a bucket with 0\noverlapping reads is not returned. A bucket never crosses more than one\nreference sequence. Each bucket has width `bucketWidth`, unless\nits end is the end of the reference sequence.",
2559+ "$ref": "CoverageBucket"
2563+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2567+ "description": "The length of each coverage bucket in base pairs. Note that buckets at the\nend of a reference sequence may be shorter. This value is omitted if the\nbucket width is infinity (the default behaviour, with no range or\n`targetBucketWidth`).",
2572+ "id": "ListCoverageBucketsResponse"
2574+ "ListDatasetsResponse": {
2575+ "description": "The dataset list response.",
2579+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2583+ "description": "The list of matching Datasets.",
2590+ "id": "ListDatasetsResponse"
2592+ "ListBasesResponse": {
2596+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2600+ "description": "The offset position (0-based) of the given `sequence` from the\nstart of this `Reference`. This value will differ for each page\nin a paginated request.",
2605+ "description": "A substring of the bases that make up this reference.",
2609+ "id": "ListBasesResponse"
2611+ "SearchAnnotationsResponse": {
2615+ "description": "The matching annotations.",
2618+ "$ref": "Annotation"
2622+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2626+ "id": "SearchAnnotationsResponse"
2628+ "SearchReadGroupSetsRequest": {
2629+ "description": "The read group set search request.",
2633+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 1024.",
2638+ "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided.",
2645+ "description": "Only return read group sets for which a substring of the name matches this\nstring.",
2649+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2653+ "id": "SearchReadGroupSetsRequest"
2655+ "TestIamPermissionsRequest": {
2656+ "description": "Request message for `TestIamPermissions` method.",
2660+ "description": "REQUIRED: The set of permissions to check for the 'resource'.\nPermissions with wildcards (such as '*' or 'storage.*') are not allowed.\nAllowed permissions are:\n\n* `genomics.datasets.create`\n* `genomics.datasets.delete`\n* `genomics.datasets.get`\n* `genomics.datasets.list`\n* `genomics.datasets.update`\n* `genomics.datasets.getIamPolicy`\n* `genomics.datasets.setIamPolicy`",
2667+ "id": "TestIamPermissionsRequest"
2669+ "TestIamPermissionsResponse": {
2670+ "description": "Response message for `TestIamPermissions` method.",
2674+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
2681+ "id": "TestIamPermissionsResponse"
2683+ "MergeVariantsRequest": {
2687+ "description": "The destination variant set.",
2691+ "description": "The variants to be merged with existing variants.",
2697+ "infoMergeConfig": {
2698+ "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them.",
2699+ "additionalProperties": {
2701+ "INFO_MERGE_OPERATION_UNSPECIFIED",
2710+ "id": "MergeVariantsRequest"
2712+ "ImportVariantsResponse": {
2713+ "description": "The variant data import response.",
2717+ "description": "IDs of the call sets created during the import.",
2724+ "id": "ImportVariantsResponse"
2726+ "CoverageBucket": {
2727+ "description": "A bucket over which read coverage has been precomputed. A bucket corresponds\nto a specific range of the reference sequence.",
2731+ "description": "The genomic coordinate range spanned by this bucket.",
2735+ "description": "The average number of reads which are aligned to each individual\nreference base in this bucket.",
2740+ "id": "CoverageBucket"
2743+ "description": "A call set is a collection of variant calls, typically for one sample. It\nbelongs to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2747+ "description": "The server-generated call set ID, unique across all call sets.",
2751+ "description": "The date this call set was created in milliseconds from the epoch.",
2756+ "description": "The sample ID this call set corresponds to.",
2760+ "description": "The IDs of the variant sets this call set belongs to. This field must\nhave exactly length one, as a call set belongs to a single variant set.\nThis field is repeated for compatibility with the\n[GA4GH 0.5.1\nAPI](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).",
2767+ "description": "A map of additional call set information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
2768+ "additionalProperties": {
2777+ "description": "The call set name.",
2783+ "VariantAnnotation": {
2786+ "alternateBases": {
2787+ "description": "The alternate allele for this variant. If multiple alternate alleles\nexist at this location, create a separate variant for each one, as they\nmay represent distinct conditions.",
2791+ "description": "Google annotation ID of the gene affected by this variant. This should\nbe provided when the variant is created.",
2795+ "description": "Google annotation IDs of the transcripts affected by this variant. These\nshould be provided when the variant is created.",
2802+ "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health.",
2805+ "$ref": "ClinicalCondition"
2809+ "description": "Effect of the variant on the coding sequence.",
2811+ "EFFECT_UNSPECIFIED",
2814+ "FRAME_PRESERVING_INDEL",
2816+ "NONSYNONYMOUS_SNP",
2819+ "SPLICE_SITE_DISRUPTION"
2821+ "enumDescriptions": [
2823+ "`EFFECT_OTHER` should be used when no other Effect\nwill suffice.",
2824+ "`FRAMESHIFT` indicates a mutation in which the insertion or\ndeletion of nucleotides resulted in a frameshift change.",
2825+ "`FRAME_PRESERVING_INDEL` indicates a mutation in which a\nmultiple of three nucleotides has been inserted or deleted, resulting\nin no change to the reading frame of the coding sequence.",
2826+ "`SYNONYMOUS_SNP` indicates a single nucleotide polymorphism\nmutation that results in no amino acid change.",
2827+ "`NONSYNONYMOUS_SNP` indicates a single nucleotide\npolymorphism mutation that results in an amino acid change.",
2828+ "`STOP_GAIN` indicates a mutation that leads to the creation\nof a stop codon at the variant site. Frameshift mutations creating\ndownstream stop codons do not count as `STOP_GAIN`.",
2829+ "`STOP_LOSS` indicates a mutation that eliminates a\nstop codon at the variant site.",
2830+ "`SPLICE_SITE_DISRUPTION` indicates that this variant is\nfound in a splice site for the associated transcript, and alters the\nnormal splicing pattern."
2834+ "clinicalSignificance": {
2835+ "description": "Describes the clinical significance of a variant.\nIt is adapted from the ClinVar controlled vocabulary for clinical\nsignificance described at:\nhttp://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/",
2837+ "CLINICAL_SIGNIFICANCE_UNSPECIFIED",
2838+ "CLINICAL_SIGNIFICANCE_OTHER",
2842+ "LIKELY_PATHOGENIC",
2845+ "HISTOCOMPATIBILITY",
2846+ "CONFERS_SENSITIVITY",
2850+ "MULTIPLE_REPORTED"
2852+ "enumDescriptions": [
2854+ "`OTHER` should be used when no other clinical significance\nvalue will suffice.",
2866+ "`MULTIPLE_REPORTED` should be used when multiple clinical\nsignficances are reported for a variant. The original clinical\nsignificance values may be provided in the `info` field."
2871+ "description": "Type has been adapted from ClinVar's list of variant types.",
2873+ "TYPE_UNSPECIFIED",
2882+ "enumDescriptions": [
2884+ "`TYPE_OTHER` should be used when no other Type will suffice.\nFurther explanation of the variant type may be included in the\ninfo field.",
2885+ "`INSERTION` indicates an insertion.",
2886+ "`DELETION` indicates a deletion.",
2887+ "`SUBSTITUTION` indicates a block substitution of\ntwo or more nucleotides.",
2888+ "`SNP` indicates a single nucleotide polymorphism.",
2889+ "`STRUCTURAL` indicates a large structural variant,\nincluding chromosomal fusions, inversions, etc.",
2890+ "`CNV` indicates a variation in copy number."
2895+ "id": "VariantAnnotation"
2897+ "ImportVariantsRequest": {
2898+ "description": "The variant data import request.",
2902+ "description": "Required. The variant set to which variant data should be imported.",
2906+ "description": "A list of URIs referencing variant files in Google Cloud Storage. URIs can\ninclude wildcards [as described\nhere](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).\nNote that recursive wildcards ('**') are not supported.",
2913+ "description": "The format of the variant data being imported. If unspecified, defaults to\nto `VCF`.",
2915+ "FORMAT_UNSPECIFIED",
2917+ "FORMAT_COMPLETE_GENOMICS"
2919+ "enumDescriptions": [
2921+ "VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is\nalso supported.",
2922+ "Complete Genomics masterVarBeta format. The masterVarBeta files may\nbe bzip2 compressed."
2926+ "normalizeReferenceNames": {
2927+ "description": "Convert reference names to the canonical representation.\nhg19 haploytypes (those reference names containing \"_hap\")\nare not modified in any way.\nAll other reference names are modified according to the following rules:\nThe reference name is capitalized.\nThe \"chr\" prefix is dropped for all autosomes and sex chromsomes.\nFor example \"chr17\" becomes \"17\" and \"chrX\" becomes \"X\".\nAll mitochondrial chromosomes (\"chrM\", \"chrMT\", etc) become \"MT\".",
2930+ "infoMergeConfig": {
2931+ "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them. This is plumbed down to the MergeVariantRequests\ngenerated by the resulting import job.",
2932+ "additionalProperties": {
2934+ "INFO_MERGE_OPERATION_UNSPECIFIED",
2943+ "id": "ImportVariantsRequest"
2945+ "SearchCallSetsResponse": {
2946+ "description": "The call set search response.",
2950+ "description": "The list of matching call sets.",
2957+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
2961+ "id": "SearchCallSetsResponse"
2963+ "SearchReferenceSetsRequest": {
2967+ "description": "If present, return reference sets for which the\nmd5checksum matches exactly.",
2974+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.",
2979+ "description": "If present, return reference sets for which a prefix of any of\nsourceAccessions\nmatch any of these strings. Accession numbers typically have a main number\nand a version, for example `NC_000001.11`.",
2986+ "description": "If present, return reference sets for which a substring of their\n`assemblyId` matches this string (case insensitive).",
2990+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
2994+ "id": "SearchReferenceSetsRequest"
2997+ "description": "A variant represents a change in DNA sequence relative to a reference\nsequence. For example, a variant could represent a SNP or an insertion.\nVariants belong to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach of the calls on a variant represent a determination of genotype with\nrespect to that variant. For example, a call might assign probability of 0.32\nto the occurrence of a SNP named rs1234 in a sample named NA12345. A call\nbelongs to a call set, which contains related calls typically from one\nsample.",
3000+ "alternateBases": {
3001+ "description": "The bases that appear instead of the reference bases.",
3008+ "description": "The server-generated variant ID, unique across all variants.",
3012+ "description": "A list of filters (normally quality filters) this variant has failed.\n`PASS` indicates this variant has passed all filters.",
3019+ "description": "The reference on which this variant occurs.\n(such as `chr20` or `X`)",
3023+ "description": "The date this variant was created, in milliseconds from the epoch.",
3028+ "description": "A map of additional variant information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
3029+ "additionalProperties": {
3038+ "description": "The variant calls for this particular variant. Each one represents the\ndetermination of genotype with respect to this variant.",
3041+ "$ref": "VariantCall"
3045+ "description": "The ID of the variant set this variant belongs to.",
3049+ "description": "Names for the variant, for example a RefSNP ID.",
3056+ "description": "A measure of how likely this variant is to be real.\nA higher value is better.",
3061+ "description": "The position at which this variant occurs (0-based).\nThis corresponds to the first base of the string of reference bases.",
3065+ "referenceBases": {
3066+ "description": "The reference bases for this variant. They start at the given\nposition.",
3070+ "description": "The end position (0-based) of this variant. This corresponds to the first\nbase after the last base in the reference allele. So, the length of\nthe reference allele is (end - start). This is useful for variants\nthat don't explicitly give alternate bases, for example large deletions.",
3078+ "description": "A reference is a canonical assembled DNA sequence, intended to act as a\nreference coordinate space for other genomic annotations. A single reference\nmight represent the human chromosome 1 or mitochandrial DNA, for instance. A\nreference belongs to one or more reference sets.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3082+ "description": "The server-generated reference ID, unique across all references.",
3086+ "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
3091+ "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.",
3094+ "sourceAccessions": {
3095+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`.",
3102+ "description": "The length of this reference's sequence.",
3107+ "description": "The name of this reference, for example `22`.",
3111+ "description": "MD5 of the upper-case sequence excluding all whitespace characters (this\nis equivalent to SQ:M5 in SAM). This value is represented in lower case\nhexadecimal format.",
3117+ "SearchAnnotationSetsResponse": {
3121+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
3124+ "annotationSets": {
3125+ "description": "The matching annotation sets.",
3128+ "$ref": "AnnotationSet"
3132+ "id": "SearchAnnotationSetsResponse"
3135+ "description": "A single CIGAR operation.",
3140+ "OPERATION_UNSPECIFIED",
3149+ "SEQUENCE_MISMATCH"
3151+ "enumDescriptions": [
3153+ "An alignment match indicates that a sequence can be aligned to the\nreference without evidence of an INDEL. Unlike the\n`SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators,\nthe `ALIGNMENT_MATCH` operator does not indicate whether the\nreference and read sequences are an exact match. This operator is\nequivalent to SAM's `M`.",
3154+ "The insert operator indicates that the read contains evidence of bases\nbeing inserted into the reference. This operator is equivalent to SAM's\n`I`.",
3155+ "The delete operator indicates that the read contains evidence of bases\nbeing deleted from the reference. This operator is equivalent to SAM's\n`D`.",
3156+ "The skip operator indicates that this read skips a long segment of the\nreference, but the bases have not been deleted. This operator is commonly\nused when working with RNA-seq data, where reads may skip long segments\nof the reference between exons. This operator is equivalent to SAM's\n`N`.",
3157+ "The soft clip operator indicates that bases at the start/end of a read\nhave not been considered during alignment. This may occur if the majority\nof a read maps, except for low quality bases at the start/end of a read.\nThis operator is equivalent to SAM's `S`. Bases that are soft\nclipped will still be stored in the read.",
3158+ "The hard clip operator indicates that bases at the start/end of a read\nhave been omitted from this alignment. This may occur if this linear\nalignment is part of a chimeric alignment, or if the read has been\ntrimmed (for example, during error correction or to trim poly-A tails for\nRNA-seq). This operator is equivalent to SAM's `H`.",
3159+ "The pad operator indicates that there is padding in an alignment. This\noperator is equivalent to SAM's `P`.",
3160+ "This operator indicates that this portion of the aligned sequence exactly\nmatches the reference. This operator is equivalent to SAM's `=`.",
3161+ "This operator indicates that this portion of the aligned sequence is an\nalignment match to the reference, but a sequence mismatch. This can\nindicate a SNP or a read error. This operator is equivalent to SAM's\n`X`."
3165+ "referenceSequence": {
3166+ "description": "`referenceSequence` is only used at mismatches\n(`SEQUENCE_MISMATCH`) and deletions (`DELETE`).\nFilling this field replaces SAM's MD tag. If the relevant information is\nnot available, this field is unset.",
3169+ "operationLength": {
3170+ "description": "The number of genomic bases that the operation runs for. Required.",
3177+ "OperationMetadata": {
3178+ "description": "Metadata describing an Operation.",
3182+ "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.",
3186+ "description": "The original request that started the operation. Note that this will be in\ncurrent version of the API. If the operation was started with v1beta2 API\nand a GetOperation is performed on v1 API, a v1 request will be returned.",
3187+ "additionalProperties": {
3188+ "description": "Properties of the object. Contains field @type with type URL.",
3194+ "description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export.",
3197+ "$ref": "OperationEvent"
3201+ "description": "The time at which the job stopped running.",
3203+ "format": "google-datetime"
3206+ "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.",
3207+ "additionalProperties": {
3213+ "description": "The time at which the job was submitted to the Genomics service.",
3215+ "format": "google-datetime"
3217+ "runtimeMetadata": {
3218+ "description": "Runtime metadata on this Operation.",
3219+ "additionalProperties": {
3220+ "description": "Properties of the object. Contains field @type with type URL.",
3226+ "description": "The time at which the job began to run.",
3228+ "format": "google-datetime"
3231+ "description": "The Google Cloud Project in which the job is scoped.",
3235+ "id": "OperationMetadata"
3238+ "description": "A Dataset is a collection of genomic data.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3242+ "description": "The time this dataset was created, in seconds from the epoch.",
3244+ "format": "google-datetime"
3247+ "description": "The server-generated dataset ID, unique across all datasets.",
3251+ "description": "The Google Cloud project ID that this dataset belongs to.",
3255+ "description": "The dataset name.",
3261+ "ImportReadGroupSetsRequest": {
3262+ "description": "The read group set import request.",
3265+ "referenceSetId": {
3266+ "description": "The reference set to which the imported read group sets are aligned to, if\nany. The reference names of this reference set must be a superset of those\nfound in the imported file headers. If no reference set id is provided, a\nbest effort is made to associate with a matching reference set.",
3269+ "partitionStrategy": {
3270+ "description": "The partition strategy describes how read groups are partitioned into read\ngroup sets.",
3272+ "PARTITION_STRATEGY_UNSPECIFIED",
3273+ "PER_FILE_PER_SAMPLE",
3276+ "enumDescriptions": [
3278+ "In most cases, this strategy yields one read group set per file. This is\nthe default behavior.\n\nAllocate one read group set per file per sample. For BAM files, read\ngroups are considered to share a sample if they have identical sample\nnames. Furthermore, all reads for each file which do not belong to a read\ngroup, if any, will be grouped into a single read group set per-file.",
3279+ "Includes all read groups in all imported files into a single read group\nset. Requires that the headers for all imported files are equivalent. All\nreads which do not belong to a read group, if any, will be grouped into a\nseparate read group set."
3284+ "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset.",
3288+ "description": "A list of URIs pointing at [BAM\nfiles](https://samtools.github.io/hts-specs/SAMv1.pdf)\nin Google Cloud Storage.\nThose URIs can include wildcards (*), but do not add or remove\nmatching files before import has completed.\n\nNote that Google Cloud Storage object listing is only eventually\nconsistent: files added may be not be immediately visible to\neveryone. Thus, if using a wildcard it is preferable not to start\nthe import immediately after the files are created.",
3295+ "id": "ImportReadGroupSetsRequest"
3298+ "description": "A 0-based half-open genomic coordinate range for search requests.",
3302+ "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`.",
3306+ "description": "The end position of the range on the reference, 0-based exclusive.",
3311+ "description": "The start position of the range on the reference, 0-based inclusive.",
3319+ "description": "Associates `members` with a `role`.",
3323+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
3330+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
3336+ "RuntimeMetadata": {
3337+ "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.",
3341+ "description": "Execution information specific to Google Compute Engine.",
3342+ "$ref": "ComputeEngine"
3345+ "id": "RuntimeMetadata"
1410− "assemblyId": {
3347+ "SearchReferencesResponse": {
1411− "type": "string",
3348+ "type": "object",
1412− "description": "If present, return reference sets for which a substring of their `assemblyId` matches this string (case insensitive)."
3349+ "properties": {
3351+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
3355+ "description": "The matching references.",
3358+ "$ref": "Reference"
3362+ "id": "SearchReferencesResponse"
1414− "pageToken": {
3364+ "ReferenceSet": {
3365+ "description": "A reference set is a set of references which typically comprise a reference\nassembly for a species, such as `GRCh38` which is representative\nof the human genome. A reference set defines a common coordinate space for\ncomparing reference-aligned experimental data. A reference set contains 1 or\nmore references.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1415− "type": "string",
3366+ "type": "object",
1416− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
3367+ "properties": {
3369+ "description": "The server-generated reference set ID, unique across all reference sets.",
3373+ "description": "Free text description of this reference set.",
3377+ "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)\nindicating the species which this reference set is intended to model. Note\nthat contained references may specify a different `ncbiTaxonId`, as\nassemblies may contain reference sequences which do not belong to the\nmodeled species, for example EBV in a human reference genome.",
3382+ "description": "The IDs of the reference objects that are part of this set.\n`Reference.md5checksum` must be unique within this set.",
3389+ "description": "The URI from which the references were obtained.",
3392+ "sourceAccessions": {
3393+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `NC_000001.11`.",
3400+ "description": "Public id of this reference set, such as `GRCh37`.",
3404+ "description": "Order-independent MD5 checksum which identifies this reference set. The\nchecksum is computed by sorting all lower case hexidecimal string\n`reference.md5checksum` (for all reference in this set) in\nascending lexicographic order, concatenating, and taking the MD5 of that\nvalue. The resulting value is represented in lower case hexadecimal format.",
3408+ "id": "ReferenceSet"
1418− "pageSize": {
3410+ "AnnotationSet": {
1419− "type": "integer",
3411+ "description": "An annotation set is a logical grouping of annotations that share consistent\ntype information and provenance. Examples of annotation sets include 'all\ngenes from refseq', and 'all variant annotations from ClinVar'.",
1420− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 4096.",
1425− "SearchReferenceSetsResponse": {
1426− "id": "SearchReferenceSetsResponse",
1431− "description": "The matching references sets.",
1433− "$ref": "ReferenceSet"
1438− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1443− "id": "ReferenceSet",
1444− "type": "object",
3412+ "type": "object",
1445− "description": "A reference set is a set of references which typically comprise a reference assembly for a species, such as `GRCh38` which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1446− "properties": {
3413+ "properties": {
1447− "id": {
3414+ "id": {
1449− "description": "The server-generated reference set ID, unique across all reference sets."
3415+ "description": "The server-generated annotation set ID, unique across all annotation sets.",
1450− },
3416+ "type": "string"
1451− "referenceIds": {
3417+ },
1452− "type": "array",
3418+ "info": {
1453− "description": "The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set.",
3419+ "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).",
1454− "items": {
3420+ "additionalProperties": {
3429+ "description": "The source URI describing the file from which this annotation set was\ngenerated, if any.",
3433+ "description": "The dataset to which this annotation set belongs.",
3437+ "description": "The display name for this annotation set.",
3440+ "referenceSetId": {
3441+ "description": "The ID of the reference set that defines the coordinate space for this\nset's annotations.",
3445+ "description": "The type of annotations contained within this set.",
3447+ "ANNOTATION_TYPE_UNSPECIFIED",
3453+ "enumDescriptions": [
3455+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
3456+ "A `VARIANT` annotation type.",
3457+ "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.",
3458+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
1455− "type": "string"
3460+ "type": "string"
3463+ "id": "AnnotationSet"
1458− "md5checksum": {
3465+ "ImportReadGroupSetsResponse": {
1459− "type": "string",
3466+ "description": "The read group set import response.",
1460− "description": "Order-independent MD5 checksum which identifies this reference set. The checksum is computed by sorting all lower case hexidecimal string `reference.md5checksum` (for all reference in this set) in ascending lexicographic order, concatenating, and taking the MD5 of that value. The resulting value is represented in lower case hexadecimal format."
3467+ "type": "object",
3469+ "readGroupSetIds": {
3470+ "description": "IDs of the read group sets that were created.",
3477+ "id": "ImportReadGroupSetsResponse"
1462− "ncbiTaxonId": {
3479+ "ExternalId": {
1463− "type": "integer",
3480+ "type": "object",
1464− "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) indicating the species which this reference set is intended to model. Note that contained references may specify a different `ncbiTaxonId`, as assemblies may contain reference sequences which do not belong to the modeled species, for example EBV in a human reference genome.",
3481+ "properties": {
1465− "format": "int32"
3482+ "sourceName": {
3483+ "description": "The name of the source of this data.",
3487+ "description": "The id used by the source of this data.",
3493+ "SearchReadGroupSetsResponse": {
1467− "description": {
3494+ "description": "The read group set search response.",
3498+ "description": "The list of matching read group sets.",
3501+ "$ref": "ReadGroupSet"
3505+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
1468− "type": "string",
3506+ "type": "string"
1469− "description": "Free text description of this reference set."
3507+ }
3509+ "id": "SearchReadGroupSetsResponse"
1471− "assemblyId": {
3511+ "OperationEvent": {
3512+ "description": "An event that occurred during an Operation.",
3516+ "description": "Required description of event.",
1472− "type": "string",
3517+ "type": "string"
1473− "description": "Public id of this reference set, such as `GRCh37`."
3518+ },
3520+ "description": "Optional time of when event started.",
3522+ "format": "google-datetime"
3525+ "description": "Optional time of when event finished. An event can have a start time and no\nfinish time. If an event has a finish time, there must be a start time.",
3527+ "format": "google-datetime"
3530+ "id": "OperationEvent"
1475− "sourceUri": {
3532+ "SearchReadsResponse": {
3533+ "description": "The read search response.",
3537+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
1476− "type": "string",
3538+ "type": "string"
1477− "description": "The URI from which the references were obtained."
3539+ },
3541+ "description": "The list of matching alignments sorted by mapped genomic coordinate,\nif any, ascending in position within the same reference. Unmapped reads,\nwhich have no position, are returned contiguously and are sorted in\nascending lexicographic order by fragment name.",
3548+ "id": "SearchReadsResponse"
1479− "sourceAccessions": {
3550+ "SearchReferenceSetsResponse": {
1481− "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`.",
1488− "SearchReferencesRequest": {
1489− "id": "SearchReferencesRequest",
1490− "type": "object",
3551+ "type": "object",
1491− "properties": {
3552+ "properties": {
1492− "md5checksums": {
3553+ "referenceSets": {
1493− "type": "array",
3554+ "description": "The matching references sets.",
1494− "description": "If present, return references for which the md5checksum matches exactly.",
3555+ "type": "array",
1495− "items": {
3556+ "items": {
1496− "type": "string"
3557+ "$ref": "ReferenceSet"
3561+ "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.",
3565+ "id": "SearchReferenceSetsResponse"
1499− "accessions": {
3567+ "Program": {
1500− "type": "array",
3568+ "type": "object",
1501− "description": "If present, return references for which a prefix of any of sourceAccessions match any of these strings. Accession numbers typically have a main number and a version, for example `GCF_000001405.26`.",
3569+ "properties": {
1502− "items": {
3570+ "prevProgramId": {
3571+ "description": "The ID of the program run before this one.",
3575+ "description": "The command line used to run this program.",
3579+ "description": "The user specified locally unique ID of the program. Used along with\n`prevProgramId` to define an ordering between programs.",
3583+ "description": "The display name of the program. This is typically the colloquial name of\nthe tool used, for example 'bwa' or 'picard'.",
3587+ "description": "The version of the program run.",
1503− "type": "string"
3588+ "type": "string"
1506− "referenceSetId": {
3593+ "Empty": {
1507− "type": "string",
3594+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
1508− "description": "If present, return only references which belong to this reference set."
3595+ "type": "object",
3599+ "SearchAnnotationSetsRequest": {
3603+ "description": "Required. The dataset IDs to search within. Caller must have `READ` access\nto these datasets.",
3610+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 128. The maximum value is 1024.",
3615+ "description": "Only return annotations sets for which a substring of the name matches this\nstring (case insensitive).",
3618+ "referenceSetId": {
3619+ "description": "If specified, only annotation sets associated with the given reference set\nare returned.",
3623+ "description": "If specified, only annotation sets that have any of these types are\nreturned.",
3624+ "enumDescriptions": [
3626+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
3627+ "A `VARIANT` annotation type.",
3628+ "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.",
3629+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
3634+ "ANNOTATION_TYPE_UNSPECIFIED",
1510− "pageToken": {
3643+ "pageToken": {
1512− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
3644+ "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.",
3648+ "id": "SearchAnnotationSetsRequest"
1514− "pageSize": {
3650+ "VariantSet": {
1515− "type": "integer",
3651+ "description": "A variant set is a collection of call sets and variants. It contains summary\nstatistics of those contents. A variant set belongs to a dataset.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1516− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 4096.",
3652+ "type": "object",
1517− "format": "int32"
3653+ "properties": {
1521− "SearchReferencesResponse": {
1522− "id": "SearchReferencesResponse",
1527− "description": "The matching references.",
1529− "$ref": "Reference"
1534− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1541− "description": "A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1545− "description": "The server-generated reference ID, unique across all references."
3655+ "description": "The server-generated variant set ID, unique across all variant sets.",
1546− },
3656+ "type": "string"
1547− "length": {
3657+ },
1548− "type": "string",
3658+ "description": {
1549− "description": "The length of this reference's sequence.",
3659+ "description": "A textual description of this variant set.",
1550− "format": "int64"
3660+ "type": "string"
1552− "md5checksum": {
3662+ "referenceBounds": {
1553− "type": "string",
3663+ "description": "A list of all references used by the variants in a variant set\nwith associated coordinate upper bounds for each one.",
1554− "description": "MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format."
3664+ "type": "array",
1556− "name": {
3666+ "$ref": "ReferenceBound"
1557− "type": "string",
3667+ }
1558− "description": "The name of this reference, for example `22`."
1560− "sourceUri": {
3669+ "datasetId": {
1561− "type": "string",
3670+ "description": "The dataset to which this variant set belongs.",
1562− "description": "The URI from which the sequence was obtained. Typically specifies a FASTA format file."
3671+ "type": "string"
1564− "sourceAccessions": {
3673+ "metadata": {
1565− "type": "array",
3674+ "description": "The metadata associated with this variant set.",
1566− "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.",
3675+ "type": "array",
1567− "items": {
3676+ "items": {
3677+ "$ref": "VariantSetMetadata"
3681+ "description": "User-specified, mutable name.",
3684+ "referenceSetId": {
3685+ "description": "The reference set to which the variant set is mapped. The reference set\ndescribes the alignment provenance of the variant set, while the\n`referenceBounds` describe the shape of the actual variant data. The\nreference set's reference names are a superset of those found in the\n`referenceBounds`.\n\nFor example, given a variant set that is mapped to the GRCh38 reference set\nand contains a single variant on reference 'X', `referenceBounds` would\ncontain only an entry for 'X', while the associated reference set\nenumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.",
1568− "type": "string"
3686+ "type": "string"
1571− "ncbiTaxonId": {
3691+ "Position": {
1572− "type": "integer",
3692+ "description": "An abstraction for referring to a genomic position, in relation to some\nalready known reference. For now, represents a genomic position as a\nreference name, a base number on that reference (0-based), and a\ndetermination of forward or reverse strand.",
1573− "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
3693+ "type": "object",
3696+ "description": "The name of the reference in whatever reference set is being used.",
3700+ "description": "The 0-based offset from the start of the forward strand for that reference.",
1574− "format": "int32"
3702+ "format": "int64"
3705+ "description": "Whether this position is on the reverse strand, as opposed to the forward\nstrand.",
1578− "ListBasesResponse": {
3712+ "revision": "20170125",
1579− "id": "ListBasesResponse",
3713+ "basePath": "",
1580− "type": "object",
3714+ "icons": {
1581− "properties": {
3715+ "x32": "http://www.google.com/images/icons/product/search-32.gif",
1582− "offset": {
3716+ "x16": "http://www.google.com/images/icons/product/search-16.gif"
1584− "description": "The offset position (0-based) of the given `sequence` from the start of this `Reference`. This value will differ for each page in a paginated request.",
1589− "description": "A substring of the bases that make up this reference."
1593− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1597− "ImportVariantsRequest": {
3718+ "discoveryVersion": "v1",
1598− "id": "ImportVariantsRequest",
3719+ "baseUrl": "https://genomics.googleapis.com/",
1599− "type": "object",
3720+ "name": "genomics",
1600− "description": "The variant data import request.",
3721+ "parameters": {
1601− "properties": {
3722+ "access_token": {
1602− "variantSetId": {
3723+ "description": "OAuth access token.",
1604− "description": "Required. The variant set to which variant data should be imported."
1608− "description": "A list of URIs referencing variant files in Google Cloud Storage. URIs can include wildcards [as described here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note that recursive wildcards ('**') are not supported.",
1615− "description": "The format of the variant data being imported. If unspecified, defaults to to `VCF`.",
1617− "FORMAT_UNSPECIFIED",
1619− "FORMAT_COMPLETE_GENOMICS"
1622− "normalizeReferenceNames": {
1624− "description": "Convert reference names to the canonical representation. hg19 haploytypes (those reference names containing \"_hap\") are not modified in any way. All other reference names are modified according to the following rules: The reference name is capitalized. The \"chr\" prefix is dropped for all autosomes and sex chromsomes. For example \"chr17\" becomes \"17\" and \"chrX\" becomes \"X\". All mitochondrial chromosomes (\"chrM\", \"chrMT\", etc) become \"MT\"."
1626− "infoMergeConfig": {
1628− "description": "A mapping between info field keys and the InfoMergeOperations to be performed on them. This is plumbed down to the MergeVariantRequests generated by the resulting import job.",
1629− "additionalProperties": {
1630 "type": "string",
3724 "type": "string",
1631− "enum": [
3725+ "location": "query"
1632− "INFO_MERGE_OPERATION_UNSPECIFIED",
1641− "id": "VariantSet",
1643− "description": "A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
1647− "description": "The dataset to which this variant set belongs."
1651− "description": "The server-generated variant set ID, unique across all variant sets."
1653− "referenceSetId": {
1655− "description": "The reference set to which the variant set is mapped. The reference set describes the alignment provenance of the variant set, while the `referenceBounds` describe the shape of the actual variant data. The reference set's reference names are a superset of those found in the `referenceBounds`. For example, given a variant set that is mapped to the GRCh38 reference set and contains a single variant on reference 'X', `referenceBounds` would contain only an entry for 'X', while the associated reference set enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc."
1657− "referenceBounds": {
1659− "description": "A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.",
1661− "$ref": "ReferenceBound"
1666− "description": "The metadata associated with this variant set.",
1668− "$ref": "VariantSetMetadata"
1673− "description": "User-specified, mutable name."
1677− "description": "A textual description of this variant set."
1681− "ReferenceBound": {
1682− "id": "ReferenceBound",
1684− "description": "ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.",
1688− "description": "The name of the reference associated with this reference bound."
1692− "description": "An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.",
1697− "VariantSetMetadata": {
1698− "id": "VariantSetMetadata",
1700− "description": "Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.",
1704− "description": "The top-level key."
1708− "description": "The value field for simple metadata"
1712− "description": "User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent."
1716− "description": "The type of data. Possible types include: Integer, Float, Flag, Character, and String.",
1718− "TYPE_UNSPECIFIED",
1728− "description": "The number of values that can be included in a field described by this metadata."
1732− "description": "A textual description of this metadata."
1736− "description": "Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).",
1737− "additionalProperties": {
1746− "ExportVariantSetRequest": {
1747− "id": "ExportVariantSetRequest",
1749− "description": "The variant data export request.",
1753− "description": "If provided, only variant call information from the specified call sets will be exported. By default all variant calls are exported.",
1760− "description": "Required. The Google Cloud project ID that owns the destination BigQuery dataset. The caller must have WRITE access to this project. This project will also own the resulting export job."
1764− "description": "The format for the exported data.",
1766− "FORMAT_UNSPECIFIED",
1770− "bigqueryDataset": {
1772− "description": "Required. The BigQuery dataset to export data to. This dataset must already exist. Note that this is distinct from the Genomics concept of \"dataset\"."
1776− "description": "Required. The BigQuery table to export data to. If the table doesn't exist, it will be created. If it already exists, it will be overwritten."
1780− "SearchVariantSetsRequest": {
1781− "id": "SearchVariantSetsRequest",
1783− "description": "The search variant sets request.",
1787− "description": "Exactly one dataset ID must be provided here. Only variant sets which belong to this dataset will be returned.",
1794− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
1798− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024.",
1803− "SearchVariantSetsResponse": {
1804− "id": "SearchVariantSetsResponse",
1806− "description": "The search variant sets response.",
1810− "description": "The variant sets belonging to the requested dataset.",
1812− "$ref": "VariantSet"
1817− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1821− "SearchVariantsRequest": {
1822− "id": "SearchVariantsRequest",
1824− "description": "The variant search request.",
1828− "description": "At most one variant set ID must be provided. Only variants from this variant set will be returned. If omitted, a call set id must be included in the request.",
1833− "variantName": {
3727+ "prettyPrint": {
1834− "type": "string",
3728+ "description": "Returns response with indentations and line breaks.",
1835− "description": "Only return variants which have exactly this name."
3729+ "default": "true",
3731+ "location": "query"
1837− "callSetIds": {
3733+ "key": {
1838− "type": "array",
3734+ "description": "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.",
1839− "description": "Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won't be returned at all.",
1846− "description": "Required. Only return variants in this reference sequence."
1850− "description": "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. If unspecified, defaults to 0.",
1855− "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to the length of the reference.",
1860− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
1864− "description": "The maximum number of variants to return in a single page. If unspecified, defaults to 5000. The maximum value is 10000.",
1869− "description": "The maximum number of calls to return in a single page. Note that this limit may be exceeded in the event that a matching variant contains more calls than the requested maximum. If unspecified, defaults to 5000. The maximum value is 10000.",
1874− "SearchVariantsResponse": {
1875− "id": "SearchVariantsResponse",
1877− "description": "The variant search response.",
1881− "description": "The list of matching Variants.",
1888− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
1895− "description": "A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.",
1899− "description": "The ID of the variant set this variant belongs to."
1903− "description": "The server-generated variant ID, unique across all variants."
1907− "description": "Names for the variant, for example a RefSNP ID.",
1909− "type": "string"
3735+ "type": "string",
1910− }
3736+ "location": "query"
1914− "description": "The date this variant was created, in milliseconds from the epoch.",
1919− "description": "The reference on which this variant occurs. (such as `chr20` or `X`)"
1923− "description": "The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.",
1928− "description": "The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.",
1931− "referenceBases": {
1933− "description": "The reference bases for this variant. They start at the given position."
1935− "alternateBases": {
1937− "description": "The bases that appear instead of the reference bases.",
1942− "quality": {
3738+ "quotaUser": {
1943− "type": "number",
3739+ "description": "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.",
1944− "description": "A measure of how likely this variant is to be real. A higher value is better.",
3740+ "type": "string",
1945− "format": "double"
3741+ "location": "query"
1947− "filter": {
3743+ "pp": {
1948− "type": "array",
3744+ "description": "Pretty-print response.",
1949− "description": "A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.",
3745+ "default": "true",
1950− "items": {
3746+ "type": "boolean",
1951− "type": "string"
3747+ "location": "query"
1956− "description": "A map of additional variant information. This must be of the form map (string key mapping to a list of string values).",
1957− "additionalProperties": {
1966− "description": "The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.",
1968− "$ref": "VariantCall"
1974− "id": "VariantCall",
1976− "description": "A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.",
1980− "description": "The ID of the call set this variant call belongs to."
1984− "description": "The name of the call set this variant call belongs to."
1988− "description": "The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `[\"A\", \"C\"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.",
1996− "description": "If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`."
1998− "genotypeLikelihood": {
2000− "description": "The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.",
2008− "description": "A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).",
2009− "additionalProperties": {
2018− "MergeVariantsRequest": {
2019− "id": "MergeVariantsRequest",
2024− "description": "The destination variant set."
2026− "variants": {
3749+ "fields": {
2027− "type": "array",
3750+ "description": "Selector specifying which fields to include in a partial response.",
2028− "description": "The variants to be merged with existing variants.",
2033− "infoMergeConfig": {
2035− "description": "A mapping between info field keys and the InfoMergeOperations to be performed on them.",
2036− "additionalProperties": {
2037 "type": "string",
3751 "type": "string",
3752+ "location": "query"
3755+ "description": "Data format for response.",
3756+ "location": "query",
2038 "enum": [
3757 "enum": [
2039− "INFO_MERGE_OPERATION_UNSPECIFIED",
3758+ "json",
2040− "IGNORE_NEW",
3759+ "media",
2041− "MOVE_TO_CALLS"
3760+ "proto"
2043− }
3762+ "default": "json",
2044− }
3763+ "enumDescriptions": [
2045− }
3764+ "Responses with Content-Type of application/json",
2046− },
3765+ "Media download with context-dependent Content-Type",
2047− "SearchCallSetsRequest": {
3766+ "Responses with Content-Type of application/x-protobuf"
2048− "id": "SearchCallSetsRequest",
3767+ ],
2050− "description": "The call set search request.",
2054− "description": "Restrict the query to call sets within the given variant sets. At least one ID must be provided.",
2056 "type": "string"
3768 "type": "string"
2059− "name": {
3770+ "$.xgafv": {
3771+ "description": "V1 error format.",
3776+ "enumDescriptions": [
2060− "type": "string",
3780+ "type": "string",
2061− "description": "Only return call sets for which a substring of the name matches this string."
3781+ "location": "query"
2063− "pageToken": {
3783+ "callback": {
3784+ "description": "JSONP",
2064− "type": "string",
3785+ "type": "string",
2065− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response."
3786+ "location": "query"
2067− "pageSize": {
3788+ "oauth_token": {
2068− "type": "integer",
3789+ "description": "OAuth 2.0 token for the current user.",
2069− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024.",
2074− "SearchCallSetsResponse": {
2075− "id": "SearchCallSetsResponse",
2077− "description": "The call set search response.",
2081− "description": "The list of matching call sets.",
2088− "description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results."
2095− "description": "A call set is a collection of variant calls, typically for one sample. It belongs to a variant set. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2099− "description": "The server-generated call set ID, unique across all call sets."
2103− "description": "The call set name."
2107− "description": "The sample ID this call set corresponds to."
2111− "description": "The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).",
2113− "type": "string"
3790+ "type": "string",
2114− }
3791+ "location": "query"
2118− "description": "The date this call set was created in milliseconds from the epoch.",
2123− "description": "A map of additional call set information. This must be of the form map (string key mapping to a list of string values).",
2124− "additionalProperties": {
2133− "StreamVariantsRequest": {
2134− "id": "StreamVariantsRequest",
2136− "description": "The stream variants request.",
2140− "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required."
2144− "description": "The variant set ID from which to stream variants."
2148− "description": "Only return variant calls which belong to call sets with these IDs. Leaving this blank returns all variant calls.",
2153− "referenceName": {
3793+ "uploadType": {
3794+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
2154− "type": "string",
3795+ "type": "string",
2155− "description": "Required. Only return variants in this reference sequence."
3796+ "location": "query"
2157− "start": {
3798+ "bearer_token": {
2158− "type": "string",
3799+ "description": "OAuth bearer token.",
2159− "description": "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned.",
3800+ "type": "string",
2160− "format": "int64"
3801+ "location": "query"
2162− "end": {
3803+ "upload_protocol": {
2163− "type": "string",
3804+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
2164− "description": "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
3805+ "type": "string",
2165− "format": "int64"
3806+ "location": "query"
2169− "StreamVariantsResponse": {
2170− "id": "StreamVariantsResponse",
2181− "ImportReadGroupSetsResponse": {
2182− "id": "ImportReadGroupSetsResponse",
2184− "description": "The read group set import response.",
2186− "readGroupSetIds": {
2188− "description": "IDs of the read group sets that were created.",
2195− "ImportVariantsResponse": {
2196− "id": "ImportVariantsResponse",
2198− "description": "The variant data import response.",
2202− "description": "IDs of the call sets created during the import.",
2209− "OperationMetadata": {
2210− "id": "OperationMetadata",
2212− "description": "Metadata describing an Operation.",
2216− "description": "The Google Cloud Project in which the job is scoped."
2220− "description": "The time at which the job was submitted to the Genomics service."
2224− "description": "The time at which the job began to run."
2228− "description": "The time at which the job stopped running."
2232− "description": "The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.",
2233− "additionalProperties": {
2235− "description": "Properties of the object. Contains field @type with type URL."
2240− "description": "Optional event messages that were generated during the job's execution. This also contains any warnings that were generated during import or export.",
2242− "$ref": "OperationEvent"
2247− "description": "Optionally provided by the caller when submitting the request that creates the operation."
2249− "runtimeMetadata": {
2251− "description": "Runtime metadata on this Operation.",
2252− "additionalProperties": {
2254− "description": "Properties of the object. Contains field @type with type URL."
2259− "OperationEvent": {
2260− "id": "OperationEvent",
2262− "description": "An event that occurred during an Operation.",
2266− "description": "Optional time of when event started."
2270− "description": "Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time."
2274− "description": "Required description of event."
2278− "RuntimeMetadata": {
2279− "id": "RuntimeMetadata",
2281− "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.",
2284− "$ref": "ComputeEngine",
2285− "description": "Execution information specific to Google Compute Engine."
2290− "id": "ComputeEngine",
2292− "description": "Describes a Compute Engine resource that is being managed by a running pipeline.",
2296− "description": "The instance on which the operation is running."
2300− "description": "The availability zone in which the instance resides."
2304− "description": "The machine type of the instance."
2308− "description": "The names of the disks that were created for this pipeline.",
2317− "annotationsets": {
2320− "id": "genomics.annotationsets.create",
2321− "path": "v1/annotationsets",
2322− "httpMethod": "POST",
2323− "description": "Creates a new annotation set. Caller must have WRITE permission for the associated dataset. The following fields are required: * datasetId * referenceSetId All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field).",
2325− "$ref": "AnnotationSet"
2328− "$ref": "AnnotationSet"
2331− "https://www.googleapis.com/auth/cloud-platform",
2332− "https://www.googleapis.com/auth/genomics"
2336− "id": "genomics.annotationsets.get",
2337− "path": "v1/annotationsets/{annotationSetId}",
2338− "httpMethod": "GET",
2339− "description": "Gets an annotation set. Caller must have READ permission for the associated dataset.",
2341− "annotationSetId": {
2343− "description": "The ID of the annotation set to be retrieved.",
2348− "parameterOrder": [
2352− "$ref": "AnnotationSet"
2355− "https://www.googleapis.com/auth/cloud-platform",
2356− "https://www.googleapis.com/auth/genomics",
2357− "https://www.googleapis.com/auth/genomics.readonly"
2361− "id": "genomics.annotationsets.update",
2362− "path": "v1/annotationsets/{annotationSetId}",
2363− "httpMethod": "PUT",
2364− "description": "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.",
2366− "annotationSetId": {
2368− "description": "The ID of the annotation set to be updated.",
2374− "description": "An optional mask specifying which fields to update. Mutable fields are name, source_uri, and info. If unspecified, all mutable fields will be updated.",
2375− "location": "query"
2378− "parameterOrder": [
2382− "$ref": "AnnotationSet"
2385− "$ref": "AnnotationSet"
2388− "https://www.googleapis.com/auth/cloud-platform",
2389− "https://www.googleapis.com/auth/genomics"
2393− "id": "genomics.annotationsets.delete",
2394− "path": "v1/annotationsets/{annotationSetId}",
2395− "httpMethod": "DELETE",
2396− "description": "Deletes an annotation set. Caller must have WRITE permission for the associated annotation set.",
2398− "annotationSetId": {
2400− "description": "The ID of the annotation set to be deleted.",
2405− "parameterOrder": [
2412− "https://www.googleapis.com/auth/cloud-platform",
2413− "https://www.googleapis.com/auth/genomics"
2417− "id": "genomics.annotationsets.search",
2418− "path": "v1/annotationsets/search",
2419− "httpMethod": "POST",
2420− "description": "Searches for annotation sets that match the given criteria. Annotation sets are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotation sets in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried datasets.",
2422− "$ref": "SearchAnnotationSetsRequest"
2425− "$ref": "SearchAnnotationSetsResponse"
2428− "https://www.googleapis.com/auth/cloud-platform",
2429− "https://www.googleapis.com/auth/genomics",
2430− "https://www.googleapis.com/auth/genomics.readonly"
2438− "id": "genomics.annotations.create",
2439− "path": "v1/annotations",
2440− "httpMethod": "POST",
2441− "description": "Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.",
2443− "$ref": "Annotation"
2446− "$ref": "Annotation"
2449− "https://www.googleapis.com/auth/cloud-platform",
2450− "https://www.googleapis.com/auth/genomics"
2454− "id": "genomics.annotations.batchCreate",
2455− "path": "v1/annotations:batchCreate",
2456− "httpMethod": "POST",
2457− "description": "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. For details on the requirements for each individual annotation resource, see CreateAnnotation.",
2459− "$ref": "BatchCreateAnnotationsRequest"
2462− "$ref": "BatchCreateAnnotationsResponse"
2465− "https://www.googleapis.com/auth/cloud-platform",
2466− "https://www.googleapis.com/auth/genomics"
2470− "id": "genomics.annotations.get",
2471− "path": "v1/annotations/{annotationId}",
2472− "httpMethod": "GET",
2473− "description": "Gets an annotation. Caller must have READ permission for the associated annotation set.",
2477− "description": "The ID of the annotation to be retrieved.",
2482− "parameterOrder": [
2486− "$ref": "Annotation"
2489− "https://www.googleapis.com/auth/cloud-platform",
2490− "https://www.googleapis.com/auth/genomics",
2491− "https://www.googleapis.com/auth/genomics.readonly"
2495− "id": "genomics.annotations.update",
2496− "path": "v1/annotations/{annotationId}",
2497− "httpMethod": "PUT",
2498− "description": "Updates an annotation. Caller must have WRITE permission for the associated dataset.",
2502− "description": "The ID of the annotation to be updated.",
2508− "description": "An optional mask specifying which fields to update. Mutable fields are name, variant, transcript, and info. If unspecified, all mutable fields will be updated.",
2509− "location": "query"
2512− "parameterOrder": [
2516− "$ref": "Annotation"
2519− "$ref": "Annotation"
2522− "https://www.googleapis.com/auth/cloud-platform",
2523− "https://www.googleapis.com/auth/genomics"
2527− "id": "genomics.annotations.delete",
2528− "path": "v1/annotations/{annotationId}",
2529− "httpMethod": "DELETE",
2530− "description": "Deletes an annotation. Caller must have WRITE permission for the associated annotation set.",
2534− "description": "The ID of the annotation to be deleted.",
2539− "parameterOrder": [
2546− "https://www.googleapis.com/auth/cloud-platform",
2547− "https://www.googleapis.com/auth/genomics"
2551− "id": "genomics.annotations.search",
2552− "path": "v1/annotations/search",
2553− "httpMethod": "POST",
2554− "description": "Searches for annotations that match the given criteria. Results are ordered by genomic coordinate (by reference sequence, then position). Annotations with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotations in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried annotation sets.",
2556− "$ref": "SearchAnnotationsRequest"
2559− "$ref": "SearchAnnotationsResponse"
2562− "https://www.googleapis.com/auth/cloud-platform",
2563− "https://www.googleapis.com/auth/genomics",
2564− "https://www.googleapis.com/auth/genomics.readonly"
2572− "id": "genomics.datasets.list",
2573− "path": "v1/datasets",
2574− "httpMethod": "GET",
2575− "description": "Lists datasets within a project. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2579− "description": "Required. The Google Cloud project ID to list datasets for.",
2580− "location": "query"
2584− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 50. The maximum value is 1024.",
2586− "location": "query"
2590− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.",
2591− "location": "query"
2595− "$ref": "ListDatasetsResponse"
2598− "https://www.googleapis.com/auth/cloud-platform",
2599− "https://www.googleapis.com/auth/genomics",
2600− "https://www.googleapis.com/auth/genomics.readonly"
2604− "id": "genomics.datasets.create",
2605− "path": "v1/datasets",
2606− "httpMethod": "POST",
2607− "description": "Creates a new dataset. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2615− "https://www.googleapis.com/auth/cloud-platform",
2616− "https://www.googleapis.com/auth/genomics"
2620− "id": "genomics.datasets.get",
2621− "path": "v1/datasets/{datasetId}",
2622− "httpMethod": "GET",
2623− "description": "Gets a dataset by ID. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2627− "description": "The ID of the dataset.",
2632− "parameterOrder": [
2639− "https://www.googleapis.com/auth/cloud-platform",
2640− "https://www.googleapis.com/auth/genomics",
2641− "https://www.googleapis.com/auth/genomics.readonly"
2645− "id": "genomics.datasets.patch",
2646− "path": "v1/datasets/{datasetId}",
2647− "httpMethod": "PATCH",
2648− "description": "Updates a dataset. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) This method supports patch semantics.",
2652− "description": "The ID of the dataset to be updated.",
2658− "description": "An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
2659− "location": "query"
2662− "parameterOrder": [
2672− "https://www.googleapis.com/auth/cloud-platform",
2673− "https://www.googleapis.com/auth/genomics"
2677− "id": "genomics.datasets.delete",
2678− "path": "v1/datasets/{datasetId}",
2679− "httpMethod": "DELETE",
2680− "description": "Deletes a dataset and all of its contents (all read group sets, reference sets, variant sets, call sets, annotation sets, etc.) This is reversible (up to one week after the deletion) via the datasets.undelete operation. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2684− "description": "The ID of the dataset to be deleted.",
2689− "parameterOrder": [
2696− "https://www.googleapis.com/auth/cloud-platform",
2697− "https://www.googleapis.com/auth/genomics"
2701− "id": "genomics.datasets.undelete",
2702− "path": "v1/datasets/{datasetId}:undelete",
2703− "httpMethod": "POST",
2704− "description": "Undeletes a dataset by restoring a dataset which was deleted via this API. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) This operation is only possible for a week after the deletion occurred.",
2708− "description": "The ID of the dataset to be undeleted.",
2713− "parameterOrder": [
2717− "$ref": "UndeleteDatasetRequest"
2723− "https://www.googleapis.com/auth/cloud-platform",
2724− "https://www.googleapis.com/auth/genomics"
2728− "id": "genomics.datasets.setIamPolicy",
2729− "path": "v1/{+resource}:setIamPolicy",
2730− "httpMethod": "POST",
2731− "description": "Sets the access control policy on the specified dataset. Replaces any existing policy. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) See Setting a Policy for more information.",
2735− "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
2737− "pattern": "^datasets/[^/]+$",
2741− "parameterOrder": [
2745− "$ref": "SetIamPolicyRequest"
2751− "https://www.googleapis.com/auth/cloud-platform",
2752− "https://www.googleapis.com/auth/genomics"
2756− "id": "genomics.datasets.getIamPolicy",
2757− "path": "v1/{+resource}:getIamPolicy",
2758− "httpMethod": "POST",
2759− "description": "Gets the access control policy for the dataset. This is empty if the policy or resource does not exist. See Getting a Policy for more information. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2763− "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
2765− "pattern": "^datasets/[^/]+$",
2769− "parameterOrder": [
2773− "$ref": "GetIamPolicyRequest"
2779− "https://www.googleapis.com/auth/cloud-platform",
2780− "https://www.googleapis.com/auth/genomics"
2783− "testIamPermissions": {
2784− "id": "genomics.datasets.testIamPermissions",
2785− "path": "v1/{+resource}:testIamPermissions",
2786− "httpMethod": "POST",
2787− "description": "Returns permissions that a caller has on the specified resource. See Testing Permissions for more information. For the definitions of datasets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
2791− "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
2793− "pattern": "^datasets/[^/]+$",
2797− "parameterOrder": [
2801− "$ref": "TestIamPermissionsRequest"
2804− "$ref": "TestIamPermissionsResponse"
2807− "https://www.googleapis.com/auth/cloud-platform",
2808− "https://www.googleapis.com/auth/genomics"
2816− "id": "genomics.operations.list",
2817− "path": "v1/{+name}",
2818− "httpMethod": "GET",
2819− "description": "Lists operations that match the specified filter in the request.",
2823− "description": "The name of the operation collection.",
2825− "pattern": "^operations$",
2830− "description": "A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `= 1432140000` * `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`",
2831− "location": "query"
2835− "description": "The maximum number of results to return. If unspecified, defaults to 256. The maximum value is 2048.",
2837− "location": "query"
2841− "description": "The standard list page token.",
2842− "location": "query"
2845− "parameterOrder": [
2849− "$ref": "ListOperationsResponse"
2852− "https://www.googleapis.com/auth/cloud-platform",
2853− "https://www.googleapis.com/auth/genomics"
2857− "id": "genomics.operations.get",
2858− "path": "v1/{+name}",
2859− "httpMethod": "GET",
2860− "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
2864− "description": "The name of the operation resource.",
2866− "pattern": "^operations/.+$",
2870− "parameterOrder": [
2874− "$ref": "Operation"
2877− "https://www.googleapis.com/auth/cloud-platform",
2878− "https://www.googleapis.com/auth/genomics"
2882− "id": "genomics.operations.cancel",
2883− "path": "v1/{+name}:cancel",
2884− "httpMethod": "POST",
2885− "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.",
2889− "description": "The name of the operation resource to be cancelled.",
2891− "pattern": "^operations/.+$",
2895− "parameterOrder": [
2899− "$ref": "CancelOperationRequest"
2905− "https://www.googleapis.com/auth/cloud-platform",
2906− "https://www.googleapis.com/auth/genomics"
2914− "id": "genomics.readgroupsets.import",
2915− "path": "v1/readgroupsets:import",
2916− "httpMethod": "POST",
2917− "description": "Creates read group sets by asynchronously importing the provided information. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) The caller must have WRITE permissions to the dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be converted to strings - tag types are not preserved - Comments (`@CO`) in the input file header will not be preserved - Original header order of references (`@SQ`) will not be preserved - Any reverse stranded unmapped reads will be reverse complemented, and their qualities (also the \"BQ\" and \"OQ\" tags, if any) will be reversed - Unmapped reads will be stripped of positional information (reference name and position)",
2919− "$ref": "ImportReadGroupSetsRequest"
2922− "$ref": "Operation"
2925− "https://www.googleapis.com/auth/cloud-platform",
2926− "https://www.googleapis.com/auth/devstorage.read_write",
2927− "https://www.googleapis.com/auth/genomics"
2931− "id": "genomics.readgroupsets.export",
2932− "path": "v1/readgroupsets/{readGroupSetId}:export",
2933− "httpMethod": "POST",
2934− "description": "Exports a read group set to a BAM file in Google Cloud Storage. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for caveats.",
2936− "readGroupSetId": {
2938− "description": "Required. The ID of the read group set to export. The caller must have READ access to this read group set.",
2943− "parameterOrder": [
2947− "$ref": "ExportReadGroupSetRequest"
2950− "$ref": "Operation"
2953− "https://www.googleapis.com/auth/cloud-platform",
2954− "https://www.googleapis.com/auth/devstorage.read_write",
2955− "https://www.googleapis.com/auth/genomics"
2959− "id": "genomics.readgroupsets.search",
2960− "path": "v1/readgroupsets/search",
2961− "httpMethod": "POST",
2962− "description": "Searches for read group sets matching the criteria. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).",
2964− "$ref": "SearchReadGroupSetsRequest"
2967− "$ref": "SearchReadGroupSetsResponse"
2970− "https://www.googleapis.com/auth/cloud-platform",
2971− "https://www.googleapis.com/auth/genomics",
2972− "https://www.googleapis.com/auth/genomics.readonly"
2976− "id": "genomics.readgroupsets.patch",
2977− "path": "v1/readgroupsets/{readGroupSetId}",
2978− "httpMethod": "PATCH",
2979− "description": "Updates a read group set. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) This method supports patch semantics.",
2981− "readGroupSetId": {
2983− "description": "The ID of the read group set to be updated. The caller must have WRITE permissions to the dataset associated with this read group set.",
2989− "description": "An optional mask specifying which fields to update. Supported fields: * name. * referenceSetId. Leaving `updateMask` unset is equivalent to specifying all mutable fields.",
2990− "location": "query"
2993− "parameterOrder": [
2997− "$ref": "ReadGroupSet"
3000− "$ref": "ReadGroupSet"
3003− "https://www.googleapis.com/auth/cloud-platform",
3004− "https://www.googleapis.com/auth/genomics"
3008− "id": "genomics.readgroupsets.delete",
3009− "path": "v1/readgroupsets/{readGroupSetId}",
3010− "httpMethod": "DELETE",
3011− "description": "Deletes a read group set. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3013− "readGroupSetId": {
3015− "description": "The ID of the read group set to be deleted. The caller must have WRITE permissions to the dataset associated with this read group set.",
3020− "parameterOrder": [
3027− "https://www.googleapis.com/auth/cloud-platform",
3028− "https://www.googleapis.com/auth/genomics"
3032− "id": "genomics.readgroupsets.get",
3033− "path": "v1/readgroupsets/{readGroupSetId}",
3034− "httpMethod": "GET",
3035− "description": "Gets a read group set by ID. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3037− "readGroupSetId": {
3039− "description": "The ID of the read group set.",
3044− "parameterOrder": [
3048− "$ref": "ReadGroupSet"
3051− "https://www.googleapis.com/auth/cloud-platform",
3052− "https://www.googleapis.com/auth/genomics",
3053− "https://www.googleapis.com/auth/genomics.readonly"
3058− "coveragebuckets": {
3061− "id": "genomics.readgroupsets.coveragebuckets.list",
3062− "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
3063− "httpMethod": "GET",
3064− "description": "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. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 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.",
3066− "readGroupSetId": {
3068− "description": "Required. The ID of the read group set over which coverage is requested.",
3074− "description": "The name of the reference to query, within the reference set associated with this query. Optional.",
3075− "location": "query"
3079− "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified. Defaults to 0.",
3081− "location": "query"
3085− "description": "The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified. If unset or 0, defaults to the length of the reference.",
3087− "location": "query"
3089− "targetBucketWidth": {
3091− "description": "The desired width of each reported coverage bucket in base pairs. This will be rounded down to the nearest precomputed bucket width; the value of which is returned as `bucketWidth` in the response. Defaults to infinity (each bucket spans an entire reference sequence) or the length of the target range, if specified. The smallest precomputed `bucketWidth` is currently 2048 base pairs; this is subject to change.",
3093− "location": "query"
3097− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.",
3098− "location": "query"
3102− "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 2048.",
3104− "location": "query"
3107− "parameterOrder": [
3111− "$ref": "ListCoverageBucketsResponse"
3114− "https://www.googleapis.com/auth/cloud-platform",
3115− "https://www.googleapis.com/auth/genomics",
3116− "https://www.googleapis.com/auth/genomics.readonly"
3126− "id": "genomics.reads.search",
3127− "path": "v1/reads/search",
3128− "httpMethod": "POST",
3129− "description": "Gets a list of reads for one or more read group sets. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 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 (by reference sequence, then position). Reads with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield reads in the same order across their respective streams of paginated responses. Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).",
3131− "$ref": "SearchReadsRequest"
3134− "$ref": "SearchReadsResponse"
3137− "https://www.googleapis.com/auth/cloud-platform",
3138− "https://www.googleapis.com/auth/genomics",
3139− "https://www.googleapis.com/auth/genomics.readonly"
3143− "id": "genomics.reads.stream",
3144− "path": "v1/reads:stream",
3145− "httpMethod": "POST",
3146− "description": "Returns a stream of all the reads matching the search request, ordered by reference name, position, and ID.",
3148− "$ref": "StreamReadsRequest"
3151− "$ref": "StreamReadsResponse"
3154− "https://www.googleapis.com/auth/cloud-platform",
3155− "https://www.googleapis.com/auth/genomics"
3163− "id": "genomics.referencesets.search",
3164− "path": "v1/referencesets/search",
3165− "httpMethod": "POST",
3166− "description": "Searches for reference sets which match the given criteria. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)",
3168− "$ref": "SearchReferenceSetsRequest"
3171− "$ref": "SearchReferenceSetsResponse"
3174− "https://www.googleapis.com/auth/cloud-platform",
3175− "https://www.googleapis.com/auth/genomics",
3176− "https://www.googleapis.com/auth/genomics.readonly"
3180− "id": "genomics.referencesets.get",
3181− "path": "v1/referencesets/{referenceSetId}",
3182− "httpMethod": "GET",
3183− "description": "Gets a reference set. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).",
3185− "referenceSetId": {
3187− "description": "The ID of the reference set.",
3192− "parameterOrder": [
3196− "$ref": "ReferenceSet"
3199− "https://www.googleapis.com/auth/cloud-platform",
3200− "https://www.googleapis.com/auth/genomics",
3201− "https://www.googleapis.com/auth/genomics.readonly"
3209− "id": "genomics.references.search",
3210− "path": "v1/references/search",
3211− "httpMethod": "POST",
3212− "description": "Searches for references which match the given criteria. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).",
3214− "$ref": "SearchReferencesRequest"
3217− "$ref": "SearchReferencesResponse"
3220− "https://www.googleapis.com/auth/cloud-platform",
3221− "https://www.googleapis.com/auth/genomics",
3222− "https://www.googleapis.com/auth/genomics.readonly"
3226− "id": "genomics.references.get",
3227− "path": "v1/references/{referenceId}",
3228− "httpMethod": "GET",
3229− "description": "Gets a reference. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).",
3233− "description": "The ID of the reference.",
3238− "parameterOrder": [
3242− "$ref": "Reference"
3245− "https://www.googleapis.com/auth/cloud-platform",
3246− "https://www.googleapis.com/auth/genomics",
3247− "https://www.googleapis.com/auth/genomics.readonly"
3255− "id": "genomics.references.bases.list",
3256− "path": "v1/references/{referenceId}/bases",
3257− "httpMethod": "GET",
3258− "description": "Lists the bases in a reference, optionally restricted to a range. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).",
3262− "description": "The ID of the reference.",
3268− "description": "The start position (0-based) of this query. Defaults to 0.",
3270− "location": "query"
3274− "description": "The end position (0-based, exclusive) of this query. Defaults to the length of this reference.",
3276− "location": "query"
3280− "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.",
3281− "location": "query"
3285− "description": "The maximum number of bases to return in a single page. If unspecified, defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base pairs).",
3287− "location": "query"
3290− "parameterOrder": [
3294− "$ref": "ListBasesResponse"
3297− "https://www.googleapis.com/auth/cloud-platform",
3298− "https://www.googleapis.com/auth/genomics",
3299− "https://www.googleapis.com/auth/genomics.readonly"
3309− "id": "genomics.variants.import",
3310− "path": "v1/variants:import",
3311− "httpMethod": "POST",
3312− "description": "Creates variant data by asynchronously importing the provided information. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) The variants for import will be merged with any 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 Variant info fields are merged as specified in infoMergeConfig. 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.",
3314− "$ref": "ImportVariantsRequest"
3317− "$ref": "Operation"
3320− "https://www.googleapis.com/auth/cloud-platform",
3321− "https://www.googleapis.com/auth/devstorage.read_write",
3322− "https://www.googleapis.com/auth/genomics"
3326− "id": "genomics.variants.search",
3327− "path": "v1/variants/search",
3328− "httpMethod": "POST",
3329− "description": "Gets a list of variants matching the criteria. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).",
3331− "$ref": "SearchVariantsRequest"
3334− "$ref": "SearchVariantsResponse"
3337− "https://www.googleapis.com/auth/cloud-platform",
3338− "https://www.googleapis.com/auth/genomics",
3339− "https://www.googleapis.com/auth/genomics.readonly"
3343− "id": "genomics.variants.create",
3344− "path": "v1/variants",
3345− "httpMethod": "POST",
3346− "description": "Creates a new variant. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3354− "https://www.googleapis.com/auth/cloud-platform",
3355− "https://www.googleapis.com/auth/genomics"
3359− "id": "genomics.variants.patch",
3360− "path": "v1/variants/{variantId}",
3361− "httpMethod": "PATCH",
3362− "description": "Updates a variant. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) This method supports patch semantics. Returns the modified variant without its calls.",
3366− "description": "The ID of the variant to be updated.",
3372− "description": "An optional mask specifying which fields to update. At this time, mutable fields are names and info. Acceptable values are \"names\" and \"info\". If unspecified, all mutable fields will be updated.",
3373− "location": "query"
3376− "parameterOrder": [
3386− "https://www.googleapis.com/auth/cloud-platform",
3387− "https://www.googleapis.com/auth/genomics"
3391− "id": "genomics.variants.delete",
3392− "path": "v1/variants/{variantId}",
3393− "httpMethod": "DELETE",
3394− "description": "Deletes a variant. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3398− "description": "The ID of the variant to be deleted.",
3403− "parameterOrder": [
3410− "https://www.googleapis.com/auth/cloud-platform",
3411− "https://www.googleapis.com/auth/genomics"
3415− "id": "genomics.variants.get",
3416− "path": "v1/variants/{variantId}",
3417− "httpMethod": "GET",
3418− "description": "Gets a variant by ID. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3422− "description": "The ID of the variant.",
3427− "parameterOrder": [
3434− "https://www.googleapis.com/auth/cloud-platform",
3435− "https://www.googleapis.com/auth/genomics",
3436− "https://www.googleapis.com/auth/genomics.readonly"
3440− "id": "genomics.variants.merge",
3441− "path": "v1/variants:merge",
3442− "httpMethod": "POST",
3443− "description": "Merges the given variants with existing variants. For the definitions of variants and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 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. Variant info fields are merged as specified in the infoMergeConfig field of the MergeVariantsRequest. Please exercise caution when using this method! It is easy to introduce mistakes in existing variants and difficult to back out of them. For example, suppose you were trying to merge a new variant with an existing one and both variants contain calls that belong to callsets with the same callset ID. // Existing variant - irrelevant fields trimmed for clarity { \"variantSetId\": \"10473108253681171589\", \"referenceName\": \"1\", \"start\": \"10582\", \"referenceBases\": \"G\", \"alternateBases\": [ \"A\" ], \"calls\": [ { \"callSetId\": \"10473108253681171589-0\", \"callSetName\": \"CALLSET0\", \"genotype\": [ 0, 1 ], } ] } // New variant with conflicting call information { \"variantSetId\": \"10473108253681171589\", \"referenceName\": \"1\", \"start\": \"10582\", \"referenceBases\": \"G\", \"alternateBases\": [ \"A\" ], \"calls\": [ { \"callSetId\": \"10473108253681171589-0\", \"callSetName\": \"CALLSET0\", \"genotype\": [ 1, 1 ], } ] } The resulting merged variant would overwrite the existing calls with those from the new variant: { \"variantSetId\": \"10473108253681171589\", \"referenceName\": \"1\", \"start\": \"10582\", \"referenceBases\": \"G\", \"alternateBases\": [ \"A\" ], \"calls\": [ { \"callSetId\": \"10473108253681171589-0\", \"callSetName\": \"CALLSET0\", \"genotype\": [ 1, 1 ], } ] } This may be the desired outcome, but it is up to the user to determine if if that is indeed the case.",
3445− "$ref": "MergeVariantsRequest"
3451− "https://www.googleapis.com/auth/cloud-platform",
3452− "https://www.googleapis.com/auth/genomics"
3456− "id": "genomics.variants.stream",
3457− "path": "v1/variants:stream",
3458− "httpMethod": "POST",
3459− "description": "Returns a stream of all the variants matching the search request, ordered by reference name, position, and ID.",
3461− "$ref": "StreamVariantsRequest"
3464− "$ref": "StreamVariantsResponse"
3467− "https://www.googleapis.com/auth/cloud-platform",
3468− "https://www.googleapis.com/auth/genomics"
3476− "id": "genomics.variantsets.create",
3477− "path": "v1/variantsets",
3478− "httpMethod": "POST",
3479− "description": "Creates a new variant set. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.",
3481− "$ref": "VariantSet"
3484− "$ref": "VariantSet"
3487− "https://www.googleapis.com/auth/cloud-platform",
3488− "https://www.googleapis.com/auth/genomics"
3492− "id": "genomics.variantsets.export",
3493− "path": "v1/variantsets/{variantSetId}:export",
3494− "httpMethod": "POST",
3495− "description": "Exports variant set data to an external destination. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3499− "description": "Required. The ID of the variant set that contains variant data which should be exported. The caller must have READ access to this variant set.",
3504− "parameterOrder": [
3508− "$ref": "ExportVariantSetRequest"
3511− "$ref": "Operation"
3514− "https://www.googleapis.com/auth/bigquery",
3515− "https://www.googleapis.com/auth/cloud-platform",
3516− "https://www.googleapis.com/auth/genomics"
3520− "id": "genomics.variantsets.get",
3521− "path": "v1/variantsets/{variantSetId}",
3522− "httpMethod": "GET",
3523− "description": "Gets a variant set by ID. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3527− "description": "Required. The ID of the variant set.",
3532− "parameterOrder": [
3536− "$ref": "VariantSet"
3539− "https://www.googleapis.com/auth/cloud-platform",
3540− "https://www.googleapis.com/auth/genomics",
3541− "https://www.googleapis.com/auth/genomics.readonly"
3545− "id": "genomics.variantsets.search",
3546− "path": "v1/variantsets/search",
3547− "httpMethod": "POST",
3548− "description": "Returns a list of all variant sets matching search criteria. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).",
3550− "$ref": "SearchVariantSetsRequest"
3553− "$ref": "SearchVariantSetsResponse"
3556− "https://www.googleapis.com/auth/cloud-platform",
3557− "https://www.googleapis.com/auth/genomics",
3558− "https://www.googleapis.com/auth/genomics.readonly"
3562− "id": "genomics.variantsets.delete",
3563− "path": "v1/variantsets/{variantSetId}",
3564− "httpMethod": "DELETE",
3565− "description": "Deletes a variant set including all variants, call sets, and calls within. This is not reversible. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3569− "description": "The ID of the variant set to be deleted.",
3574− "parameterOrder": [
3581− "https://www.googleapis.com/auth/cloud-platform",
3582− "https://www.googleapis.com/auth/genomics"
3586− "id": "genomics.variantsets.patch",
3587− "path": "v1/variantsets/{variantSetId}",
3588− "httpMethod": "PATCH",
3589− "description": "Updates a variant set using patch semantics. For the definitions of variant sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3593− "description": "The ID of the variant to be updated (must already exist).",
3599− "description": "An optional mask specifying which fields to update. Supported fields: * metadata. * name. * description. Leaving `updateMask` unset is equivalent to specifying all mutable fields.",
3600− "location": "query"
3603− "parameterOrder": [
3607− "$ref": "VariantSet"
3610− "$ref": "VariantSet"
3613− "https://www.googleapis.com/auth/cloud-platform",
3614− "https://www.googleapis.com/auth/genomics"
3619− "callsets": {
3809+ "documentationLink": "https://cloud.google.com/genomics",
3620− "methods": {
3810+ "ownerDomain": "google.com",
3621− "search": {
3811+ "batchPath": "batch",
3622− "id": "genomics.callsets.search",
3812+ "servicePath": "",
3623− "path": "v1/callsets/search",
3813+ "ownerName": "Google",
3624− "httpMethod": "POST",
3814+ "version": "v1",
3625− "description": "Gets a list of call sets matching the criteria. For the definitions of call sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).",
3815+ "rootUrl": "https://genomics.googleapis.com/",
3626− "request": {
3816+ "kind": "discovery#restDescription"
3627− "$ref": "SearchCallSetsRequest"
3630− "$ref": "SearchCallSetsResponse"
3633− "https://www.googleapis.com/auth/cloud-platform",
3634− "https://www.googleapis.com/auth/genomics",
3635− "https://www.googleapis.com/auth/genomics.readonly"
3639− "id": "genomics.callsets.create",
3640− "path": "v1/callsets",
3641− "httpMethod": "POST",
3642− "description": "Creates a new call set. For the definitions of call sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3650− "https://www.googleapis.com/auth/cloud-platform",
3651− "https://www.googleapis.com/auth/genomics"
3655− "id": "genomics.callsets.patch",
3656− "path": "v1/callsets/{callSetId}",
3657− "httpMethod": "PATCH",
3658− "description": "Updates a call set. For the definitions of call sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) This method supports patch semantics.",
3662− "description": "The ID of the call set to be updated.",
3668− "description": "An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.",
3669− "location": "query"
3672− "parameterOrder": [
3682− "https://www.googleapis.com/auth/cloud-platform",
3683− "https://www.googleapis.com/auth/genomics"
3687− "id": "genomics.callsets.delete",
3688− "path": "v1/callsets/{callSetId}",
3689− "httpMethod": "DELETE",
3690− "description": "Deletes a call set. For the definitions of call sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3694− "description": "The ID of the call set to be deleted.",
3699− "parameterOrder": [
3706− "https://www.googleapis.com/auth/cloud-platform",
3707− "https://www.googleapis.com/auth/genomics"
3711− "id": "genomics.callsets.get",
3712− "path": "v1/callsets/{callSetId}",
3713− "httpMethod": "GET",
3714− "description": "Gets a call set by ID. For the definitions of call sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)",
3718− "description": "The ID of the call set.",
3723− "parameterOrder": [
3730− "https://www.googleapis.com/auth/cloud-platform",
3731− "https://www.googleapis.com/auth/genomics",
3732− "https://www.googleapis.com/auth/genomics.readonly"