Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1812)

Unified Diff: discovery/googleapis/genomics__v1.json

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/gmail__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/genomics__v1.json
diff --git a/discovery/googleapis/genomics__v1.json b/discovery/googleapis/genomics__v1.json
index 95593b15392052396f251c1d3e94b01a7c782061..d1fb6528d888765be44a0e2e0b17ef09f3a60034 100644
--- a/discovery/googleapis/genomics__v1.json
+++ b/discovery/googleapis/genomics__v1.json
@@ -2,20 +2,20 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/bigquery": {
- "description": "View and manage your data in Google BigQuery"
- },
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
- "https://www.googleapis.com/auth/devstorage.read_write": {
- "description": "Manage your data in Google Cloud Storage"
+ "https://www.googleapis.com/auth/genomics.readonly": {
+ "description": "View Genomics data"
},
"https://www.googleapis.com/auth/genomics": {
"description": "View and manage Genomics data"
},
- "https://www.googleapis.com/auth/genomics.readonly": {
- "description": "View Genomics data"
+ "https://www.googleapis.com/auth/bigquery": {
+ "description": "View and manage your data in Google BigQuery"
+ },
+ "https://www.googleapis.com/auth/devstorage.read_write": {
+ "description": "Manage your data in Google Cloud Storage"
}
}
}
@@ -23,10 +23,9 @@
"basePath": "",
"baseUrl": "https://genomics.googleapis.com/",
"batchPath": "batch",
- "description": "Stores, processes, explores and shares genomic data.",
+ "description": "Upload, process, query, and search Genomics data in the cloud.",
"discoveryVersion": "v1",
- "documentationLink": "https://cloud.google.com/genomics/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/jo14IJ9oMjJmju16_ICU62ty30c\"",
+ "documentationLink": "https://cloud.google.com/genomics",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -37,24 +36,26 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "access_token": {
- "description": "OAuth access token.",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "alt": {
- "default": "json",
- "description": "Data format for response.",
- "enumDescriptions": [
- "Responses with Content-Type of application/json",
- "Media download with context-dependent Content-Type",
- "Responses with Content-Type of application/x-protobuf"
- ],
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
"location": "query",
"type": "string"
},
@@ -63,8 +64,19 @@
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json",
+ "Media download with context-dependent Content-Type",
+ "Responses with Content-Type of application/x-protobuf"
+ ],
"location": "query",
"type": "string"
},
@@ -73,8 +85,13 @@
"location": "query",
"type": "string"
},
- "oauth_token": {
- "description": "OAuth 2.0 token for the current user.",
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "quotaUser": {
+ "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.",
"location": "query",
"type": "string"
},
@@ -84,14 +101,13 @@
"location": "query",
"type": "boolean"
},
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
"location": "query",
- "type": "boolean"
+ "type": "string"
},
- "quotaUser": {
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -100,114 +116,147 @@
"location": "query",
"type": "string"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
"location": "query",
- "type": "string"
+ "type": "boolean"
}
},
"protocol": "rest",
"resources": {
- "annotationsets": {
+ "variants": {
"methods": {
- "create": {
- "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).",
+ "search": {
+ "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).",
"httpMethod": "POST",
- "id": "genomics.annotationsets.create",
- "path": "v1/annotationsets",
+ "id": "genomics.variants.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variants/search",
"request": {
- "$ref": "AnnotationSet"
+ "$ref": "SearchVariantsRequest"
},
"response": {
- "$ref": "AnnotationSet"
+ "$ref": "SearchVariantsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
- "get": {
- "description": "Gets an annotation set. Caller must have READ permission for the associated dataset.",
- "httpMethod": "GET",
- "id": "genomics.annotationsets.get",
+ "patch": {
+ "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.",
+ "httpMethod": "PATCH",
+ "id": "genomics.variants.patch",
"parameterOrder": [
- "annotationSetId"
+ "variantId"
],
"parameters": {
- "annotationSetId": {
- "description": "The ID of the annotation set to be retrieved.",
+ "variantId": {
+ "description": "The ID of the variant to be updated.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "updateMask": {
+ "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.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1/annotationsets/{annotationSetId}",
+ "path": "v1/variants/{variantId}",
+ "request": {
+ "$ref": "Variant"
+ },
"response": {
- "$ref": "AnnotationSet"
+ "$ref": "Variant"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
},
- "update": {
- "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.",
- "httpMethod": "PUT",
- "id": "genomics.annotationsets.update",
+ "get": {
+ "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)",
+ "httpMethod": "GET",
+ "id": "genomics.variants.get",
"parameterOrder": [
- "annotationSetId"
+ "variantId"
],
"parameters": {
- "annotationSetId": {
- "description": "The ID of the annotation set to be updated.",
+ "variantId": {
+ "description": "The ID of the variant.",
"location": "path",
"required": true,
"type": "string"
- },
- "updateMask": {
- "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.",
- "location": "query",
- "type": "string"
}
},
- "path": "v1/annotationsets/{annotationSetId}",
+ "path": "v1/variants/{variantId}",
+ "response": {
+ "$ref": "Variant"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "merge": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.variants.merge",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variants:merge",
"request": {
- "$ref": "AnnotationSet"
+ "$ref": "MergeVariantsRequest"
},
"response": {
- "$ref": "AnnotationSet"
+ "$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
+ "import": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.variants.import",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variants:import",
+ "request": {
+ "$ref": "ImportVariantsRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/devstorage.read_write",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
"delete": {
- "description": "Deletes an annotation set. Caller must have WRITE permission for the associated annotation set.",
+ "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)",
"httpMethod": "DELETE",
- "id": "genomics.annotationsets.delete",
+ "id": "genomics.variants.delete",
"parameterOrder": [
- "annotationSetId"
+ "variantId"
],
"parameters": {
- "annotationSetId": {
- "description": "The ID of the annotation set to be deleted.",
+ "variantId": {
+ "description": "The ID of the variant to be deleted.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/annotationsets/{annotationSetId}",
+ "path": "v1/variants/{variantId}",
"response": {
"$ref": "Empty"
},
@@ -216,77 +265,89 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "search": {
- "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.",
+ "create": {
+ "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)",
"httpMethod": "POST",
- "id": "genomics.annotationsets.search",
- "path": "v1/annotationsets/search",
+ "id": "genomics.variants.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variants",
"request": {
- "$ref": "SearchAnnotationSetsRequest"
+ "$ref": "Variant"
},
"response": {
- "$ref": "SearchAnnotationSetsResponse"
+ "$ref": "Variant"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
}
}
},
- "annotations": {
+ "annotationsets": {
"methods": {
- "create": {
- "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.",
- "httpMethod": "POST",
- "id": "genomics.annotations.create",
- "path": "v1/annotations",
- "request": {
- "$ref": "Annotation"
+ "delete": {
+ "description": "Deletes an annotation set. Caller must have WRITE permission\nfor the associated annotation set.",
+ "httpMethod": "DELETE",
+ "id": "genomics.annotationsets.delete",
+ "parameterOrder": [
+ "annotationSetId"
+ ],
+ "parameters": {
+ "annotationSetId": {
+ "description": "The ID of the annotation set to be deleted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
},
+ "path": "v1/annotationsets/{annotationSetId}",
"response": {
- "$ref": "Annotation"
+ "$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
- "batchCreate": {
- "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.",
+ "search": {
+ "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.",
"httpMethod": "POST",
- "id": "genomics.annotations.batchCreate",
- "path": "v1/annotations:batchCreate",
+ "id": "genomics.annotationsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/annotationsets/search",
"request": {
- "$ref": "BatchCreateAnnotationsRequest"
+ "$ref": "SearchAnnotationSetsRequest"
},
"response": {
- "$ref": "BatchCreateAnnotationsResponse"
+ "$ref": "SearchAnnotationSetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
"get": {
- "description": "Gets an annotation. Caller must have READ permission for the associated annotation set.",
+ "description": "Gets an annotation set. Caller must have READ permission for\nthe associated dataset.",
"httpMethod": "GET",
- "id": "genomics.annotations.get",
+ "id": "genomics.annotationsets.get",
"parameterOrder": [
- "annotationId"
+ "annotationSetId"
],
"parameters": {
- "annotationId": {
- "description": "The ID of the annotation to be retrieved.",
+ "annotationSetId": {
+ "description": "The ID of the annotation set to be retrieved.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/annotations/{annotationId}",
+ "path": "v1/annotationsets/{annotationSetId}",
"response": {
- "$ref": "Annotation"
+ "$ref": "AnnotationSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -295,181 +356,184 @@
]
},
"update": {
- "description": "Updates an annotation. Caller must have WRITE permission for the associated dataset.",
+ "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.",
"httpMethod": "PUT",
- "id": "genomics.annotations.update",
+ "id": "genomics.annotationsets.update",
"parameterOrder": [
- "annotationId"
+ "annotationSetId"
],
"parameters": {
- "annotationId": {
- "description": "The ID of the annotation to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"updateMask": {
- "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.",
+ "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.",
+ "format": "google-fieldmask",
"location": "query",
"type": "string"
- }
- },
- "path": "v1/annotations/{annotationId}",
- "request": {
- "$ref": "Annotation"
- },
- "response": {
- "$ref": "Annotation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "delete": {
- "description": "Deletes an annotation. Caller must have WRITE permission for the associated annotation set.",
- "httpMethod": "DELETE",
- "id": "genomics.annotations.delete",
- "parameterOrder": [
- "annotationId"
- ],
- "parameters": {
- "annotationId": {
- "description": "The ID of the annotation to be deleted.",
+ },
+ "annotationSetId": {
+ "description": "The ID of the annotation set to be updated.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/annotations/{annotationId}",
+ "path": "v1/annotationsets/{annotationSetId}",
+ "request": {
+ "$ref": "AnnotationSet"
+ },
"response": {
- "$ref": "Empty"
+ "$ref": "AnnotationSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
- "search": {
- "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.",
+ "create": {
+ "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).",
"httpMethod": "POST",
- "id": "genomics.annotations.search",
- "path": "v1/annotations/search",
+ "id": "genomics.annotationsets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/annotationsets",
"request": {
- "$ref": "SearchAnnotationsRequest"
+ "$ref": "AnnotationSet"
},
"response": {
- "$ref": "SearchAnnotationsResponse"
+ "$ref": "AnnotationSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
}
}
},
- "datasets": {
+ "references": {
"methods": {
- "list": {
- "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)",
- "httpMethod": "GET",
- "id": "genomics.datasets.list",
- "parameters": {
- "projectId": {
- "description": "Required. The Google Cloud project ID to list datasets for.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 50. The maximum value is 1024.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "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.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/datasets",
- "response": {
- "$ref": "ListDatasetsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "create": {
- "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)",
+ "search": {
+ "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).",
"httpMethod": "POST",
- "id": "genomics.datasets.create",
- "path": "v1/datasets",
+ "id": "genomics.references.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/references/search",
"request": {
- "$ref": "Dataset"
+ "$ref": "SearchReferencesRequest"
},
"response": {
- "$ref": "Dataset"
+ "$ref": "SearchReferencesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
"get": {
- "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)",
+ "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).",
"httpMethod": "GET",
- "id": "genomics.datasets.get",
+ "id": "genomics.references.get",
"parameterOrder": [
- "datasetId"
+ "referenceId"
],
"parameters": {
- "datasetId": {
- "description": "The ID of the dataset.",
+ "referenceId": {
+ "description": "The ID of the reference.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/datasets/{datasetId}",
+ "path": "v1/references/{referenceId}",
"response": {
- "$ref": "Dataset"
+ "$ref": "Reference"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics",
"https://www.googleapis.com/auth/genomics.readonly"
]
- },
- "patch": {
- "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.",
- "httpMethod": "PATCH",
- "id": "genomics.datasets.patch",
+ }
+ },
+ "resources": {
+ "bases": {
+ "methods": {
+ "list": {
+ "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).",
+ "httpMethod": "GET",
+ "id": "genomics.references.bases.list",
+ "parameterOrder": [
+ "referenceId"
+ ],
+ "parameters": {
+ "pageSize": {
+ "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).",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "start": {
+ "description": "The start position (0-based) of this query. Defaults to 0.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "referenceId": {
+ "description": "The ID of the reference.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "end": {
+ "description": "The end position (0-based, exclusive) of this query. Defaults to the length\nof this reference.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/references/{referenceId}/bases",
+ "response": {
+ "$ref": "ListBasesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "datasets": {
+ "methods": {
+ "testIamPermissions": {
+ "description": "Returns permissions that a caller has on the specified resource.\nSee <a href=\"/iam/docs/managing-policies#testing_permissions\">Testing\nPermissions</a> 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)",
+ "httpMethod": "POST",
+ "id": "genomics.datasets.testIamPermissions",
"parameterOrder": [
- "datasetId"
+ "resource"
],
"parameters": {
- "datasetId": {
- "description": "The ID of the dataset to be updated.",
+ "resource": {
+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/<dataset ID>`.",
"location": "path",
+ "pattern": "^datasets/[^/]+$",
"required": true,
"type": "string"
- },
- "updateMask": {
- "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.",
- "location": "query",
- "type": "string"
}
},
- "path": "v1/datasets/{datasetId}",
+ "path": "v1/{+resource}:testIamPermissions",
"request": {
- "$ref": "Dataset"
+ "$ref": "TestIamPermissionsRequest"
},
"response": {
- "$ref": "Dataset"
+ "$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -477,7 +541,7 @@
]
},
"delete": {
- "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)",
+ "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)",
"httpMethod": "DELETE",
"id": "genomics.datasets.delete",
"parameterOrder": [
@@ -500,35 +564,41 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "undelete": {
- "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.",
- "httpMethod": "POST",
- "id": "genomics.datasets.undelete",
- "parameterOrder": [
- "datasetId"
- ],
+ "list": {
+ "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)",
+ "httpMethod": "GET",
+ "id": "genomics.datasets.list",
+ "parameterOrder": [],
"parameters": {
- "datasetId": {
- "description": "The ID of the dataset to be undeleted.",
- "location": "path",
- "required": true,
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 50. The maximum value is 1024.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "projectId": {
+ "description": "Required. The Google Cloud project ID to list datasets for.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "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.",
+ "location": "query",
"type": "string"
}
},
- "path": "v1/datasets/{datasetId}:undelete",
- "request": {
- "$ref": "UndeleteDatasetRequest"
- },
+ "path": "v1/datasets",
"response": {
- "$ref": "Dataset"
+ "$ref": "ListDatasetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
"setIamPolicy": {
- "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.",
+ "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 <a href=\"/iam/docs/managing-policies#setting_a_policy\">Setting a\nPolicy</a> for more information.",
"httpMethod": "POST",
"id": "genomics.datasets.setIamPolicy",
"parameterOrder": [
@@ -536,7 +606,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/<dataset ID>`.",
"location": "path",
"pattern": "^datasets/[^/]+$",
"required": true,
@@ -555,8 +625,26 @@
"https://www.googleapis.com/auth/genomics"
]
},
+ "create": {
+ "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)",
+ "httpMethod": "POST",
+ "id": "genomics.datasets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/datasets",
+ "request": {
+ "$ref": "Dataset"
+ },
+ "response": {
+ "$ref": "Dataset"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
"getIamPolicy": {
- "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)",
+ "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee <a href=\"/iam/docs/managing-policies#getting_a_policy\">Getting a\nPolicy</a> 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)",
"httpMethod": "POST",
"id": "genomics.datasets.getIamPolicy",
"parameterOrder": [
@@ -564,7 +652,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
+ "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/<dataset ID>`.",
"location": "path",
"pattern": "^datasets/[^/]+$",
"required": true,
@@ -583,124 +671,188 @@
"https://www.googleapis.com/auth/genomics"
]
},
- "testIamPermissions": {
- "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)",
- "httpMethod": "POST",
- "id": "genomics.datasets.testIamPermissions",
+ "patch": {
+ "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.",
+ "httpMethod": "PATCH",
+ "id": "genomics.datasets.patch",
"parameterOrder": [
- "resource"
+ "datasetId"
],
"parameters": {
- "resource": {
- "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
+ "datasetId": {
+ "description": "The ID of the dataset to be updated.",
"location": "path",
- "pattern": "^datasets/[^/]+$",
"required": true,
"type": "string"
+ },
+ "updateMask": {
+ "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.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1/{+resource}:testIamPermissions",
+ "path": "v1/datasets/{datasetId}",
"request": {
- "$ref": "TestIamPermissionsRequest"
+ "$ref": "Dataset"
},
"response": {
- "$ref": "TestIamPermissionsResponse"
+ "$ref": "Dataset"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
- }
- }
- },
- "operations": {
- "methods": {
- "list": {
- "description": "Lists operations that match the specified filter in the request.",
+ },
+ "get": {
+ "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)",
"httpMethod": "GET",
- "id": "genomics.operations.list",
+ "id": "genomics.datasets.get",
"parameterOrder": [
- "name"
+ "datasetId"
],
"parameters": {
- "name": {
- "description": "The name of the operation collection.",
+ "datasetId": {
+ "description": "The ID of the dataset.",
"location": "path",
- "pattern": "^operations$",
"required": true,
"type": "string"
- },
- "filter": {
- "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 `>=` and/or `= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return. If unspecified, defaults to 256. The maximum value is 2048.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
+ }
+ },
+ "path": "v1/datasets/{datasetId}",
+ "response": {
+ "$ref": "Dataset"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "undelete": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.datasets.undelete",
+ "parameterOrder": [
+ "datasetId"
+ ],
+ "parameters": {
+ "datasetId": {
+ "description": "The ID of the dataset to be undeleted.",
+ "location": "path",
+ "required": true,
"type": "string"
}
},
- "path": "v1/{+name}",
+ "path": "v1/datasets/{datasetId}:undelete",
+ "request": {
+ "$ref": "UndeleteDatasetRequest"
+ },
"response": {
- "$ref": "ListOperationsResponse"
+ "$ref": "Dataset"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
+ }
+ }
+ },
+ "annotations": {
+ "methods": {
+ "search": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.annotations.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/annotations/search",
+ "request": {
+ "$ref": "SearchAnnotationsRequest"
+ },
+ "response": {
+ "$ref": "SearchAnnotationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
},
"get": {
- "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.",
+ "description": "Gets an annotation. Caller must have READ permission\nfor the associated annotation set.",
"httpMethod": "GET",
- "id": "genomics.operations.get",
+ "id": "genomics.annotations.get",
"parameterOrder": [
- "name"
+ "annotationId"
],
"parameters": {
- "name": {
- "description": "The name of the operation resource.",
+ "annotationId": {
+ "description": "The ID of the annotation to be retrieved.",
"location": "path",
- "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
},
- "path": "v1/{+name}",
+ "path": "v1/annotations/{annotationId}",
"response": {
- "$ref": "Operation"
+ "$ref": "Annotation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
- "cancel": {
- "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.",
- "httpMethod": "POST",
- "id": "genomics.operations.cancel",
+ "update": {
+ "description": "Updates an annotation. Caller must have\nWRITE permission for the associated dataset.",
+ "httpMethod": "PUT",
+ "id": "genomics.annotations.update",
"parameterOrder": [
- "name"
+ "annotationId"
],
"parameters": {
- "name": {
- "description": "The name of the operation resource to be cancelled.",
+ "updateMask": {
+ "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.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "annotationId": {
+ "description": "The ID of the annotation to be updated.",
"location": "path",
- "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
},
- "path": "v1/{+name}:cancel",
+ "path": "v1/annotations/{annotationId}",
"request": {
- "$ref": "CancelOperationRequest"
+ "$ref": "Annotation"
+ },
+ "response": {
+ "$ref": "Annotation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "delete": {
+ "description": "Deletes an annotation. Caller must have WRITE permission for\nthe associated annotation set.",
+ "httpMethod": "DELETE",
+ "id": "genomics.annotations.delete",
+ "parameterOrder": [
+ "annotationId"
+ ],
+ "parameters": {
+ "annotationId": {
+ "description": "The ID of the annotation to be deleted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
},
+ "path": "v1/annotations/{annotationId}",
"response": {
"$ref": "Empty"
},
@@ -708,66 +860,105 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
+ },
+ "create": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.annotations.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/annotations",
+ "request": {
+ "$ref": "Annotation"
+ },
+ "response": {
+ "$ref": "Annotation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
+ },
+ "batchCreate": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.annotations.batchCreate",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/annotations:batchCreate",
+ "request": {
+ "$ref": "BatchCreateAnnotationsRequest"
+ },
+ "response": {
+ "$ref": "BatchCreateAnnotationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics"
+ ]
}
}
},
- "readgroupsets": {
+ "variantsets": {
"methods": {
- "import": {
- "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)",
+ "create": {
+ "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.",
"httpMethod": "POST",
- "id": "genomics.readgroupsets.import",
- "path": "v1/readgroupsets:import",
+ "id": "genomics.variantsets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variantsets",
"request": {
- "$ref": "ImportReadGroupSetsRequest"
+ "$ref": "VariantSet"
},
"response": {
- "$ref": "Operation"
+ "$ref": "VariantSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/genomics"
]
},
"export": {
- "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.",
+ "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)",
"httpMethod": "POST",
- "id": "genomics.readgroupsets.export",
+ "id": "genomics.variantsets.export",
"parameterOrder": [
- "readGroupSetId"
+ "variantSetId"
],
"parameters": {
- "readGroupSetId": {
- "description": "Required. The ID of the read group set to export. The caller must have READ access to this read group set.",
+ "variantSetId": {
+ "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.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/readgroupsets/{readGroupSetId}:export",
+ "path": "v1/variantsets/{variantSetId}:export",
"request": {
- "$ref": "ExportReadGroupSetRequest"
+ "$ref": "ExportVariantSetRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
+ "https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/genomics"
]
},
"search": {
- "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).",
+ "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).",
"httpMethod": "POST",
- "id": "genomics.readgroupsets.search",
- "path": "v1/readgroupsets/search",
+ "id": "genomics.variantsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/variantsets/search",
"request": {
- "$ref": "SearchReadGroupSetsRequest"
+ "$ref": "SearchVariantSetsRequest"
},
"response": {
- "$ref": "SearchReadGroupSetsResponse"
+ "$ref": "SearchVariantSetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -775,32 +966,58 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
- "patch": {
- "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.",
- "httpMethod": "PATCH",
- "id": "genomics.readgroupsets.patch",
+ "get": {
+ "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)",
+ "httpMethod": "GET",
+ "id": "genomics.variantsets.get",
"parameterOrder": [
- "readGroupSetId"
+ "variantSetId"
],
"parameters": {
- "readGroupSetId": {
- "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.",
+ "variantSetId": {
+ "description": "Required. The ID of the variant set.",
"location": "path",
"required": true,
"type": "string"
- },
+ }
+ },
+ "path": "v1/variantsets/{variantSetId}",
+ "response": {
+ "$ref": "VariantSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "patch": {
+ "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)",
+ "httpMethod": "PATCH",
+ "id": "genomics.variantsets.patch",
+ "parameterOrder": [
+ "variantSetId"
+ ],
+ "parameters": {
"updateMask": {
- "description": "An optional mask specifying which fields to update. Supported fields: * name. * referenceSetId. Leaving `updateMask` unset is equivalent to specifying all mutable fields.",
+ "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.",
+ "format": "google-fieldmask",
"location": "query",
"type": "string"
+ },
+ "variantSetId": {
+ "description": "The ID of the variant to be updated (must already exist).",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
- "path": "v1/readgroupsets/{readGroupSetId}",
+ "path": "v1/variantsets/{variantSetId}",
"request": {
- "$ref": "ReadGroupSet"
+ "$ref": "VariantSet"
},
"response": {
- "$ref": "ReadGroupSet"
+ "$ref": "VariantSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -808,21 +1025,21 @@
]
},
"delete": {
- "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)",
+ "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)",
"httpMethod": "DELETE",
- "id": "genomics.readgroupsets.delete",
+ "id": "genomics.variantsets.delete",
"parameterOrder": [
- "readGroupSetId"
+ "variantSetId"
],
"parameters": {
- "readGroupSetId": {
- "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.",
+ "variantSetId": {
+ "description": "The ID of the variant set to be deleted.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/readgroupsets/{readGroupSetId}",
+ "path": "v1/variantsets/{variantSetId}",
"response": {
"$ref": "Empty"
},
@@ -830,128 +1047,99 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
- },
- "get": {
- "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)",
- "httpMethod": "GET",
- "id": "genomics.readgroupsets.get",
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "cancel": {
+ "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.",
+ "httpMethod": "POST",
+ "id": "genomics.operations.cancel",
"parameterOrder": [
- "readGroupSetId"
+ "name"
],
"parameters": {
- "readGroupSetId": {
- "description": "The ID of the read group set.",
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
"location": "path",
+ "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
},
- "path": "v1/readgroupsets/{readGroupSetId}",
+ "path": "v1/{+name}:cancel",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
"response": {
- "$ref": "ReadGroupSet"
+ "$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
- }
- },
- "resources": {
- "coveragebuckets": {
- "methods": {
- "list": {
- "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.",
- "httpMethod": "GET",
- "id": "genomics.readgroupsets.coveragebuckets.list",
- "parameterOrder": [
- "readGroupSetId"
- ],
- "parameters": {
- "readGroupSetId": {
- "description": "Required. The ID of the read group set over which coverage is requested.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "referenceName": {
- "description": "The name of the reference to query, within the reference set associated with this query. Optional.",
- "location": "query",
- "type": "string"
- },
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified. Defaults to 0.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "end": {
- "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.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "targetBucketWidth": {
- "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.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "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.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 2048.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
- "response": {
- "$ref": "ListCoverageBucketsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request.",
+ "httpMethod": "GET",
+ "id": "genomics.operations.list",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of results to return. If unspecified, defaults to\n256. The maximum value is 2048.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "filter": {
+ "description": "A string for filtering Operations.\nThe following filter fields are supported&#58;\n\n* projectId&#58; Required. Corresponds to\n OperationMetadata.projectId.\n* createTime&#58; The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`\n operators.\n* status&#58; 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&#58;\n\n* `projectId = my-project AND createTime >= 1432140000`\n* `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the operation collection.",
+ "location": "path",
+ "pattern": "^operations$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
}
- }
- }
- }
- },
- "reads": {
- "methods": {
- "search": {
- "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).",
- "httpMethod": "POST",
- "id": "genomics.reads.search",
- "path": "v1/reads/search",
- "request": {
- "$ref": "SearchReadsRequest"
},
+ "path": "v1/{+name}",
"response": {
- "$ref": "SearchReadsResponse"
+ "$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
},
- "stream": {
- "description": "Returns a stream of all the reads matching the search request, ordered by reference name, position, and ID.",
- "httpMethod": "POST",
- "id": "genomics.reads.stream",
- "path": "v1/reads:stream",
- "request": {
- "$ref": "StreamReadsRequest"
+ "get": {
+ "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.",
+ "httpMethod": "GET",
+ "id": "genomics.operations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^operations/.+$",
+ "required": true,
+ "type": "string"
+ }
},
+ "path": "v1/{+name}",
"response": {
- "$ref": "StreamReadsResponse"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -963,9 +1151,11 @@
"referencesets": {
"methods": {
"search": {
- "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)",
+ "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)",
"httpMethod": "POST",
"id": "genomics.referencesets.search",
+ "parameterOrder": [],
+ "parameters": {},
"path": "v1/referencesets/search",
"request": {
"$ref": "SearchReferenceSetsRequest"
@@ -980,7 +1170,7 @@
]
},
"get": {
- "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).",
+ "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).",
"httpMethod": "GET",
"id": "genomics.referencesets.get",
"parameterOrder": [
@@ -1006,115 +1196,26 @@
}
}
},
- "references": {
+ "readgroupsets": {
"methods": {
- "search": {
- "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).",
+ "export": {
+ "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.",
"httpMethod": "POST",
- "id": "genomics.references.search",
- "path": "v1/references/search",
- "request": {
- "$ref": "SearchReferencesRequest"
- },
- "response": {
- "$ref": "SearchReferencesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "get": {
- "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).",
- "httpMethod": "GET",
- "id": "genomics.references.get",
+ "id": "genomics.readgroupsets.export",
"parameterOrder": [
- "referenceId"
+ "readGroupSetId"
],
"parameters": {
- "referenceId": {
- "description": "The ID of the reference.",
+ "readGroupSetId": {
+ "description": "Required. The ID of the read group set to export. The caller must have\nREAD access to this read group set.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/references/{referenceId}",
- "response": {
- "$ref": "Reference"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- }
- },
- "resources": {
- "bases": {
- "methods": {
- "list": {
- "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).",
- "httpMethod": "GET",
- "id": "genomics.references.bases.list",
- "parameterOrder": [
- "referenceId"
- ],
- "parameters": {
- "referenceId": {
- "description": "The ID of the reference.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "start": {
- "description": "The start position (0-based) of this query. Defaults to 0.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "end": {
- "description": "The end position (0-based, exclusive) of this query. Defaults to the length of this reference.",
- "format": "int64",
- "location": "query",
- "type": "string"
- },
- "pageToken": {
- "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.",
- "location": "query",
- "type": "string"
- },
- "pageSize": {
- "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).",
- "format": "int32",
- "location": "query",
- "type": "integer"
- }
- },
- "path": "v1/references/{referenceId}/bases",
- "response": {
- "$ref": "ListBasesResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- }
- }
- }
- }
- },
- "variants": {
- "methods": {
- "import": {
- "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.",
- "httpMethod": "POST",
- "id": "genomics.variants.import",
- "path": "v1/variants:import",
+ "path": "v1/readgroupsets/{readGroupSetId}:export",
"request": {
- "$ref": "ImportVariantsRequest"
+ "$ref": "ExportReadGroupSetRequest"
},
"response": {
"$ref": "Operation"
@@ -1126,15 +1227,17 @@
]
},
"search": {
- "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).",
+ "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).",
"httpMethod": "POST",
- "id": "genomics.variants.search",
- "path": "v1/variants/search",
+ "id": "genomics.readgroupsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/readgroupsets/search",
"request": {
- "$ref": "SearchVariantsRequest"
+ "$ref": "SearchReadGroupSetsRequest"
},
"response": {
- "$ref": "SearchVariantsResponse"
+ "$ref": "SearchReadGroupSetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -1142,111 +1245,99 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
- "create": {
- "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)",
- "httpMethod": "POST",
- "id": "genomics.variants.create",
- "path": "v1/variants",
- "request": {
- "$ref": "Variant"
- },
- "response": {
- "$ref": "Variant"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
"patch": {
- "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.",
+ "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.",
"httpMethod": "PATCH",
- "id": "genomics.variants.patch",
+ "id": "genomics.readgroupsets.patch",
"parameterOrder": [
- "variantId"
+ "readGroupSetId"
],
"parameters": {
- "variantId": {
- "description": "The ID of the variant to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
"updateMask": {
- "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.",
+ "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.",
+ "format": "google-fieldmask",
"location": "query",
"type": "string"
+ },
+ "readGroupSetId": {
+ "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.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
- "path": "v1/variants/{variantId}",
+ "path": "v1/readgroupsets/{readGroupSetId}",
"request": {
- "$ref": "Variant"
+ "$ref": "ReadGroupSet"
},
"response": {
- "$ref": "Variant"
+ "$ref": "ReadGroupSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
- "delete": {
- "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)",
- "httpMethod": "DELETE",
- "id": "genomics.variants.delete",
+ "get": {
+ "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)",
+ "httpMethod": "GET",
+ "id": "genomics.readgroupsets.get",
"parameterOrder": [
- "variantId"
+ "readGroupSetId"
],
"parameters": {
- "variantId": {
- "description": "The ID of the variant to be deleted.",
+ "readGroupSetId": {
+ "description": "The ID of the read group set.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/variants/{variantId}",
+ "path": "v1/readgroupsets/{readGroupSetId}",
"response": {
- "$ref": "Empty"
+ "$ref": "ReadGroupSet"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ },
+ "import": {
+ "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)",
+ "httpMethod": "POST",
+ "id": "genomics.readgroupsets.import",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/readgroupsets:import",
+ "request": {
+ "$ref": "ImportReadGroupSetsRequest"
+ },
+ "response": {
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/genomics"
]
},
- "get": {
- "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)",
- "httpMethod": "GET",
- "id": "genomics.variants.get",
+ "delete": {
+ "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)",
+ "httpMethod": "DELETE",
+ "id": "genomics.readgroupsets.delete",
"parameterOrder": [
- "variantId"
+ "readGroupSetId"
],
"parameters": {
- "variantId": {
- "description": "The ID of the variant.",
+ "readGroupSetId": {
+ "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.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/variants/{variantId}",
- "response": {
- "$ref": "Variant"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "merge": {
- "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.",
- "httpMethod": "POST",
- "id": "genomics.variants.merge",
- "path": "v1/variants:merge",
- "request": {
- "$ref": "MergeVariantsRequest"
- },
+ "path": "v1/readgroupsets/{readGroupSetId}",
"response": {
"$ref": "Empty"
},
@@ -1254,89 +1345,169 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
- },
- "stream": {
- "description": "Returns a stream of all the variants matching the search request, ordered by reference name, position, and ID.",
+ }
+ },
+ "resources": {
+ "coveragebuckets": {
+ "methods": {
+ "list": {
+ "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.",
+ "httpMethod": "GET",
+ "id": "genomics.readgroupsets.coveragebuckets.list",
+ "parameterOrder": [
+ "readGroupSetId"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 2048.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "start": {
+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "targetBucketWidth": {
+ "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.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "readGroupSetId": {
+ "description": "Required. The ID of the read group set over which coverage is requested.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "referenceName": {
+ "description": "The name of the reference to query, within the reference set associated\nwith this query. Optional.",
+ "location": "query",
+ "type": "string"
+ },
+ "end": {
+ "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.",
+ "format": "int64",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets",
+ "response": {
+ "$ref": "ListCoverageBucketsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "reads": {
+ "methods": {
+ "search": {
+ "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).",
"httpMethod": "POST",
- "id": "genomics.variants.stream",
- "path": "v1/variants:stream",
+ "id": "genomics.reads.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/reads/search",
"request": {
- "$ref": "StreamVariantsRequest"
+ "$ref": "SearchReadsRequest"
},
"response": {
- "$ref": "StreamVariantsResponse"
+ "$ref": "SearchReadsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
}
}
},
- "variantsets": {
+ "callsets": {
"methods": {
- "create": {
- "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.",
+ "search": {
+ "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).",
"httpMethod": "POST",
- "id": "genomics.variantsets.create",
- "path": "v1/variantsets",
+ "id": "genomics.callsets.search",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/callsets/search",
"request": {
- "$ref": "VariantSet"
+ "$ref": "SearchCallSetsRequest"
},
"response": {
- "$ref": "VariantSet"
+ "$ref": "SearchCallSetsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
+ "https://www.googleapis.com/auth/genomics",
+ "https://www.googleapis.com/auth/genomics.readonly"
]
},
- "export": {
- "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)",
- "httpMethod": "POST",
- "id": "genomics.variantsets.export",
+ "patch": {
+ "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.",
+ "httpMethod": "PATCH",
+ "id": "genomics.callsets.patch",
"parameterOrder": [
- "variantSetId"
+ "callSetId"
],
"parameters": {
- "variantSetId": {
- "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.",
+ "updateMask": {
+ "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.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "callSetId": {
+ "description": "The ID of the call set to be updated.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/variantsets/{variantSetId}:export",
+ "path": "v1/callsets/{callSetId}",
"request": {
- "$ref": "ExportVariantSetRequest"
+ "$ref": "CallSet"
},
"response": {
- "$ref": "Operation"
+ "$ref": "CallSet"
},
"scopes": [
- "https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
},
"get": {
- "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)",
+ "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)",
"httpMethod": "GET",
- "id": "genomics.variantsets.get",
+ "id": "genomics.callsets.get",
"parameterOrder": [
- "variantSetId"
+ "callSetId"
],
"parameters": {
- "variantSetId": {
- "description": "Required. The ID of the variant set.",
+ "callSetId": {
+ "description": "The ID of the call set.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/variantsets/{variantSetId}",
+ "path": "v1/callsets/{callSetId}",
"response": {
- "$ref": "VariantSet"
+ "$ref": "CallSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
@@ -1344,39 +1515,40 @@
"https://www.googleapis.com/auth/genomics.readonly"
]
},
- "search": {
- "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).",
+ "create": {
+ "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)",
"httpMethod": "POST",
- "id": "genomics.variantsets.search",
- "path": "v1/variantsets/search",
+ "id": "genomics.callsets.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/callsets",
"request": {
- "$ref": "SearchVariantSetsRequest"
+ "$ref": "CallSet"
},
"response": {
- "$ref": "SearchVariantSetsResponse"
+ "$ref": "CallSet"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
+ "https://www.googleapis.com/auth/genomics"
]
},
"delete": {
- "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)",
+ "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)",
"httpMethod": "DELETE",
- "id": "genomics.variantsets.delete",
+ "id": "genomics.callsets.delete",
"parameterOrder": [
- "variantSetId"
+ "callSetId"
],
"parameters": {
- "variantSetId": {
- "description": "The ID of the variant set to be deleted.",
+ "callSetId": {
+ "description": "The ID of the call set to be deleted.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/variantsets/{variantSetId}",
+ "path": "v1/callsets/{callSetId}",
"response": {
"$ref": "Empty"
},
@@ -1384,324 +1556,113 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
+ }
+ }
+ }
+ },
+ "revision": "20170209",
+ "rootUrl": "https://genomics.googleapis.com/",
+ "schemas": {
+ "Policy": {
+ "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).",
+ "id": "Policy",
+ "properties": {
+ "etag": {
+ "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.",
+ "format": "byte",
+ "type": "string"
},
- "patch": {
- "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)",
- "httpMethod": "PATCH",
- "id": "genomics.variantsets.patch",
- "parameterOrder": [
- "variantSetId"
- ],
- "parameters": {
- "variantSetId": {
- "description": "The ID of the variant to be updated (must already exist).",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "description": "An optional mask specifying which fields to update. Supported fields: * metadata. * name. * description. Leaving `updateMask` unset is equivalent to specifying all mutable fields.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/variantsets/{variantSetId}",
- "request": {
- "$ref": "VariantSet"
- },
- "response": {
- "$ref": "VariantSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- }
- }
- },
- "callsets": {
- "methods": {
- "search": {
- "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).",
- "httpMethod": "POST",
- "id": "genomics.callsets.search",
- "path": "v1/callsets/search",
- "request": {
- "$ref": "SearchCallSetsRequest"
- },
- "response": {
- "$ref": "SearchCallSetsResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- },
- "create": {
- "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)",
- "httpMethod": "POST",
- "id": "genomics.callsets.create",
- "path": "v1/callsets",
- "request": {
- "$ref": "CallSet"
- },
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "patch": {
- "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.",
- "httpMethod": "PATCH",
- "id": "genomics.callsets.patch",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set to be updated.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "updateMask": {
- "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.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "request": {
- "$ref": "CallSet"
- },
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "delete": {
- "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)",
- "httpMethod": "DELETE",
- "id": "genomics.callsets.delete",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set to be deleted.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "response": {
- "$ref": "Empty"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics"
- ]
- },
- "get": {
- "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)",
- "httpMethod": "GET",
- "id": "genomics.callsets.get",
- "parameterOrder": [
- "callSetId"
- ],
- "parameters": {
- "callSetId": {
- "description": "The ID of the call set.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/callsets/{callSetId}",
- "response": {
- "$ref": "CallSet"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/genomics",
- "https://www.googleapis.com/auth/genomics.readonly"
- ]
- }
- }
- }
- },
- "revision": "20160928",
- "rootUrl": "https://genomics.googleapis.com/",
- "schemas": {
- "AnnotationSet": {
- "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'.",
- "id": "AnnotationSet",
- "properties": {
- "id": {
- "description": "The server-generated annotation set ID, unique across all annotation sets.",
- "type": "string"
- },
- "datasetId": {
- "description": "The dataset to which this annotation set belongs.",
- "type": "string"
- },
- "referenceSetId": {
- "description": "The ID of the reference set that defines the coordinate space for this set's annotations.",
- "type": "string"
- },
- "name": {
- "description": "The display name for this annotation set.",
- "type": "string"
- },
- "sourceUri": {
- "description": "The source URI describing the file from which this annotation set was generated, if any.",
- "type": "string"
- },
- "type": {
- "description": "The type of annotations contained within this set.",
- "enum": [
- "ANNOTATION_TYPE_UNSPECIFIED",
- "GENERIC",
- "VARIANT",
- "GENE",
- "TRANSCRIPT"
- ],
- "type": "string"
+ "version": {
+ "description": "Version of the `Policy`. The default version is 0.",
+ "format": "int32",
+ "type": "integer"
},
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
+ "bindings": {
+ "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.",
+ "items": {
+ "$ref": "Binding"
},
- "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
+ "type": "array"
}
},
"type": "object"
},
- "Empty": {
- "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 `{}`.",
- "id": "Empty",
+ "CancelOperationRequest": {
+ "description": "The request message for Operations.CancelOperation.",
+ "id": "CancelOperationRequest",
+ "properties": {},
"type": "object"
},
- "SearchAnnotationSetsRequest": {
- "id": "SearchAnnotationSetsRequest",
+ "SearchReadsRequest": {
+ "description": "The read search request.",
+ "id": "SearchReadsRequest",
"properties": {
- "datasetIds": {
- "description": "Required. The dataset IDs to search within. Caller must have `READ` access to these datasets.",
+ "readGroupIds": {
+ "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`.",
"items": {
"type": "string"
},
"type": "array"
},
- "referenceSetId": {
- "description": "If specified, only annotation sets associated with the given reference set are returned.",
- "type": "string"
- },
- "name": {
- "description": "Only return annotations sets for which a substring of the name matches this string (case insensitive).",
+ "end": {
+ "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.",
+ "format": "int64",
"type": "string"
},
- "types": {
- "description": "If specified, only annotation sets that have any of these types are returned.",
- "enumDescriptions": [
- "",
- "A `GENERIC` annotation type should be used when no other annotation type will suffice. This represents an untyped annotation of the reference genome.",
- "A `VARIANT` annotation type.",
- "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.",
- "A `TRANSCRIPT` annotation type represents the assertion that a particular region of the reference genome may be transcribed as RNA."
- ],
- "items": {
- "enum": [
- "ANNOTATION_TYPE_UNSPECIFIED",
- "GENERIC",
- "VARIANT",
- "GENE",
- "TRANSCRIPT"
- ],
- "type": "string"
- },
- "type": "array"
- },
"pageToken": {
- "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.",
+ "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.",
"type": "string"
},
"pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 128. The maximum value is 1024.",
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.",
"format": "int32",
"type": "integer"
- }
- },
- "type": "object"
- },
- "SearchAnnotationSetsResponse": {
- "id": "SearchAnnotationSetsResponse",
- "properties": {
- "annotationSets": {
- "description": "The matching annotation sets.",
+ },
+ "start": {
+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified.",
+ "format": "int64",
+ "type": "string"
+ },
+ "referenceName": {
+ "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.",
+ "type": "string"
+ },
+ "readGroupSetIds": {
+ "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`.",
"items": {
- "$ref": "AnnotationSet"
+ "type": "string"
},
"type": "array"
- },
- "nextPageToken": {
- "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.",
- "type": "string"
}
},
"type": "object"
},
"Annotation": {
- "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`.",
+ "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`.",
"id": "Annotation",
"properties": {
- "id": {
- "description": "The server-generated annotation ID, unique across all annotations.",
- "type": "string"
- },
- "annotationSetId": {
- "description": "The annotation set to which this annotation belongs.",
- "type": "string"
- },
- "name": {
- "description": "The display name of this annotation.",
- "type": "string"
+ "variant": {
+ "$ref": "VariantAnnotation",
+ "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`."
},
"referenceId": {
"description": "The ID of the Google Genomics reference associated with this range.",
"type": "string"
},
- "referenceName": {
- "description": "The display name corresponding to the reference specified by `referenceId`, for example `chr1`, `1`, or `chrX`.",
- "type": "string"
- },
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive.",
- "format": "int64",
- "type": "string"
- },
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive.",
- "format": "int64",
+ "id": {
+ "description": "The server-generated annotation ID, unique across all annotations.",
"type": "string"
},
"reverseStrand": {
- "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.",
+ "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.",
"type": "boolean"
},
+ "referenceName": {
+ "description": "The display name corresponding to the reference specified by\n`referenceId`, for example `chr1`, `1`, or `chrX`.",
+ "type": "string"
+ },
"type": {
- "description": "The data type for this annotation. Must match the containing annotation set's type.",
+ "description": "The data type for this annotation. Must match the containing annotation\nset's type.",
"enum": [
"ANNOTATION_TYPE_UNSPECIFIED",
"GENERIC",
@@ -1709,16 +1670,15 @@
"GENE",
"TRANSCRIPT"
],
+ "enumDescriptions": [
+ "",
+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
+ "A `VARIANT` annotation type.",
+ "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.",
+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
+ ],
"type": "string"
},
- "variant": {
- "$ref": "VariantAnnotation",
- "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`."
- },
- "transcript": {
- "$ref": "Transcript",
- "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`."
- },
"info": {
"additionalProperties": {
"items": {
@@ -1726,236 +1686,178 @@
},
"type": "array"
},
- "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
- }
- },
- "type": "object"
- },
- "VariantAnnotation": {
- "id": "VariantAnnotation",
- "properties": {
- "type": {
- "description": "Type has been adapted from ClinVar's list of variant types.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "TYPE_OTHER",
- "INSERTION",
- "DELETION",
- "SUBSTITUTION",
- "SNP",
- "STRUCTURAL",
- "CNV"
- ],
- "type": "string"
- },
- "effect": {
- "description": "Effect of the variant on the coding sequence.",
- "enum": [
- "EFFECT_UNSPECIFIED",
- "EFFECT_OTHER",
- "FRAMESHIFT",
- "FRAME_PRESERVING_INDEL",
- "SYNONYMOUS_SNP",
- "NONSYNONYMOUS_SNP",
- "STOP_GAIN",
- "STOP_LOSS",
- "SPLICE_SITE_DISRUPTION"
- ],
- "type": "string"
+ "description": "A map of additional read alignment information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
},
- "alternateBases": {
- "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.",
+ "end": {
+ "description": "The end position of the range on the reference, 0-based exclusive.",
+ "format": "int64",
"type": "string"
},
- "geneId": {
- "description": "Google annotation ID of the gene affected by this variant. This should be provided when the variant is created.",
- "type": "string"
+ "transcript": {
+ "$ref": "Transcript",
+ "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`."
},
- "transcriptIds": {
- "description": "Google annotation IDs of the transcripts affected by this variant. These should be provided when the variant is created.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "start": {
+ "description": "The start position of the range on the reference, 0-based inclusive.",
+ "format": "int64",
+ "type": "string"
},
- "conditions": {
- "description": "The set of conditions associated with this variant. A condition describes the way a variant influences human health.",
- "items": {
- "$ref": "ClinicalCondition"
- },
- "type": "array"
+ "annotationSetId": {
+ "description": "The annotation set to which this annotation belongs.",
+ "type": "string"
},
- "clinicalSignificance": {
- "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/",
- "enum": [
- "CLINICAL_SIGNIFICANCE_UNSPECIFIED",
- "CLINICAL_SIGNIFICANCE_OTHER",
- "UNCERTAIN",
- "BENIGN",
- "LIKELY_BENIGN",
- "LIKELY_PATHOGENIC",
- "PATHOGENIC",
- "DRUG_RESPONSE",
- "HISTOCOMPATIBILITY",
- "CONFERS_SENSITIVITY",
- "RISK_FACTOR",
- "ASSOCIATION",
- "PROTECTIVE",
- "MULTIPLE_REPORTED"
- ],
+ "name": {
+ "description": "The display name of this annotation.",
"type": "string"
}
},
"type": "object"
},
- "ClinicalCondition": {
- "id": "ClinicalCondition",
+ "Operation": {
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.",
+ "id": "Operation",
"properties": {
- "names": {
- "description": "A set of names for the condition.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "done": {
+ "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.",
+ "type": "boolean"
},
- "externalIds": {
- "description": "The set of external IDs for this condition.",
- "items": {
- "$ref": "ExternalId"
+ "response": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
},
- "type": "array"
+ "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and exports, an empty response is returned.",
+ "type": "object"
},
- "conceptId": {
- "description": "The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/",
+ "name": {
+ "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example&#58; `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`",
"type": "string"
},
- "omimId": {
- "description": "The OMIM id for this condition. Search for these IDs at http://omim.org/",
- "type": "string"
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "An OperationMetadata object. This will always be returned with the Operation.",
+ "type": "object"
}
},
"type": "object"
},
- "ExternalId": {
- "id": "ExternalId",
+ "RuntimeMetadata": {
+ "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.",
+ "id": "RuntimeMetadata",
"properties": {
- "sourceName": {
- "description": "The name of the source of this data.",
- "type": "string"
- },
- "id": {
- "description": "The id used by the source of this data.",
- "type": "string"
+ "computeEngine": {
+ "$ref": "ComputeEngine",
+ "description": "Execution information specific to Google Compute Engine."
}
},
"type": "object"
},
- "Transcript": {
- "description": "A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.",
- "id": "Transcript",
+ "ImportReadGroupSetsResponse": {
+ "description": "The read group set import response.",
+ "id": "ImportReadGroupSetsResponse",
"properties": {
- "geneId": {
- "description": "The annotation ID of the gene from which this transcript is transcribed.",
- "type": "string"
- },
- "exons": {
- "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.",
+ "readGroupSetIds": {
+ "description": "IDs of the read group sets that were created.",
"items": {
- "$ref": "Exon"
+ "type": "string"
},
"type": "array"
- },
- "codingSequence": {
- "$ref": "CodingSequence",
- "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."
}
},
"type": "object"
},
- "Exon": {
- "id": "Exon",
+ "VariantCall": {
+ "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.",
+ "id": "VariantCall",
"properties": {
- "start": {
- "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.",
- "format": "int64",
+ "phaseset": {
+ "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 `*`.",
"type": "string"
},
- "end": {
- "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.",
- "format": "int64",
- "type": "string"
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional variant call information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
},
- "frame": {
- "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.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "CodingSequence": {
- "id": "CodingSequence",
- "properties": {
- "start": {
- "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.",
- "format": "int64",
+ "callSetName": {
+ "description": "The name of the call set this variant call belongs to.",
"type": "string"
},
- "end": {
- "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.",
- "format": "int64",
- "type": "string"
- }
- },
- "type": "object"
- },
- "BatchCreateAnnotationsRequest": {
- "id": "BatchCreateAnnotationsRequest",
- "properties": {
- "annotations": {
- "description": "The annotations to be created. At most 4096 can be specified in a single request.",
+ "genotypeLikelihood": {
+ "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`.",
"items": {
- "$ref": "Annotation"
+ "format": "double",
+ "type": "number"
},
"type": "array"
},
- "requestId": {
- "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.",
+ "callSetId": {
+ "description": "The ID of the call set this variant call belongs to.",
"type": "string"
+ },
+ "genotype": {
+ "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.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "BatchCreateAnnotationsResponse": {
- "id": "BatchCreateAnnotationsResponse",
+ "SearchVariantsResponse": {
+ "description": "The variant search response.",
+ "id": "SearchVariantsResponse",
"properties": {
- "entries": {
- "description": "The resulting per-annotation entries, ordered consistently with the original request.",
+ "nextPageToken": {
+ "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.",
+ "type": "string"
+ },
+ "variants": {
+ "description": "The list of matching Variants.",
"items": {
- "$ref": "Entry"
+ "$ref": "Variant"
},
"type": "array"
}
},
"type": "object"
},
- "Entry": {
- "id": "Entry",
+ "ListBasesResponse": {
+ "id": "ListBasesResponse",
"properties": {
- "status": {
- "$ref": "Status",
- "description": "The creation status."
+ "sequence": {
+ "description": "A substring of the bases that make up this reference.",
+ "type": "string"
},
- "annotation": {
- "$ref": "Annotation",
- "description": "The created annotation, if creation was successful."
+ "offset": {
+ "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.",
+ "format": "int64",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "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.",
+ "type": "string"
}
},
"type": "object"
},
"Status": {
- "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.",
+ "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.",
"id": "Status",
"properties": {
"code": {
@@ -1964,11 +1866,11 @@
"type": "integer"
},
"message": {
- "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.",
+ "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.",
"type": "string"
},
"details": {
- "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
+ "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
@@ -1981,190 +1883,215 @@
},
"type": "object"
},
- "SearchAnnotationsRequest": {
- "id": "SearchAnnotationsRequest",
+ "UndeleteDatasetRequest": {
+ "id": "UndeleteDatasetRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Binding": {
+ "description": "Associates `members` with a `role`.",
+ "id": "Binding",
"properties": {
- "annotationSetIds": {
- "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.",
+ "members": {
+ "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",
"items": {
"type": "string"
},
"type": "array"
},
- "referenceId": {
- "description": "The ID of the reference to query.",
- "type": "string"
- },
- "referenceName": {
- "description": "The name of the reference to query, within the reference set associated with this query.",
+ "role": {
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
"type": "string"
- },
+ }
+ },
+ "type": "object"
+ },
+ "Range": {
+ "description": "A 0-based half-open genomic coordinate range for search requests.",
+ "id": "Range",
+ "properties": {
"start": {
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, referenceId or referenceName must be specified. Defaults to 0.",
+ "description": "The start position of the range on the reference, 0-based inclusive.",
"format": "int64",
"type": "string"
},
"end": {
- "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.",
+ "description": "The end position of the range on the reference, 0-based exclusive.",
"format": "int64",
"type": "string"
},
- "pageToken": {
- "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.",
+ "referenceName": {
+ "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`.",
"type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 2048.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
},
- "SearchAnnotationsResponse": {
- "id": "SearchAnnotationsResponse",
+ "VariantSet": {
+ "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)",
+ "id": "VariantSet",
"properties": {
- "annotations": {
- "description": "The matching annotations.",
+ "description": {
+ "description": "A textual description of this variant set.",
+ "type": "string"
+ },
+ "datasetId": {
+ "description": "The dataset to which this variant set belongs.",
+ "type": "string"
+ },
+ "name": {
+ "description": "User-specified, mutable name.",
+ "type": "string"
+ },
+ "referenceSetId": {
+ "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.",
+ "type": "string"
+ },
+ "metadata": {
+ "description": "The metadata associated with this variant set.",
"items": {
- "$ref": "Annotation"
+ "$ref": "VariantSetMetadata"
},
"type": "array"
},
- "nextPageToken": {
- "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.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListDatasetsResponse": {
- "description": "The dataset list response.",
- "id": "ListDatasetsResponse",
- "properties": {
- "datasets": {
- "description": "The list of matching Datasets.",
+ "referenceBounds": {
+ "description": "A list of all references used by the variants in a variant set\nwith associated coordinate upper bounds for each one.",
"items": {
- "$ref": "Dataset"
+ "$ref": "ReferenceBound"
},
"type": "array"
},
- "nextPageToken": {
- "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.",
+ "id": {
+ "description": "The server-generated variant set ID, unique across all variant sets.",
"type": "string"
}
},
"type": "object"
},
- "Dataset": {
- "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)",
- "id": "Dataset",
+ "ReferenceBound": {
+ "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.",
+ "id": "ReferenceBound",
"properties": {
- "id": {
- "description": "The server-generated dataset ID, unique across all datasets.",
- "type": "string"
- },
- "projectId": {
- "description": "The Google Cloud project ID that this dataset belongs to.",
- "type": "string"
- },
- "name": {
- "description": "The dataset name.",
+ "upperBound": {
+ "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.",
+ "format": "int64",
"type": "string"
},
- "createTime": {
- "description": "The time this dataset was created, in seconds from the epoch.",
+ "referenceName": {
+ "description": "The name of the reference associated with this reference bound.",
"type": "string"
}
},
"type": "object"
},
- "UndeleteDatasetRequest": {
- "id": "UndeleteDatasetRequest",
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
+ "BatchCreateAnnotationsResponse": {
+ "id": "BatchCreateAnnotationsResponse",
"properties": {
- "policy": {
- "$ref": "Policy",
- "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."
+ "entries": {
+ "description": "The resulting per-annotation entries, ordered consistently with the\noriginal request.",
+ "items": {
+ "$ref": "Entry"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "Policy": {
- "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).",
- "id": "Policy",
+ "SearchCallSetsResponse": {
+ "description": "The call set search response.",
+ "id": "SearchCallSetsResponse",
"properties": {
- "version": {
- "description": "Version of the `Policy`. The default version is 0.",
- "format": "int32",
- "type": "integer"
- },
- "bindings": {
- "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.",
+ "callSets": {
+ "description": "The list of matching call sets.",
"items": {
- "$ref": "Binding"
+ "$ref": "CallSet"
},
"type": "array"
},
- "etag": {
- "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.",
- "format": "byte",
+ "nextPageToken": {
+ "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.",
"type": "string"
}
},
"type": "object"
},
- "Binding": {
- "description": "Associates `members` with a `role`.",
- "id": "Binding",
+ "Variant": {
+ "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.",
+ "id": "Variant",
"properties": {
- "role": {
- "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required",
+ "variantSetId": {
+ "description": "The ID of the variant set this variant belongs to.",
"type": "string"
},
- "members": {
- "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`.",
+ "referenceName": {
+ "description": "The reference on which this variant occurs.\n(such as `chr20` or `X`)",
+ "type": "string"
+ },
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional variant information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
+ },
+ "referenceBases": {
+ "description": "The reference bases for this variant. They start at the given\nposition.",
+ "type": "string"
+ },
+ "names": {
+ "description": "Names for the variant, for example a RefSNP ID.",
"items": {
"type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "GetIamPolicyRequest": {
- "description": "Request message for `GetIamPolicy` method.",
- "id": "GetIamPolicyRequest",
- "type": "object"
- },
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
- "properties": {
- "permissions": {
- "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`",
+ },
+ "alternateBases": {
+ "description": "The bases that appear instead of the reference bases.",
"items": {
"type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
- "properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
+ },
+ "end": {
+ "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.",
+ "format": "int64",
+ "type": "string"
+ },
+ "filter": {
+ "description": "A list of filters (normally quality filters) this variant has failed.\n`PASS` indicates this variant has passed all filters.",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "calls": {
+ "description": "The variant calls for this particular variant. Each one represents the\ndetermination of genotype with respect to this variant.",
+ "items": {
+ "$ref": "VariantCall"
+ },
+ "type": "array"
+ },
+ "created": {
+ "description": "The date this variant was created, in milliseconds from the epoch.",
+ "format": "int64",
+ "type": "string"
+ },
+ "start": {
+ "description": "The position at which this variant occurs (0-based).\nThis corresponds to the first base of the string of reference bases.",
+ "format": "int64",
+ "type": "string"
+ },
+ "quality": {
+ "description": "A measure of how likely this variant is to be real.\nA higher value is better.",
+ "format": "double",
+ "type": "number"
+ },
+ "id": {
+ "description": "The server-generated variant ID, unique across all variants.",
+ "type": "string"
}
},
"type": "object"
@@ -2173,109 +2100,129 @@
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
"properties": {
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
"operations": {
"description": "A list of operations that matches the specified filter in the request.",
"items": {
"$ref": "Operation"
},
"type": "array"
- },
- "nextPageToken": {
- "description": "The standard List next-page token.",
- "type": "string"
}
},
"type": "object"
},
- "Operation": {
- "description": "This resource represents a long-running operation that is the result of a network API call.",
- "id": "Operation",
+ "OperationMetadata": {
+ "description": "Metadata describing an Operation.",
+ "id": "OperationMetadata",
"properties": {
- "name": {
- "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`",
+ "projectId": {
+ "description": "The Google Cloud Project in which the job is scoped.",
"type": "string"
},
- "metadata": {
+ "clientId": {
+ "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The time at which the job stopped running.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "events": {
+ "description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export.",
+ "items": {
+ "$ref": "OperationEvent"
+ },
+ "type": "array"
+ },
+ "startTime": {
+ "description": "The time at which the job began to run.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "request": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
- "description": "An OperationMetadata object. This will always be returned with the Operation.",
+ "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.",
"type": "object"
},
- "done": {
- "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.",
- "type": "boolean"
- },
- "error": {
- "$ref": "Status",
- "description": "The error result of the operation in case of failure or cancellation."
- },
- "response": {
+ "runtimeMetadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
- "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For exports, an empty response is returned.",
+ "description": "Runtime metadata on this Operation.",
+ "type": "object"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.",
"type": "object"
+ },
+ "createTime": {
+ "description": "The time at which the job was submitted to the Genomics service.",
+ "format": "google-datetime",
+ "type": "string"
}
},
"type": "object"
},
- "CancelOperationRequest": {
- "description": "The request message for Operations.CancelOperation.",
- "id": "CancelOperationRequest",
- "type": "object"
- },
- "ImportReadGroupSetsRequest": {
- "description": "The read group set import request.",
- "id": "ImportReadGroupSetsRequest",
+ "SearchVariantsRequest": {
+ "description": "The variant search request.",
+ "id": "SearchVariantsRequest",
"properties": {
- "datasetId": {
- "description": "Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset.",
- "type": "string"
- },
- "referenceSetId": {
- "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.",
+ "referenceName": {
+ "description": "Required. Only return variants in this reference sequence.",
"type": "string"
},
- "sourceUris": {
- "description": "A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/SAMv1.pdf) in Google Cloud Storage.",
+ "variantSetIds": {
+ "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.",
"items": {
"type": "string"
},
"type": "array"
},
- "partitionStrategy": {
- "description": "The partition strategy describes how read groups are partitioned into read group sets.",
- "enum": [
- "PARTITION_STRATEGY_UNSPECIFIED",
- "PER_FILE_PER_SAMPLE",
- "MERGE_ALL"
- ],
+ "end": {
+ "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to\nthe length of the reference.",
+ "format": "int64",
"type": "string"
- }
- },
- "type": "object"
- },
- "ExportReadGroupSetRequest": {
- "description": "The read group set export request.",
- "id": "ExportReadGroupSetRequest",
- "properties": {
- "projectId": {
- "description": "Required. The Google Cloud project ID that owns this export. The caller must have WRITE access to this project.",
+ },
+ "maxCalls": {
+ "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.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "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.",
"type": "string"
},
- "exportUri": {
- "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.",
- "type": "string"
+ "pageSize": {
+ "description": "The maximum number of variants to return in a single page. If unspecified,\ndefaults to 5000. The maximum value is 10000.",
+ "format": "int32",
+ "type": "integer"
},
- "referenceNames": {
- "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.",
+ "callSetIds": {
+ "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.",
"items": {
"type": "string"
},
"type": "array"
+ },
+ "start": {
+ "description": "The beginning of the window (0-based, inclusive) for which\noverlapping variants should be returned. If unspecified, defaults to 0.",
+ "format": "int64",
+ "type": "string"
+ },
+ "variantName": {
+ "description": "Only return variants which have exactly this name.",
+ "type": "string"
}
},
"type": "object"
@@ -2284,343 +2231,408 @@
"description": "The read group set search request.",
"id": "SearchReadGroupSetsRequest",
"properties": {
- "datasetIds": {
- "description": "Restricts this query to read group sets within the given datasets. At least one ID must be provided.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
"name": {
- "description": "Only return read group sets for which a substring of the name matches this string.",
+ "description": "Only return read group sets for which a substring of the name matches this\nstring.",
"type": "string"
},
"pageToken": {
- "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.",
+ "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.",
"type": "string"
},
"pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 1024.",
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 1024.",
"format": "int32",
"type": "integer"
+ },
+ "datasetIds": {
+ "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "SearchReadGroupSetsResponse": {
- "description": "The read group set search response.",
- "id": "SearchReadGroupSetsResponse",
+ "SearchAnnotationsResponse": {
+ "id": "SearchAnnotationsResponse",
"properties": {
- "readGroupSets": {
- "description": "The list of matching read group sets.",
+ "annotations": {
+ "description": "The matching annotations.",
"items": {
- "$ref": "ReadGroupSet"
+ "$ref": "Annotation"
},
"type": "array"
},
"nextPageToken": {
- "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.",
+ "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.",
"type": "string"
}
},
"type": "object"
},
- "ReadGroupSet": {
- "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)",
- "id": "ReadGroupSet",
+ "ClinicalCondition": {
+ "id": "ClinicalCondition",
"properties": {
- "id": {
- "description": "The server-generated read group set ID, unique for all read group sets.",
- "type": "string"
- },
- "datasetId": {
- "description": "The dataset to which this read group set belongs.",
- "type": "string"
- },
- "referenceSetId": {
- "description": "The reference set to which the reads in this read group set are aligned.",
+ "conceptId": {
+ "description": "The MedGen concept id associated with this gene.\nSearch for these IDs at http://www.ncbi.nlm.nih.gov/medgen/",
"type": "string"
},
- "name": {
- "description": "The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.",
- "type": "string"
+ "names": {
+ "description": "A set of names for the condition.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
- "filename": {
- "description": "The filename of the original source file for this read group set, if any.",
+ "omimId": {
+ "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/",
"type": "string"
},
- "readGroups": {
- "description": "The read groups in this set. There are typically 1-10 read groups in a read group set.",
+ "externalIds": {
+ "description": "The set of external IDs for this condition.",
"items": {
- "$ref": "ReadGroup"
+ "$ref": "ExternalId"
},
"type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "SearchReadsResponse": {
+ "description": "The read search response.",
+ "id": "SearchReadsResponse",
+ "properties": {
+ "nextPageToken": {
+ "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.",
+ "type": "string"
},
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
+ "alignments": {
+ "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.",
+ "items": {
+ "$ref": "Read"
},
- "description": "A map of additional read group set information.",
- "type": "object"
+ "type": "array"
}
},
"type": "object"
},
- "ReadGroup": {
- "description": "A read group is all the data that's processed the same way by the sequencer.",
- "id": "ReadGroup",
+ "Program": {
+ "id": "Program",
"properties": {
- "id": {
- "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.",
+ "name": {
+ "description": "The display name of the program. This is typically the colloquial name of\nthe tool used, for example 'bwa' or 'picard'.",
"type": "string"
},
- "datasetId": {
- "description": "The dataset to which this read group belongs.",
+ "commandLine": {
+ "description": "The command line used to run this program.",
"type": "string"
},
- "name": {
- "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.",
+ "prevProgramId": {
+ "description": "The ID of the program run before this one.",
"type": "string"
},
- "description": {
- "description": "A free-form text description of this read group.",
+ "id": {
+ "description": "The user specified locally unique ID of the program. Used along with\n`prevProgramId` to define an ordering between programs.",
"type": "string"
},
- "sampleId": {
- "description": "A client-supplied sample identifier for the reads in this read group.",
+ "version": {
+ "description": "The version of the program run.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CoverageBucket": {
+ "description": "A bucket over which read coverage has been precomputed. A bucket corresponds\nto a specific range of the reference sequence.",
+ "id": "CoverageBucket",
+ "properties": {
+ "meanCoverage": {
+ "description": "The average number of reads which are aligned to each individual\nreference base in this bucket.",
+ "format": "float",
+ "type": "number"
},
- "experiment": {
- "$ref": "Experiment",
- "description": "The experiment used to generate this read group."
- },
- "predictedInsertSize": {
- "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.",
- "format": "int32",
- "type": "integer"
+ "range": {
+ "$ref": "Range",
+ "description": "The genomic coordinate range spanned by this bucket."
+ }
+ },
+ "type": "object"
+ },
+ "ComputeEngine": {
+ "description": "Describes a Compute Engine resource that is being managed by a running\npipeline.",
+ "id": "ComputeEngine",
+ "properties": {
+ "instanceName": {
+ "description": "The instance on which the operation is running.",
+ "type": "string"
},
- "programs": {
- "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.",
- "items": {
- "$ref": "Program"
- },
- "type": "array"
+ "zone": {
+ "description": "The availability zone in which the instance resides.",
+ "type": "string"
},
- "referenceSetId": {
- "description": "The reference set the reads in this read group are aligned to.",
+ "machineType": {
+ "description": "The machine type of the instance.",
"type": "string"
},
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
+ "diskNames": {
+ "description": "The names of the disks that were created for this pipeline.",
+ "items": {
+ "type": "string"
},
- "description": "A map of additional read group information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
+ "type": "array"
}
},
"type": "object"
},
- "Experiment": {
- "id": "Experiment",
+ "ExternalId": {
+ "id": "ExternalId",
"properties": {
- "libraryId": {
- "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.",
- "type": "string"
- },
- "platformUnit": {
- "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.",
- "type": "string"
- },
- "sequencingCenter": {
- "description": "The sequencing center used as part of this experiment.",
+ "sourceName": {
+ "description": "The name of the source of this data.",
"type": "string"
},
- "instrumentModel": {
- "description": "The instrument model used as part of this experiment. This maps to sequencing technology in the SAM spec.",
+ "id": {
+ "description": "The id used by the source of this data.",
"type": "string"
}
},
"type": "object"
},
- "Program": {
- "id": "Program",
+ "Reference": {
+ "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)",
+ "id": "Reference",
"properties": {
- "commandLine": {
- "description": "The command line used to run this program.",
+ "md5checksum": {
+ "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.",
"type": "string"
},
"id": {
- "description": "The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.",
+ "description": "The server-generated reference ID, unique across all references.",
"type": "string"
},
- "name": {
- "description": "The display name of the program. This is typically the colloquial name of the tool used, for example 'bwa' or 'picard'.",
+ "length": {
+ "description": "The length of this reference's sequence.",
+ "format": "int64",
"type": "string"
},
- "prevProgramId": {
- "description": "The ID of the program run before this one.",
+ "sourceAccessions": {
+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ncbiTaxonId": {
+ "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sourceUri": {
+ "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.",
"type": "string"
},
- "version": {
- "description": "The version of the program run.",
+ "name": {
+ "description": "The name of this reference, for example `22`.",
"type": "string"
}
},
"type": "object"
},
- "ListCoverageBucketsResponse": {
- "id": "ListCoverageBucketsResponse",
+ "VariantSetMetadata": {
+ "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.",
+ "id": "VariantSetMetadata",
"properties": {
- "bucketWidth": {
- "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`).",
- "format": "int64",
+ "description": {
+ "description": "A textual description of this metadata.",
"type": "string"
},
- "coverageBuckets": {
- "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.",
- "items": {
- "$ref": "CoverageBucket"
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
},
- "type": "array"
+ "description": "Remaining structured metadata key-value pairs. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
+ },
+ "type": {
+ "description": "The type of data. Possible types include: Integer, Float,\nFlag, Character, and String.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "INTEGER",
+ "FLOAT",
+ "FLAG",
+ "CHARACTER",
+ "STRING"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "number": {
+ "description": "The number of values that can be included in a field described by this\nmetadata.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value field for simple metadata",
+ "type": "string"
},
- "nextPageToken": {
- "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.",
+ "id": {
+ "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.",
"type": "string"
- }
- },
- "type": "object"
- },
- "CoverageBucket": {
- "description": "A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.",
- "id": "CoverageBucket",
- "properties": {
- "range": {
- "$ref": "Range",
- "description": "The genomic coordinate range spanned by this bucket."
},
- "meanCoverage": {
- "description": "The average number of reads which are aligned to each individual reference base in this bucket.",
- "format": "float",
- "type": "number"
+ "key": {
+ "description": "The top-level key.",
+ "type": "string"
}
},
"type": "object"
},
- "Range": {
- "description": "A 0-based half-open genomic coordinate range for search requests.",
- "id": "Range",
+ "SearchVariantSetsRequest": {
+ "description": "The search variant sets request.",
+ "id": "SearchVariantSetsRequest",
"properties": {
- "referenceName": {
- "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`.",
+ "pageToken": {
+ "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.",
"type": "string"
},
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive.",
- "format": "int64",
- "type": "string"
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
+ "format": "int32",
+ "type": "integer"
},
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive.",
- "format": "int64",
- "type": "string"
+ "datasetIds": {
+ "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "SearchReadsRequest": {
- "description": "The read search request.",
- "id": "SearchReadsRequest",
+ "SearchReferenceSetsRequest": {
+ "id": "SearchReferenceSetsRequest",
"properties": {
- "readGroupSetIds": {
- "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`.",
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "assemblyId": {
+ "description": "If present, return reference sets for which a substring of their\n`assemblyId` matches this string (case insensitive).",
+ "type": "string"
+ },
+ "md5checksums": {
+ "description": "If present, return reference sets for which the\nmd5checksum matches exactly.",
"items": {
"type": "string"
},
"type": "array"
},
- "readGroupIds": {
- "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`.",
+ "accessions": {
+ "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`.",
"items": {
"type": "string"
},
"type": "array"
},
- "referenceName": {
- "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.",
- "type": "string"
- },
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified.",
- "format": "int64",
- "type": "string"
- },
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified.",
- "format": "int64",
+ "pageToken": {
+ "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.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "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."
+ }
+ },
+ "type": "object"
+ },
+ "MergeVariantsRequest": {
+ "id": "MergeVariantsRequest",
+ "properties": {
+ "infoMergeConfig": {
+ "additionalProperties": {
+ "enum": [
+ "INFO_MERGE_OPERATION_UNSPECIFIED",
+ "IGNORE_NEW",
+ "MOVE_TO_CALLS"
+ ],
+ "type": "string"
+ },
+ "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them.",
+ "type": "object"
},
- "pageToken": {
- "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.",
+ "variantSetId": {
+ "description": "The destination variant set.",
"type": "string"
},
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 256. The maximum value is 2048.",
- "format": "int32",
- "type": "integer"
+ "variants": {
+ "description": "The variants to be merged with existing variants.",
+ "items": {
+ "$ref": "Variant"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "SearchReadsResponse": {
- "description": "The read search response.",
- "id": "SearchReadsResponse",
+ "BatchCreateAnnotationsRequest": {
+ "id": "BatchCreateAnnotationsRequest",
"properties": {
- "alignments": {
- "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.",
+ "annotations": {
+ "description": "The annotations to be created. At most 4096 can be specified in a single\nrequest.",
"items": {
- "$ref": "Read"
+ "$ref": "Annotation"
},
"type": "array"
},
- "nextPageToken": {
- "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.",
+ "requestId": {
+ "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.",
"type": "string"
}
},
"type": "object"
},
"Read": {
- "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",
+ "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",
"id": "Read",
"properties": {
- "id": {
- "description": "The server-generated read ID, unique across all reads. This is different from the `fragmentName`.",
- "type": "string"
- },
- "readGroupId": {
- "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).",
- "type": "string"
- },
- "readGroupSetId": {
- "description": "The ID of the read group set this read belongs to. A read belongs to exactly one read group set.",
- "type": "string"
+ "nextMatePosition": {
+ "$ref": "Position",
+ "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."
},
- "fragmentName": {
- "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.",
- "type": "string"
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional read alignment information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
},
"properPlacement": {
- "description": "The orientation and the distance between reads from the fragment are consistent with the sequencing protocol (SAM flag 0x2).",
+ "description": "The orientation and the distance between reads from the fragment are\nconsistent with the sequencing protocol (SAM flag 0x2).",
"type": "boolean"
},
- "duplicateFragment": {
- "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400).",
+ "supplementaryAlignment": {
+ "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.",
"type": "boolean"
},
"fragmentLength": {
@@ -2628,100 +2640,105 @@
"format": "int32",
"type": "integer"
},
- "readNumber": {
- "description": "The read number in sequencing. 0-based and less than numberReads. This field replaces SAM flag 0x40 and 0x80.",
- "format": "int32",
- "type": "integer"
- },
- "numberReads": {
- "description": "The number of reads in the fragment (extension to SAM flag 0x1).",
- "format": "int32",
- "type": "integer"
- },
"failedVendorQualityChecks": {
- "description": "Whether this read did not pass filters, such as platform or vendor quality controls (SAM flag 0x200).",
+ "description": "Whether this read did not pass filters, such as platform or vendor quality\ncontrols (SAM flag 0x200).",
"type": "boolean"
},
+ "alignedQuality": {
+ "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.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ },
"alignment": {
"$ref": "LinearAlignment",
- "description": "The linear alignment for this alignment record. This field is null for unmapped reads."
+ "description": "The linear alignment for this alignment record. This field is null for\nunmapped reads."
+ },
+ "id": {
+ "description": "The server-generated read ID, unique across all reads. This is different\nfrom the `fragmentName`.",
+ "type": "string"
+ },
+ "numberReads": {
+ "description": "The number of reads in the fragment (extension to SAM flag 0x1).",
+ "format": "int32",
+ "type": "integer"
},
"secondaryAlignment": {
- "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.",
+ "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.",
"type": "boolean"
},
- "supplementaryAlignment": {
- "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.",
- "type": "boolean"
+ "fragmentName": {
+ "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.",
+ "type": "string"
},
- "alignedSequence": {
- "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.",
+ "readGroupSetId": {
+ "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set.",
"type": "string"
},
- "alignedQuality": {
- "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.",
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
+ "duplicateFragment": {
+ "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400).",
+ "type": "boolean"
},
- "nextMatePosition": {
- "$ref": "Position",
- "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."
+ "readNumber": {
+ "description": "The read number in sequencing. 0-based and less than numberReads. This\nfield replaces SAM flag 0x40 and 0x80.",
+ "format": "int32",
+ "type": "integer"
},
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
+ "readGroupId": {
+ "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).",
+ "type": "string"
+ },
+ "alignedSequence": {
+ "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.",
+ "type": "string"
}
},
"type": "object"
},
- "LinearAlignment": {
- "description": "A linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference.",
- "id": "LinearAlignment",
+ "ReferenceSet": {
+ "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)",
+ "id": "ReferenceSet",
"properties": {
- "position": {
- "$ref": "Position",
- "description": "The position of this alignment."
- },
- "mappingQuality": {
- "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.",
- "format": "int32",
- "type": "integer"
- },
- "cigar": {
- "description": "Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.",
+ "referenceIds": {
+ "description": "The IDs of the reference objects that are part of this set.\n`Reference.md5checksum` must be unique within this set.",
"items": {
- "$ref": "CigarUnit"
+ "type": "string"
},
"type": "array"
- }
- },
- "type": "object"
- },
- "Position": {
- "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.",
- "id": "Position",
- "properties": {
- "referenceName": {
- "description": "The name of the reference in whatever reference set is being used.",
+ },
+ "assemblyId": {
+ "description": "Public id of this reference set, such as `GRCh37`.",
"type": "string"
},
- "position": {
- "description": "The 0-based offset from the start of the forward strand for that reference.",
- "format": "int64",
+ "md5checksum": {
+ "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.",
"type": "string"
},
- "reverseStrand": {
- "description": "Whether this position is on the reverse strand, as opposed to the forward strand.",
- "type": "boolean"
+ "id": {
+ "description": "The server-generated reference set ID, unique across all reference sets.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Free text description of this reference set.",
+ "type": "string"
+ },
+ "sourceAccessions": {
+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `NC_000001.11`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ncbiTaxonId": {
+ "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.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "sourceUri": {
+ "description": "The URI from which the references were obtained.",
+ "type": "string"
}
},
"type": "object"
@@ -2730,6 +2747,15 @@
"description": "A single CIGAR operation.",
"id": "CigarUnit",
"properties": {
+ "referenceSequence": {
+ "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.",
+ "type": "string"
+ },
+ "operationLength": {
+ "description": "The number of genomic bases that the operation runs for. Required.",
+ "format": "int64",
+ "type": "string"
+ },
"operation": {
"enum": [
"OPERATION_UNSPECIFIED",
@@ -2743,159 +2769,168 @@
"SEQUENCE_MATCH",
"SEQUENCE_MISMATCH"
],
+ "enumDescriptions": [
+ "",
+ "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`.",
+ "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`.",
+ "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`.",
+ "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`.",
+ "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.",
+ "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`.",
+ "The pad operator indicates that there is padding in an alignment. This\noperator is equivalent to SAM's `P`.",
+ "This operator indicates that this portion of the aligned sequence exactly\nmatches the reference. This operator is equivalent to SAM's `=`.",
+ "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`."
+ ],
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Transcript": {
+ "description": "A transcript represents the assertion that a particular region of the\nreference genome may be transcribed as RNA.",
+ "id": "Transcript",
+ "properties": {
+ "exons": {
+ "description": "The <a href=\"http://en.wikipedia.org/wiki/Exon\">exons</a> 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.",
+ "items": {
+ "$ref": "Exon"
+ },
+ "type": "array"
},
- "operationLength": {
- "description": "The number of genomic bases that the operation runs for. Required.",
- "format": "int64",
- "type": "string"
+ "codingSequence": {
+ "$ref": "CodingSequence",
+ "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."
},
- "referenceSequence": {
- "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.",
+ "geneId": {
+ "description": "The annotation ID of the gene from which this transcript is transcribed.",
"type": "string"
}
},
"type": "object"
},
- "StreamReadsRequest": {
- "description": "The stream reads request.",
- "id": "StreamReadsRequest",
+ "AnnotationSet": {
+ "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'.",
+ "id": "AnnotationSet",
"properties": {
- "projectId": {
- "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required.",
+ "datasetId": {
+ "description": "The dataset to which this annotation set belongs.",
"type": "string"
},
- "readGroupSetId": {
- "description": "The ID of the read group set from which to stream reads.",
+ "sourceUri": {
+ "description": "The source URI describing the file from which this annotation set was\ngenerated, if any.",
"type": "string"
},
- "referenceName": {
- "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *, only unmapped reads are returned.",
+ "name": {
+ "description": "The display name for this annotation set.",
"type": "string"
},
- "start": {
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified.",
- "format": "int64",
+ "referenceSetId": {
+ "description": "The ID of the reference set that defines the coordinate space for this\nset's annotations.",
"type": "string"
},
- "end": {
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified.",
- "format": "int64",
+ "type": {
+ "description": "The type of annotations contained within this set.",
+ "enum": [
+ "ANNOTATION_TYPE_UNSPECIFIED",
+ "GENERIC",
+ "VARIANT",
+ "GENE",
+ "TRANSCRIPT"
+ ],
+ "enumDescriptions": [
+ "",
+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
+ "A `VARIANT` annotation type.",
+ "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.",
+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
+ ],
"type": "string"
},
- "shard": {
- "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)`.",
- "format": "int32",
- "type": "integer"
- },
- "totalShards": {
- "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.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "StreamReadsResponse": {
- "id": "StreamReadsResponse",
- "properties": {
- "alignments": {
- "items": {
- "$ref": "Read"
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
},
- "type": "array"
+ "description": "A map of additional read alignment information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
+ },
+ "id": {
+ "description": "The server-generated annotation set ID, unique across all annotation sets.",
+ "type": "string"
}
},
"type": "object"
},
- "SearchReferenceSetsRequest": {
- "id": "SearchReferenceSetsRequest",
+ "Experiment": {
+ "id": "Experiment",
"properties": {
- "md5checksums": {
- "description": "If present, return reference sets for which the md5checksum matches exactly.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "accessions": {
- "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`.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "platformUnit": {
+ "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.",
+ "type": "string"
},
- "assemblyId": {
- "description": "If present, return reference sets for which a substring of their `assemblyId` matches this string (case insensitive).",
+ "libraryId": {
+ "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.",
"type": "string"
},
- "pageToken": {
- "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.",
+ "instrumentModel": {
+ "description": "The instrument model used as part of this experiment. This maps to\nsequencing technology in the SAM spec.",
"type": "string"
},
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 4096.",
- "format": "int32",
- "type": "integer"
+ "sequencingCenter": {
+ "description": "The sequencing center used as part of this experiment.",
+ "type": "string"
}
},
"type": "object"
},
- "SearchReferenceSetsResponse": {
- "id": "SearchReferenceSetsResponse",
+ "ListDatasetsResponse": {
+ "description": "The dataset list response.",
+ "id": "ListDatasetsResponse",
"properties": {
- "referenceSets": {
- "description": "The matching references sets.",
+ "datasets": {
+ "description": "The list of matching Datasets.",
"items": {
- "$ref": "ReferenceSet"
+ "$ref": "Dataset"
},
"type": "array"
},
"nextPageToken": {
- "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.",
+ "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.",
"type": "string"
}
},
"type": "object"
},
- "ReferenceSet": {
- "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)",
- "id": "ReferenceSet",
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
"properties": {
- "id": {
- "description": "The server-generated reference set ID, unique across all reference sets.",
- "type": "string"
- },
- "referenceIds": {
- "description": "The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set.",
+ "permissions": {
+ "description": "REQUIRED: The set of permissions to check for the 'resource'.\nPermissions with wildcards (such as '*' or 'storage.*') are not allowed.\nAllowed permissions are&#58;\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`",
"items": {
"type": "string"
},
"type": "array"
- },
- "md5checksum": {
- "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.",
- "type": "string"
- },
- "ncbiTaxonId": {
- "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.",
- "format": "int32",
- "type": "integer"
- },
- "description": {
- "description": "Free text description of this reference set.",
- "type": "string"
- },
- "assemblyId": {
- "description": "Public id of this reference set, such as `GRCh37`.",
+ }
+ },
+ "type": "object"
+ },
+ "ExportReadGroupSetRequest": {
+ "description": "The read group set export request.",
+ "id": "ExportReadGroupSetRequest",
+ "properties": {
+ "projectId": {
+ "description": "Required. The Google Cloud project ID that owns this\nexport. The caller must have WRITE access to this project.",
"type": "string"
},
- "sourceUri": {
- "description": "The URI from which the references were obtained.",
+ "exportUri": {
+ "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.",
"type": "string"
},
- "sourceAccessions": {
- "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`.",
+ "referenceNames": {
+ "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.",
"items": {
"type": "string"
},
@@ -2904,111 +2939,81 @@
},
"type": "object"
},
- "SearchReferencesRequest": {
- "id": "SearchReferencesRequest",
+ "Exon": {
+ "id": "Exon",
"properties": {
- "md5checksums": {
- "description": "If present, return references for which the md5checksum matches exactly.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "accessions": {
- "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`.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "referenceSetId": {
- "description": "If present, return only references which belong to this reference set.",
+ "start": {
+ "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.",
+ "format": "int64",
"type": "string"
},
- "pageToken": {
- "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.",
+ "end": {
+ "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.",
+ "format": "int64",
"type": "string"
},
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 4096.",
+ "frame": {
+ "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.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
- "SearchReferencesResponse": {
- "id": "SearchReferencesResponse",
+ "CallSet": {
+ "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)",
+ "id": "CallSet",
"properties": {
- "references": {
- "description": "The matching references.",
- "items": {
- "$ref": "Reference"
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
},
- "type": "array"
- },
- "nextPageToken": {
- "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.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "Reference": {
- "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)",
- "id": "Reference",
- "properties": {
- "id": {
- "description": "The server-generated reference ID, unique across all references.",
- "type": "string"
- },
- "length": {
- "description": "The length of this reference's sequence.",
- "format": "int64",
- "type": "string"
- },
- "md5checksum": {
- "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.",
- "type": "string"
- },
- "name": {
- "description": "The name of this reference, for example `22`.",
- "type": "string"
- },
- "sourceUri": {
- "description": "The URI from which the sequence was obtained. Typically specifies a FASTA format file.",
- "type": "string"
+ "description": "A map of additional call set information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
+ "type": "object"
},
- "sourceAccessions": {
- "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.",
+ "variantSetIds": {
+ "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).",
"items": {
"type": "string"
},
"type": "array"
},
- "ncbiTaxonId": {
- "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "ListBasesResponse": {
- "id": "ListBasesResponse",
- "properties": {
- "offset": {
- "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.",
+ "id": {
+ "description": "The server-generated call set ID, unique across all call sets.",
+ "type": "string"
+ },
+ "created": {
+ "description": "The date this call set was created in milliseconds from the epoch.",
"format": "int64",
"type": "string"
},
- "sequence": {
- "description": "A substring of the bases that make up this reference.",
+ "sampleId": {
+ "description": "The sample ID this call set corresponds to.",
"type": "string"
},
+ "name": {
+ "description": "The call set name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SearchAnnotationSetsResponse": {
+ "id": "SearchAnnotationSetsResponse",
+ "properties": {
"nextPageToken": {
- "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.",
+ "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.",
"type": "string"
+ },
+ "annotationSets": {
+ "description": "The matching annotation sets.",
+ "items": {
+ "$ref": "AnnotationSet"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -3017,147 +3022,182 @@
"description": "The variant data import request.",
"id": "ImportVariantsRequest",
"properties": {
+ "infoMergeConfig": {
+ "additionalProperties": {
+ "enum": [
+ "INFO_MERGE_OPERATION_UNSPECIFIED",
+ "IGNORE_NEW",
+ "MOVE_TO_CALLS"
+ ],
+ "type": "string"
+ },
+ "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.",
+ "type": "object"
+ },
"variantSetId": {
"description": "Required. The variant set to which variant data should be imported.",
"type": "string"
},
"sourceUris": {
- "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.",
+ "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.",
"items": {
"type": "string"
},
"type": "array"
},
+ "normalizeReferenceNames": {
+ "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\".",
+ "type": "boolean"
+ },
"format": {
- "description": "The format of the variant data being imported. If unspecified, defaults to to `VCF`.",
+ "description": "The format of the variant data being imported. If unspecified, defaults to\nto `VCF`.",
"enum": [
"FORMAT_UNSPECIFIED",
"FORMAT_VCF",
"FORMAT_COMPLETE_GENOMICS"
],
+ "enumDescriptions": [
+ "",
+ "VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is\nalso supported.",
+ "Complete Genomics masterVarBeta format. The masterVarBeta files may\nbe bzip2 compressed."
+ ],
"type": "string"
- },
- "normalizeReferenceNames": {
- "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\".",
- "type": "boolean"
- },
- "infoMergeConfig": {
- "additionalProperties": {
- "enum": [
- "INFO_MERGE_OPERATION_UNSPECIFIED",
- "IGNORE_NEW",
- "MOVE_TO_CALLS"
- ],
- "type": "string"
- },
- "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.",
- "type": "object"
}
},
"type": "object"
},
- "VariantSet": {
- "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)",
- "id": "VariantSet",
+ "VariantAnnotation": {
+ "id": "VariantAnnotation",
"properties": {
- "datasetId": {
- "description": "The dataset to which this variant set belongs.",
- "type": "string"
- },
- "id": {
- "description": "The server-generated variant set ID, unique across all variant sets.",
- "type": "string"
- },
- "referenceSetId": {
- "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.",
- "type": "string"
- },
- "referenceBounds": {
- "description": "A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.",
+ "conditions": {
+ "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health.",
"items": {
- "$ref": "ReferenceBound"
+ "$ref": "ClinicalCondition"
},
"type": "array"
},
- "metadata": {
- "description": "The metadata associated with this variant set.",
+ "effect": {
+ "description": "Effect of the variant on the coding sequence.",
+ "enum": [
+ "EFFECT_UNSPECIFIED",
+ "EFFECT_OTHER",
+ "FRAMESHIFT",
+ "FRAME_PRESERVING_INDEL",
+ "SYNONYMOUS_SNP",
+ "NONSYNONYMOUS_SNP",
+ "STOP_GAIN",
+ "STOP_LOSS",
+ "SPLICE_SITE_DISRUPTION"
+ ],
+ "enumDescriptions": [
+ "",
+ "`EFFECT_OTHER` should be used when no other Effect\nwill suffice.",
+ "`FRAMESHIFT` indicates a mutation in which the insertion or\ndeletion of nucleotides resulted in a frameshift change.",
+ "`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.",
+ "`SYNONYMOUS_SNP` indicates a single nucleotide polymorphism\nmutation that results in no amino acid change.",
+ "`NONSYNONYMOUS_SNP` indicates a single nucleotide\npolymorphism mutation that results in an amino acid change.",
+ "`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`.",
+ "`STOP_LOSS` indicates a mutation that eliminates a\nstop codon at the variant site.",
+ "`SPLICE_SITE_DISRUPTION` indicates that this variant is\nfound in a splice site for the associated transcript, and alters the\nnormal splicing pattern."
+ ],
+ "type": "string"
+ },
+ "transcriptIds": {
+ "description": "Google annotation IDs of the transcripts affected by this variant. These\nshould be provided when the variant is created.",
"items": {
- "$ref": "VariantSetMetadata"
+ "type": "string"
},
"type": "array"
},
- "name": {
- "description": "User-specified, mutable name.",
+ "type": {
+ "description": "Type has been adapted from ClinVar's list of variant types.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "TYPE_OTHER",
+ "INSERTION",
+ "DELETION",
+ "SUBSTITUTION",
+ "SNP",
+ "STRUCTURAL",
+ "CNV"
+ ],
+ "enumDescriptions": [
+ "",
+ "`TYPE_OTHER` should be used when no other Type will suffice.\nFurther explanation of the variant type may be included in the\ninfo field.",
+ "`INSERTION` indicates an insertion.",
+ "`DELETION` indicates a deletion.",
+ "`SUBSTITUTION` indicates a block substitution of\ntwo or more nucleotides.",
+ "`SNP` indicates a single nucleotide polymorphism.",
+ "`STRUCTURAL` indicates a large structural variant,\nincluding chromosomal fusions, inversions, etc.",
+ "`CNV` indicates a variation in copy number."
+ ],
"type": "string"
},
- "description": {
- "description": "A textual description of this variant set.",
+ "alternateBases": {
+ "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.",
"type": "string"
- }
- },
- "type": "object"
- },
- "ReferenceBound": {
- "description": "ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.",
- "id": "ReferenceBound",
- "properties": {
- "referenceName": {
- "description": "The name of the reference associated with this reference bound.",
+ },
+ "geneId": {
+ "description": "Google annotation ID of the gene affected by this variant. This should\nbe provided when the variant is created.",
"type": "string"
},
- "upperBound": {
- "description": "An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.",
- "format": "int64",
+ "clinicalSignificance": {
+ "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/",
+ "enum": [
+ "CLINICAL_SIGNIFICANCE_UNSPECIFIED",
+ "CLINICAL_SIGNIFICANCE_OTHER",
+ "UNCERTAIN",
+ "BENIGN",
+ "LIKELY_BENIGN",
+ "LIKELY_PATHOGENIC",
+ "PATHOGENIC",
+ "DRUG_RESPONSE",
+ "HISTOCOMPATIBILITY",
+ "CONFERS_SENSITIVITY",
+ "RISK_FACTOR",
+ "ASSOCIATION",
+ "PROTECTIVE",
+ "MULTIPLE_REPORTED"
+ ],
+ "enumDescriptions": [
+ "",
+ "`OTHER` should be used when no other clinical significance\nvalue will suffice.",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "`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."
+ ],
"type": "string"
}
},
"type": "object"
},
- "VariantSetMetadata": {
- "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.",
- "id": "VariantSetMetadata",
+ "ListCoverageBucketsResponse": {
+ "id": "ListCoverageBucketsResponse",
"properties": {
- "key": {
- "description": "The top-level key.",
- "type": "string"
- },
- "value": {
- "description": "The value field for simple metadata",
- "type": "string"
- },
- "id": {
- "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.",
- "type": "string"
- },
- "type": {
- "description": "The type of data. Possible types include: Integer, Float, Flag, Character, and String.",
- "enum": [
- "TYPE_UNSPECIFIED",
- "INTEGER",
- "FLOAT",
- "FLAG",
- "CHARACTER",
- "STRING"
- ],
- "type": "string"
+ "coverageBuckets": {
+ "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.",
+ "items": {
+ "$ref": "CoverageBucket"
+ },
+ "type": "array"
},
- "number": {
- "description": "The number of values that can be included in a field described by this metadata.",
+ "nextPageToken": {
+ "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.",
"type": "string"
},
- "description": {
- "description": "A textual description of this metadata.",
+ "bucketWidth": {
+ "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`).",
+ "format": "int64",
"type": "string"
- },
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
}
},
"type": "object"
@@ -3166,374 +3206,355 @@
"description": "The variant data export request.",
"id": "ExportVariantSetRequest",
"properties": {
- "callSetIds": {
- "description": "If provided, only variant call information from the specified call sets will be exported. By default all variant calls are exported.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "projectId": {
- "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.",
- "type": "string"
- },
"format": {
"description": "The format for the exported data.",
"enum": [
"FORMAT_UNSPECIFIED",
"FORMAT_BIGQUERY"
],
+ "enumDescriptions": [
+ "",
+ "Export the data to Google BigQuery."
+ ],
"type": "string"
},
"bigqueryDataset": {
- "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\".",
+ "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\".",
"type": "string"
},
"bigqueryTable": {
- "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.",
+ "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.",
"type": "string"
- }
- },
- "type": "object"
- },
- "SearchVariantSetsRequest": {
- "description": "The search variant sets request.",
- "id": "SearchVariantSetsRequest",
- "properties": {
- "datasetIds": {
- "description": "Exactly one dataset ID must be provided here. Only variant sets which belong to this dataset will be returned.",
+ },
+ "callSetIds": {
+ "description": "If provided, only variant call information from the specified call sets\nwill be exported. By default all variant calls are exported.",
"items": {
"type": "string"
},
"type": "array"
},
- "pageToken": {
- "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.",
+ "projectId": {
+ "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.",
"type": "string"
- },
- "pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
},
- "SearchVariantSetsResponse": {
- "description": "The search variant sets response.",
- "id": "SearchVariantSetsResponse",
+ "SearchAnnotationsRequest": {
+ "id": "SearchAnnotationsRequest",
"properties": {
- "variantSets": {
- "description": "The variant sets belonging to the requested dataset.",
- "items": {
- "$ref": "VariantSet"
- },
- "type": "array"
- },
- "nextPageToken": {
- "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.",
+ "end": {
+ "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.",
+ "format": "int64",
"type": "string"
- }
- },
- "type": "object"
- },
- "SearchVariantsRequest": {
- "description": "The variant search request.",
- "id": "SearchVariantsRequest",
- "properties": {
- "variantSetIds": {
- "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.",
- "items": {
- "type": "string"
- },
- "type": "array"
},
- "variantName": {
- "description": "Only return variants which have exactly this name.",
+ "pageToken": {
+ "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.",
"type": "string"
},
- "callSetIds": {
- "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.",
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "start": {
+ "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified,\nreferenceId or\nreferenceName\nmust be specified. Defaults to 0.",
+ "format": "int64",
+ "type": "string"
+ },
+ "annotationSetIds": {
+ "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.",
"items": {
"type": "string"
},
"type": "array"
},
"referenceName": {
- "description": "Required. Only return variants in this reference sequence.",
+ "description": "The name of the reference to query, within the reference set associated\nwith this query.",
"type": "string"
},
- "start": {
- "description": "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. If unspecified, defaults to 0.",
- "format": "int64",
+ "referenceId": {
+ "description": "The ID of the reference to query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationEvent": {
+ "description": "An event that occurred during an Operation.",
+ "id": "OperationEvent",
+ "properties": {
+ "endTime": {
+ "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.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "Optional time of when event started.",
+ "format": "google-datetime",
"type": "string"
},
+ "description": {
+ "description": "Required description of event.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CodingSequence": {
+ "id": "CodingSequence",
+ "properties": {
"end": {
- "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to the length of the reference.",
+ "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.",
"format": "int64",
"type": "string"
},
- "pageToken": {
- "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.",
+ "start": {
+ "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.",
+ "format": "int64",
"type": "string"
- },
- "pageSize": {
- "description": "The maximum number of variants to return in a single page. If unspecified, defaults to 5000. The maximum value is 10000.",
- "format": "int32",
- "type": "integer"
- },
- "maxCalls": {
- "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.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
},
- "SearchVariantsResponse": {
- "description": "The variant search response.",
- "id": "SearchVariantsResponse",
+ "SearchReferencesResponse": {
+ "id": "SearchReferencesResponse",
"properties": {
- "variants": {
- "description": "The list of matching Variants.",
+ "references": {
+ "description": "The matching references.",
"items": {
- "$ref": "Variant"
+ "$ref": "Reference"
},
"type": "array"
},
"nextPageToken": {
- "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.",
+ "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.",
"type": "string"
}
},
"type": "object"
},
- "Variant": {
- "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.",
- "id": "Variant",
+ "GetIamPolicyRequest": {
+ "description": "Request message for `GetIamPolicy` method.",
+ "id": "GetIamPolicyRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
"properties": {
- "variantSetId": {
- "description": "The ID of the variant set this variant belongs to.",
- "type": "string"
- },
- "id": {
- "description": "The server-generated variant ID, unique across all variants.",
- "type": "string"
- },
- "names": {
- "description": "Names for the variant, for example a RefSNP ID.",
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.",
"items": {
"type": "string"
},
"type": "array"
- },
- "created": {
- "description": "The date this variant was created, in milliseconds from the epoch.",
- "format": "int64",
- "type": "string"
- },
- "referenceName": {
- "description": "The reference on which this variant occurs. (such as `chr20` or `X`)",
- "type": "string"
- },
- "start": {
- "description": "The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.",
- "format": "int64",
- "type": "string"
- },
- "end": {
- "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.",
- "format": "int64",
+ }
+ },
+ "type": "object"
+ },
+ "SearchAnnotationSetsRequest": {
+ "id": "SearchAnnotationSetsRequest",
+ "properties": {
+ "pageToken": {
+ "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.",
"type": "string"
},
- "referenceBases": {
- "description": "The reference bases for this variant. They start at the given position.",
- "type": "string"
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 128. The maximum value is 1024.",
+ "format": "int32",
+ "type": "integer"
},
- "alternateBases": {
- "description": "The bases that appear instead of the reference bases.",
+ "datasetIds": {
+ "description": "Required. The dataset IDs to search within. Caller must have `READ` access\nto these datasets.",
"items": {
"type": "string"
},
"type": "array"
},
- "quality": {
- "description": "A measure of how likely this variant is to be real. A higher value is better.",
- "format": "double",
- "type": "number"
- },
- "filter": {
- "description": "A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.",
+ "types": {
+ "description": "If specified, only annotation sets that have any of these types are\nreturned.",
+ "enumDescriptions": [
+ "",
+ "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.",
+ "A `VARIANT` annotation type.",
+ "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.",
+ "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA."
+ ],
"items": {
+ "enum": [
+ "ANNOTATION_TYPE_UNSPECIFIED",
+ "GENERIC",
+ "VARIANT",
+ "GENE",
+ "TRANSCRIPT"
+ ],
"type": "string"
},
"type": "array"
},
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "A map of additional variant information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
+ "name": {
+ "description": "Only return annotations sets for which a substring of the name matches this\nstring (case insensitive).",
+ "type": "string"
},
- "calls": {
- "description": "The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.",
- "items": {
- "$ref": "VariantCall"
- },
- "type": "array"
+ "referenceSetId": {
+ "description": "If specified, only annotation sets associated with the given reference set\nare returned.",
+ "type": "string"
}
},
"type": "object"
},
- "VariantCall": {
- "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.",
- "id": "VariantCall",
+ "SearchReadGroupSetsResponse": {
+ "description": "The read group set search response.",
+ "id": "SearchReadGroupSetsResponse",
"properties": {
- "callSetId": {
- "description": "The ID of the call set this variant call belongs to.",
- "type": "string"
- },
- "callSetName": {
- "description": "The name of the call set this variant call belongs to.",
- "type": "string"
- },
- "genotype": {
- "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.",
- "items": {
- "format": "int32",
- "type": "integer"
- },
- "type": "array"
- },
- "phaseset": {
- "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 `*`.",
+ "nextPageToken": {
+ "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.",
"type": "string"
},
- "genotypeLikelihood": {
- "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`.",
+ "readGroupSets": {
+ "description": "The list of matching read group sets.",
"items": {
- "format": "double",
- "type": "number"
+ "$ref": "ReadGroupSet"
},
"type": "array"
- },
- "info": {
- "additionalProperties": {
- "items": {
- "type": "any"
- },
- "type": "array"
- },
- "description": "A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).",
- "type": "object"
}
},
"type": "object"
},
- "MergeVariantsRequest": {
- "id": "MergeVariantsRequest",
+ "LinearAlignment": {
+ "description": "A linear alignment can be represented by one CIGAR string. Describes the\nmapped position and local alignment of the read to the reference.",
+ "id": "LinearAlignment",
"properties": {
- "variantSetId": {
- "description": "The destination variant set.",
- "type": "string"
+ "mappingQuality": {
+ "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.",
+ "format": "int32",
+ "type": "integer"
},
- "variants": {
- "description": "The variants to be merged with existing variants.",
+ "position": {
+ "$ref": "Position",
+ "description": "The position of this alignment."
+ },
+ "cigar": {
+ "description": "Represents the local alignment of this sequence (alignment matches, indels,\netc) against the reference.",
"items": {
- "$ref": "Variant"
+ "$ref": "CigarUnit"
},
"type": "array"
- },
- "infoMergeConfig": {
- "additionalProperties": {
- "enum": [
- "INFO_MERGE_OPERATION_UNSPECIFIED",
- "IGNORE_NEW",
- "MOVE_TO_CALLS"
- ],
- "type": "string"
- },
- "description": "A mapping between info field keys and the InfoMergeOperations to be performed on them.",
- "type": "object"
}
},
"type": "object"
},
- "SearchCallSetsRequest": {
- "description": "The call set search request.",
- "id": "SearchCallSetsRequest",
+ "SearchReferencesRequest": {
+ "id": "SearchReferencesRequest",
"properties": {
- "variantSetIds": {
- "description": "Restrict the query to call sets within the given variant sets. At least one ID must be provided.",
+ "md5checksums": {
+ "description": "If present, return references for which the\nmd5checksum matches exactly.",
"items": {
"type": "string"
},
"type": "array"
},
- "name": {
- "description": "Only return call sets for which a substring of the name matches this string.",
- "type": "string"
+ "accessions": {
+ "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`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
"pageToken": {
- "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.",
+ "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.",
+ "type": "string"
+ },
+ "referenceSetId": {
+ "description": "If present, return only references which belong to this reference set.",
"type": "string"
},
"pageSize": {
- "description": "The maximum number of results to return in a single page. If unspecified, defaults to 1024.",
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
- "SearchCallSetsResponse": {
- "description": "The call set search response.",
- "id": "SearchCallSetsResponse",
+ "Dataset": {
+ "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)",
+ "id": "Dataset",
+ "properties": {
+ "projectId": {
+ "description": "The Google Cloud project ID that this dataset belongs to.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The server-generated dataset ID, unique across all datasets.",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "The time this dataset was created, in seconds from the epoch.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "description": "The dataset name.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ImportVariantsResponse": {
+ "description": "The variant data import response.",
+ "id": "ImportVariantsResponse",
"properties": {
- "callSets": {
- "description": "The list of matching call sets.",
+ "callSetIds": {
+ "description": "IDs of the call sets created during the import.",
"items": {
- "$ref": "CallSet"
+ "type": "string"
},
"type": "array"
- },
- "nextPageToken": {
- "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.",
- "type": "string"
}
},
"type": "object"
},
- "CallSet": {
- "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)",
- "id": "CallSet",
+ "ReadGroup": {
+ "description": "A read group is all the data that's processed the same way by the sequencer.",
+ "id": "ReadGroup",
"properties": {
- "id": {
- "description": "The server-generated call set ID, unique across all call sets.",
- "type": "string"
+ "predictedInsertSize": {
+ "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.",
+ "format": "int32",
+ "type": "integer"
},
- "name": {
- "description": "The call set name.",
+ "programs": {
+ "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.",
+ "items": {
+ "$ref": "Program"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "A free-form text description of this read group.",
"type": "string"
},
"sampleId": {
- "description": "The sample ID this call set corresponds to.",
+ "description": "A client-supplied sample identifier for the reads in this read group.",
"type": "string"
},
- "variantSetIds": {
- "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).",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "datasetId": {
+ "description": "The dataset to which this read group belongs.",
+ "type": "string"
},
- "created": {
- "description": "The date this call set was created in milliseconds from the epoch.",
- "format": "int64",
+ "experiment": {
+ "$ref": "Experiment",
+ "description": "The experiment used to generate this read group."
+ },
+ "name": {
+ "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.",
+ "type": "string"
+ },
+ "referenceSetId": {
+ "description": "The reference set the reads in this read group are aligned to.",
"type": "string"
},
"info": {
@@ -3543,193 +3564,190 @@
},
"type": "array"
},
- "description": "A map of additional call set information. This must be of the form map (string key mapping to a list of string values).",
+ "description": "A map of additional read group information. This must be of the form\nmap<string, string[]> (string key mapping to a list of string values).",
"type": "object"
+ },
+ "id": {
+ "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.",
+ "type": "string"
}
},
"type": "object"
},
- "StreamVariantsRequest": {
- "description": "The stream variants request.",
- "id": "StreamVariantsRequest",
+ "ReadGroupSet": {
+ "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)",
+ "id": "ReadGroupSet",
"properties": {
- "projectId": {
- "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required.",
+ "datasetId": {
+ "description": "The dataset to which this read group set belongs.",
"type": "string"
},
- "variantSetId": {
- "description": "The variant set ID from which to stream variants.",
+ "filename": {
+ "description": "The filename of the original source file for this read group set, if any.",
"type": "string"
},
- "callSetIds": {
- "description": "Only return variant calls which belong to call sets with these IDs. Leaving this blank returns all variant calls.",
+ "readGroups": {
+ "description": "The read groups in this set. There are typically 1-10 read groups in a read\ngroup set.",
"items": {
- "type": "string"
+ "$ref": "ReadGroup"
},
"type": "array"
},
- "referenceName": {
- "description": "Required. Only return variants in this reference sequence.",
+ "name": {
+ "description": "The read group set name. By default this will be initialized to the sample\nname of the sequenced data contained in this set.",
"type": "string"
},
- "start": {
- "description": "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned.",
- "format": "int64",
+ "referenceSetId": {
+ "description": "The reference set to which the reads in this read group set are aligned.",
"type": "string"
},
- "end": {
- "description": "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
- "format": "int64",
+ "info": {
+ "additionalProperties": {
+ "items": {
+ "type": "any"
+ },
+ "type": "array"
+ },
+ "description": "A map of additional read group set information.",
+ "type": "object"
+ },
+ "id": {
+ "description": "The server-generated read group set ID, unique for all read group sets.",
"type": "string"
}
},
"type": "object"
},
- "StreamVariantsResponse": {
- "id": "StreamVariantsResponse",
+ "SearchVariantSetsResponse": {
+ "description": "The search variant sets response.",
+ "id": "SearchVariantSetsResponse",
"properties": {
- "variants": {
+ "variantSets": {
+ "description": "The variant sets belonging to the requested dataset.",
"items": {
- "$ref": "Variant"
+ "$ref": "VariantSet"
},
"type": "array"
+ },
+ "nextPageToken": {
+ "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.",
+ "type": "string"
}
},
"type": "object"
},
- "ImportReadGroupSetsResponse": {
- "description": "The read group set import response.",
- "id": "ImportReadGroupSetsResponse",
- "properties": {
- "readGroupSetIds": {
- "description": "IDs of the read group sets that were created.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
+ "Empty": {
+ "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 `{}`.",
+ "id": "Empty",
+ "properties": {},
"type": "object"
},
- "ImportVariantsResponse": {
- "description": "The variant data import response.",
- "id": "ImportVariantsResponse",
+ "Entry": {
+ "id": "Entry",
"properties": {
- "callSetIds": {
- "description": "IDs of the call sets created during the import.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "status": {
+ "$ref": "Status",
+ "description": "The creation status."
+ },
+ "annotation": {
+ "$ref": "Annotation",
+ "description": "The created annotation, if creation was successful."
}
},
"type": "object"
},
- "OperationMetadata": {
- "description": "Metadata describing an Operation.",
- "id": "OperationMetadata",
+ "Position": {
+ "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.",
+ "id": "Position",
"properties": {
- "projectId": {
- "description": "The Google Cloud Project in which the job is scoped.",
- "type": "string"
- },
- "createTime": {
- "description": "The time at which the job was submitted to the Genomics service.",
- "type": "string"
- },
- "startTime": {
- "description": "The time at which the job began to run.",
+ "position": {
+ "description": "The 0-based offset from the start of the forward strand for that reference.",
+ "format": "int64",
"type": "string"
},
- "endTime": {
- "description": "The time at which the job stopped running.",
+ "referenceName": {
+ "description": "The name of the reference in whatever reference set is being used.",
"type": "string"
},
- "request": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "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.",
- "type": "object"
- },
- "events": {
- "description": "Optional event messages that were generated during the job's execution. This also contains any warnings that were generated during import or export.",
+ "reverseStrand": {
+ "description": "Whether this position is on the reverse strand, as opposed to the forward\nstrand.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "SearchReferenceSetsResponse": {
+ "id": "SearchReferenceSetsResponse",
+ "properties": {
+ "referenceSets": {
+ "description": "The matching references sets.",
"items": {
- "$ref": "OperationEvent"
+ "$ref": "ReferenceSet"
},
"type": "array"
},
- "clientId": {
- "description": "This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation.",
+ "nextPageToken": {
+ "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.",
"type": "string"
- },
- "runtimeMetadata": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "description": "Runtime metadata on this Operation.",
- "type": "object"
- },
- "labels": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Optionally provided by the caller when submitting the request that creates the operation.",
- "type": "object"
}
},
"type": "object"
},
- "OperationEvent": {
- "description": "An event that occurred during an Operation.",
- "id": "OperationEvent",
+ "SearchCallSetsRequest": {
+ "description": "The call set search request.",
+ "id": "SearchCallSetsRequest",
"properties": {
- "startTime": {
- "description": "Optional time of when event started.",
+ "name": {
+ "description": "Only return call sets for which a substring of the name matches this\nstring.",
"type": "string"
},
- "endTime": {
- "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.",
+ "pageToken": {
+ "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.",
"type": "string"
},
- "description": {
- "description": "Required description of event.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "RuntimeMetadata": {
- "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.",
- "id": "RuntimeMetadata",
- "properties": {
- "computeEngine": {
- "$ref": "ComputeEngine",
- "description": "Execution information specific to Google Compute Engine."
+ "pageSize": {
+ "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "variantSetIds": {
+ "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "ComputeEngine": {
- "description": "Describes a Compute Engine resource that is being managed by a running pipeline.",
- "id": "ComputeEngine",
+ "ImportReadGroupSetsRequest": {
+ "description": "The read group set import request.",
+ "id": "ImportReadGroupSetsRequest",
"properties": {
- "instanceName": {
- "description": "The instance on which the operation is running.",
+ "referenceSetId": {
+ "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.",
"type": "string"
},
- "zone": {
- "description": "The availability zone in which the instance resides.",
+ "partitionStrategy": {
+ "description": "The partition strategy describes how read groups are partitioned into read\ngroup sets.",
+ "enum": [
+ "PARTITION_STRATEGY_UNSPECIFIED",
+ "PER_FILE_PER_SAMPLE",
+ "MERGE_ALL"
+ ],
+ "enumDescriptions": [
+ "",
+ "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.",
+ "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."
+ ],
"type": "string"
},
- "machineType": {
- "description": "The machine type of the instance.",
+ "datasetId": {
+ "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset.",
"type": "string"
},
- "diskNames": {
- "description": "The names of the disks that were created for this pipeline.",
+ "sourceUris": {
+ "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.",
"items": {
"type": "string"
},
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/gmail__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698