Index: discovery/googleapis/genomics__v1.json |
diff --git a/discovery/googleapis_beta/genomics__v1beta2.json b/discovery/googleapis/genomics__v1.json |
similarity index 54% |
copy from discovery/googleapis_beta/genomics__v1beta2.json |
copy to discovery/googleapis/genomics__v1.json |
index 051f537b44e0c1513710e0306e38b9b6b5cd490e..7c994ec8acb405dc59eb0a9ddac0d04edc0c299c 100644 |
--- a/discovery/googleapis_beta/genomics__v1beta2.json |
+++ b/discovery/googleapis/genomics__v1.json |
@@ -20,35 +20,49 @@ |
} |
} |
}, |
- "basePath": "/genomics/v1beta2/", |
- "baseUrl": "https://www.googleapis.com/genomics/v1beta2/", |
+ "basePath": "", |
+ "baseUrl": "https://genomics.googleapis.com/", |
"batchPath": "batch", |
- "description": "Provides access to Genomics data.", |
+ "description": "An API to store, process, explore, and share DNA sequence reads, reference-based alignments, and variant calls.", |
"discoveryVersion": "v1", |
- "documentationLink": "https://developers.google.com/genomics/v1beta2/reference", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Rb7-9Pk3C2nyGTw9tsYHv2nAxPQ\"", |
+ "documentationLink": "", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/XILvP_efgPuxb7JT-rkhdFInZts\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
}, |
- "id": "genomics:v1beta2", |
+ "id": "genomics:v1", |
"kind": "discovery#restDescription", |
"name": "genomics", |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
- "description": "Data format for the response.", |
- "enum": [ |
- "json" |
- ], |
+ "description": "Data format for response.", |
"enumDescriptions": [ |
- "Responses with Content-Type of application/json" |
+ "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" |
}, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"fields": { |
"description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
@@ -64,6 +78,12 @@ |
"location": "query", |
"type": "string" |
}, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
"prettyPrint": { |
"default": "true", |
"description": "Returns response with indentations and line breaks.", |
@@ -71,75 +91,100 @@ |
"type": "boolean" |
}, |
"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. Overrides userIp if both are provided.", |
+ "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" |
+ }, |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "userIp": { |
- "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
"location": "query", |
"type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
- "annotationSets": { |
+ "datasets": { |
"methods": { |
- "create": { |
- "description": "Creates a new annotation set. Caller must have WRITE permission for the associated dataset.", |
- "httpMethod": "POST", |
- "id": "genomics.annotationSets.create", |
- "path": "annotationSets", |
- "request": { |
- "$ref": "AnnotationSet" |
+ "list": { |
+ "description": "Lists datasets within a project.", |
+ "httpMethod": "GET", |
+ "id": "genomics.datasets.list", |
+ "parameters": { |
+ "projectId": { |
+ "description": "Required. The project to list datasets for.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "The maximum number of results returned by this request. 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": "AnnotationSet" |
+ "$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" |
] |
}, |
- "delete": { |
- "description": "Deletes an annotation set. Caller must have WRITE permission for 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" |
- } |
+ "create": { |
+ "description": "Creates a new dataset.", |
+ "httpMethod": "POST", |
+ "id": "genomics.datasets.create", |
+ "path": "v1/datasets", |
+ "request": { |
+ "$ref": "Dataset" |
+ }, |
+ "response": { |
+ "$ref": "Dataset" |
}, |
- "path": "annotationSets/{annotationSetId}", |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
"get": { |
- "description": "Gets an annotation set. Caller must have READ permission for the associated dataset.", |
+ "description": "Gets a dataset by ID.", |
"httpMethod": "GET", |
- "id": "genomics.annotationSets.get", |
+ "id": "genomics.datasets.get", |
"parameterOrder": [ |
- "annotationSetId" |
+ "datasetId" |
], |
"parameters": { |
- "annotationSetId": { |
- "description": "The ID of the annotation set to be retrieved.", |
+ "datasetId": { |
+ "description": "The ID of the dataset.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "annotationSets/{annotationSetId}", |
+ "path": "v1/datasets/{datasetId}", |
"response": { |
- "$ref": "AnnotationSet" |
+ "$ref": "Dataset" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -148,70 +193,82 @@ |
] |
}, |
"patch": { |
- "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. This method supports patch semantics.", |
+ "description": "Updates a dataset. This method supports patch semantics.", |
"httpMethod": "PATCH", |
- "id": "genomics.annotationSets.patch", |
+ "id": "genomics.datasets.patch", |
"parameterOrder": [ |
- "annotationSetId" |
+ "datasetId" |
], |
"parameters": { |
- "annotationSetId": { |
- "description": "The ID of the annotation set to be updated.", |
+ "datasetId": { |
+ "description": "The ID of the dataset 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][google.genomics.v1.Dataset.name]. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "annotationSets/{annotationSetId}", |
+ "path": "v1/datasets/{datasetId}", |
"request": { |
- "$ref": "AnnotationSet" |
+ "$ref": "Dataset" |
}, |
"response": { |
- "$ref": "AnnotationSet" |
+ "$ref": "Dataset" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
- "search": { |
- "description": "Searches for annotation sets that match the given criteria. Results are returned in a deterministic order. Caller must have READ permission for the queried datasets.", |
- "httpMethod": "POST", |
- "id": "genomics.annotationSets.search", |
- "path": "annotationSets/search", |
- "request": { |
- "$ref": "SearchAnnotationSetsRequest" |
+ "delete": { |
+ "description": "Deletes a dataset.", |
+ "httpMethod": "DELETE", |
+ "id": "genomics.datasets.delete", |
+ "parameterOrder": [ |
+ "datasetId" |
+ ], |
+ "parameters": { |
+ "datasetId": { |
+ "description": "The ID of the dataset to be deleted.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
}, |
+ "path": "v1/datasets/{datasetId}", |
"response": { |
- "$ref": "SearchAnnotationSetsResponse" |
+ "$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" |
] |
}, |
- "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", |
+ "undelete": { |
+ "description": "Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.", |
+ "httpMethod": "POST", |
+ "id": "genomics.datasets.undelete", |
"parameterOrder": [ |
- "annotationSetId" |
+ "datasetId" |
], |
"parameters": { |
- "annotationSetId": { |
- "description": "The ID of the annotation set to be updated.", |
+ "datasetId": { |
+ "description": "The ID of the dataset to be undeleted.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "annotationSets/{annotationSetId}", |
+ "path": "v1/datasets/{datasetId}:undelete", |
"request": { |
- "$ref": "AnnotationSet" |
+ "$ref": "UndeleteDatasetRequest" |
}, |
"response": { |
- "$ref": "AnnotationSet" |
+ "$ref": "Dataset" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -220,123 +277,186 @@ |
} |
} |
}, |
- "annotations": { |
+ "operations": { |
"methods": { |
- "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.\n\n\nIf 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.", |
- "httpMethod": "POST", |
- "id": "genomics.annotations.batchCreate", |
- "path": "annotations:batchCreate", |
- "request": { |
- "$ref": "BatchCreateAnnotationsRequest" |
+ "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.", |
+ "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": "BatchAnnotationsResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
- "create": { |
- "description": "Creates a new annotation. Caller must have WRITE permission for the associated annotation set.", |
- "httpMethod": "POST", |
- "id": "genomics.annotations.create", |
- "path": "annotations", |
- "request": { |
- "$ref": "Annotation" |
+ "list": { |
+ "description": "Lists operations that match the specified filter in the request.", |
+ "httpMethod": "GET", |
+ "id": "genomics.operations.list", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The name of the operation collection.", |
+ "location": "path", |
+ "pattern": "^operations$", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "filter": { |
+ "description": "A string for filtering [Operations][google.longrunning.Operation]. The following filter fields are supported: * projectId: Required. Corresponds to [OperationMetadata.projectId][google.genomics.v1.OperationMetadata.project_id]. * 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`", |
+ "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", |
+ "type": "string" |
+ } |
}, |
+ "path": "v1/{+name}", |
"response": { |
- "$ref": "Annotation" |
+ "$ref": "ListOperationsResponse" |
}, |
"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", |
+ "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][google.longrunning.Operations.GetOperation] or [Operations.ListOperations][google.longrunning.Operations.ListOperations] to check whether the cancellation succeeded or the operation completed despite cancellation.", |
+ "httpMethod": "POST", |
+ "id": "genomics.operations.cancel", |
"parameterOrder": [ |
- "annotationId" |
+ "name" |
], |
"parameters": { |
- "annotationId": { |
- "description": "The ID of the annotation set to be deleted.", |
+ "name": { |
+ "description": "The name of the operation resource to be cancelled.", |
"location": "path", |
+ "pattern": "^operations/.*$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "annotations/{annotationId}", |
+ "path": "v1/{+name}:cancel", |
+ "request": { |
+ "$ref": "CancelOperationRequest" |
+ }, |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
- "get": { |
- "description": "Gets an annotation. Caller must have READ permission for the associated annotation set.", |
- "httpMethod": "GET", |
- "id": "genomics.annotations.get", |
+ "delete": { |
+ "description": "This method is not implemented. To cancel an operation, please use [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].", |
+ "httpMethod": "DELETE", |
+ "id": "genomics.operations.delete", |
"parameterOrder": [ |
- "annotationId" |
+ "name" |
], |
"parameters": { |
- "annotationId": { |
- "description": "The ID of the annotation set to be retrieved.", |
+ "name": { |
+ "description": "The name of the operation resource to be deleted.", |
"location": "path", |
+ "pattern": "^operations/.*$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "annotations/{annotationId}", |
+ "path": "v1/{+name}", |
"response": { |
- "$ref": "Annotation" |
+ "$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" |
+ ] |
+ } |
+ } |
+ }, |
+ "readgroupsets": { |
+ "methods": { |
+ "import": { |
+ "description": "Creates read group sets by asynchronously importing the provided information. Note that currently comments in the input file header are **not** imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.", |
+ "httpMethod": "POST", |
+ "id": "genomics.readgroupsets.import", |
+ "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" |
] |
}, |
- "patch": { |
- "description": "Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset. This method supports patch semantics.", |
- "httpMethod": "PATCH", |
- "id": "genomics.annotations.patch", |
+ "export": { |
+ "description": "Exports a read group set to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.", |
+ "httpMethod": "POST", |
+ "id": "genomics.readgroupsets.export", |
"parameterOrder": [ |
- "annotationId" |
+ "readGroupSetId" |
], |
"parameters": { |
- "annotationId": { |
- "description": "The ID of the annotation set to be updated.", |
+ "readGroupSetId": { |
+ "description": "Required. The ID of the read group set to export.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "annotations/{annotationId}", |
+ "path": "v1/readgroupsets/{readGroupSetId}:export", |
"request": { |
- "$ref": "Annotation" |
+ "$ref": "ExportReadGroupSetRequest" |
}, |
"response": { |
- "$ref": "Annotation" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"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 annotations that match the given criteria. Results are returned ordered by start position. Annotations that have matching start positions are ordered deterministically. Caller must have READ permission for the queried annotation sets.", |
+ "description": "Searches for read group sets matching the criteria. Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).", |
"httpMethod": "POST", |
- "id": "genomics.annotations.search", |
- "path": "annotations/search", |
+ "id": "genomics.readgroupsets.search", |
+ "path": "v1/readgroupsets/search", |
"request": { |
- "$ref": "SearchAnnotationsRequest" |
+ "$ref": "SearchReadGroupSetsRequest" |
}, |
"response": { |
- "$ref": "SearchAnnotationsResponse" |
+ "$ref": "SearchReadGroupSetsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -344,47 +464,32 @@ |
"https://www.googleapis.com/auth/genomics.readonly" |
] |
}, |
- "update": { |
- "description": "Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset.", |
- "httpMethod": "PUT", |
- "id": "genomics.annotations.update", |
+ "patch": { |
+ "description": "Updates a read group set. This method supports patch semantics.", |
+ "httpMethod": "PATCH", |
+ "id": "genomics.readgroupsets.patch", |
"parameterOrder": [ |
- "annotationId" |
+ "readGroupSetId" |
], |
"parameters": { |
- "annotationId": { |
- "description": "The ID of the annotation set to be updated.", |
+ "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.", |
"location": "path", |
"required": true, |
"type": "string" |
+ }, |
+ "updateMask": { |
+ "description": "An optional mask specifying which fields to update. At this time, mutable fields are [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id] and [name][google.genomics.v1.ReadGroupSet.name]. Acceptable values are \"referenceSetId\" and \"name\". If unspecified, all mutable fields will be updated.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "annotations/{annotationId}", |
- "request": { |
- "$ref": "Annotation" |
- }, |
- "response": { |
- "$ref": "Annotation" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- } |
- } |
- }, |
- "callsets": { |
- "methods": { |
- "create": { |
- "description": "Creates a new call set.", |
- "httpMethod": "POST", |
- "id": "genomics.callsets.create", |
- "path": "callsets", |
+ "path": "v1/readgroupsets/{readGroupSetId}", |
"request": { |
- "$ref": "CallSet" |
+ "$ref": "ReadGroupSet" |
}, |
"response": { |
- "$ref": "CallSet" |
+ "$ref": "ReadGroupSet" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -392,88 +497,154 @@ |
] |
}, |
"delete": { |
- "description": "Deletes a call set.", |
+ "description": "Deletes a read group set.", |
"httpMethod": "DELETE", |
- "id": "genomics.callsets.delete", |
+ "id": "genomics.readgroupsets.delete", |
"parameterOrder": [ |
- "callSetId" |
+ "readGroupSetId" |
], |
"parameters": { |
- "callSetId": { |
- "description": "The ID of the call set to be deleted.", |
+ "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.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "callsets/{callSetId}", |
+ "path": "v1/readgroupsets/{readGroupSetId}", |
+ "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.", |
+ "description": "Gets a read group set by ID.", |
"httpMethod": "GET", |
- "id": "genomics.callsets.get", |
+ "id": "genomics.readgroupsets.get", |
"parameterOrder": [ |
- "callSetId" |
+ "readGroupSetId" |
], |
"parameters": { |
- "callSetId": { |
- "description": "The ID of the call set.", |
+ "readGroupSetId": { |
+ "description": "The ID of the read group set.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "callsets/{callSetId}", |
+ "path": "v1/readgroupsets/{readGroupSetId}", |
"response": { |
- "$ref": "CallSet" |
+ "$ref": "ReadGroupSet" |
}, |
"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 call set. 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" |
+ } |
+ }, |
+ "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. 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" |
+ ] |
} |
- }, |
- "path": "callsets/{callSetId}", |
+ } |
+ } |
+ } |
+ }, |
+ "reads": { |
+ "methods": { |
+ "search": { |
+ "description": "Gets a list of reads for one or more read group sets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order. Implements [GlobalAllianceApi.searchReads](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": "CallSet" |
+ "$ref": "SearchReadsRequest" |
}, |
"response": { |
- "$ref": "CallSet" |
+ "$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" |
] |
- }, |
+ } |
+ } |
+ }, |
+ "referencesets": { |
+ "methods": { |
"search": { |
- "description": "Gets a list of call sets matching the criteria.\n\nImplements GlobalAllianceApi.searchCallSets.", |
+ "description": "Searches for reference sets which match the given criteria. Implements [GlobalAllianceApi.searchReferenceSets](http://ga4gh.org/documentation/api/v0.5.1/ga4gh_api.html#/schema/org.ga4gh.searchReferenceSets).", |
"httpMethod": "POST", |
- "id": "genomics.callsets.search", |
- "path": "callsets/search", |
+ "id": "genomics.referencesets.search", |
+ "path": "v1/referencesets/search", |
"request": { |
- "$ref": "SearchCallSetsRequest" |
+ "$ref": "SearchReferenceSetsRequest" |
}, |
"response": { |
- "$ref": "SearchCallSetsResponse" |
+ "$ref": "SearchReferenceSetsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -481,92 +652,162 @@ |
"https://www.googleapis.com/auth/genomics.readonly" |
] |
}, |
- "update": { |
- "description": "Updates a call set.", |
- "httpMethod": "PUT", |
- "id": "genomics.callsets.update", |
+ "get": { |
+ "description": "Gets a reference set. Implements [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": [ |
- "callSetId" |
+ "referenceSetId" |
], |
"parameters": { |
- "callSetId": { |
- "description": "The ID of the call set to be updated.", |
+ "referenceSetId": { |
+ "description": "The ID of the reference set.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "callsets/{callSetId}", |
- "request": { |
- "$ref": "CallSet" |
- }, |
+ "path": "v1/referencesets/{referenceSetId}", |
"response": { |
- "$ref": "CallSet" |
+ "$ref": "ReferenceSet" |
}, |
"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" |
] |
} |
} |
}, |
- "datasets": { |
+ "references": { |
"methods": { |
- "create": { |
- "description": "Creates a new dataset.", |
+ "search": { |
+ "description": "Searches for references which match the given criteria. Implements [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": "datasets", |
+ "id": "genomics.references.search", |
+ "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" |
] |
}, |
- "delete": { |
- "description": "Deletes a dataset.", |
- "httpMethod": "DELETE", |
- "id": "genomics.datasets.delete", |
+ "get": { |
+ "description": "Gets a reference. 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", |
"parameterOrder": [ |
- "datasetId" |
+ "referenceId" |
], |
"parameters": { |
- "datasetId": { |
- "description": "The ID of the dataset to be deleted.", |
+ "referenceId": { |
+ "description": "The ID of the reference.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "datasets/{datasetId}", |
+ "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. 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": "Specifies the maximum number of bases to return in a single page.", |
+ "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. The variants for import will be merged with any existing data and each other according to the behavior of mergeVariants. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.", |
+ "httpMethod": "POST", |
+ "id": "genomics.variants.import", |
+ "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" |
] |
}, |
- "get": { |
- "description": "Gets a dataset by ID.", |
- "httpMethod": "GET", |
- "id": "genomics.datasets.get", |
- "parameterOrder": [ |
- "datasetId" |
- ], |
- "parameters": { |
- "datasetId": { |
- "description": "The ID of the dataset.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
+ "search": { |
+ "description": "Gets a list of variants matching the criteria. Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).", |
+ "httpMethod": "POST", |
+ "id": "genomics.variants.search", |
+ "path": "v1/variants/search", |
+ "request": { |
+ "$ref": "SearchVariantsRequest" |
}, |
- "path": "datasets/{datasetId}", |
"response": { |
- "$ref": "Dataset" |
+ "$ref": "SearchVariantsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -574,185 +815,169 @@ |
"https://www.googleapis.com/auth/genomics.readonly" |
] |
}, |
- "list": { |
- "description": "Lists datasets within a project.", |
- "httpMethod": "GET", |
- "id": "genomics.datasets.list", |
- "parameters": { |
- "pageSize": { |
- "description": "The maximum number of results returned by this request. If unspecified, defaults to 50.", |
- "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" |
- }, |
- "projectNumber": { |
- "description": "Required. The project to list datasets for.", |
- "format": "int64", |
- "location": "query", |
- "type": "string" |
- } |
+ "create": { |
+ "description": "Creates a new variant.", |
+ "httpMethod": "POST", |
+ "id": "genomics.variants.create", |
+ "path": "v1/variants", |
+ "request": { |
+ "$ref": "Variant" |
}, |
- "path": "datasets", |
"response": { |
- "$ref": "ListDatasetsResponse" |
+ "$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" |
] |
}, |
"patch": { |
- "description": "Updates a dataset. This method supports patch semantics.", |
+ "description": "Updates a variant. This method supports patch semantics. Returns the modified variant without its calls.", |
"httpMethod": "PATCH", |
- "id": "genomics.datasets.patch", |
+ "id": "genomics.variants.patch", |
"parameterOrder": [ |
- "datasetId" |
+ "variantId" |
], |
"parameters": { |
- "datasetId": { |
- "description": "The ID of the dataset to be updated.", |
+ "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][google.genomics.v1.Variant.names] and [info][google.genomics.v1.Variant.info]. Acceptable values are \"names\" and \"info\". If unspecified, all mutable fields will be updated.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "datasets/{datasetId}", |
+ "path": "v1/variants/{variantId}", |
"request": { |
- "$ref": "Dataset" |
+ "$ref": "Variant" |
}, |
"response": { |
- "$ref": "Dataset" |
+ "$ref": "Variant" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
- "undelete": { |
- "description": "Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.", |
- "httpMethod": "POST", |
- "id": "genomics.datasets.undelete", |
+ "delete": { |
+ "description": "Deletes a variant.", |
+ "httpMethod": "DELETE", |
+ "id": "genomics.variants.delete", |
"parameterOrder": [ |
- "datasetId" |
+ "variantId" |
], |
"parameters": { |
- "datasetId": { |
- "description": "The ID of the dataset to be undeleted.", |
+ "variantId": { |
+ "description": "The ID of the variant to be deleted.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "datasets/{datasetId}/undelete", |
+ "path": "v1/variants/{variantId}", |
"response": { |
- "$ref": "Dataset" |
+ "$ref": "Empty" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
- "update": { |
- "description": "Updates a dataset.", |
- "httpMethod": "PUT", |
- "id": "genomics.datasets.update", |
+ "get": { |
+ "description": "Gets a variant by ID.", |
+ "httpMethod": "GET", |
+ "id": "genomics.variants.get", |
"parameterOrder": [ |
- "datasetId" |
+ "variantId" |
], |
"parameters": { |
- "datasetId": { |
- "description": "The ID of the dataset to be updated.", |
+ "variantId": { |
+ "description": "The ID of the variant.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "datasets/{datasetId}", |
- "request": { |
- "$ref": "Dataset" |
- }, |
+ "path": "v1/variants/{variantId}", |
"response": { |
- "$ref": "Dataset" |
+ "$ref": "Variant" |
}, |
"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" |
] |
} |
} |
}, |
- "experimental": { |
- "resources": { |
- "jobs": { |
- "methods": { |
- "create": { |
- "description": "Creates and asynchronously runs an ad-hoc job. This is an experimental call and may be removed or changed at any time.", |
- "httpMethod": "POST", |
- "id": "genomics.experimental.jobs.create", |
- "path": "experimental/jobs/create", |
- "request": { |
- "$ref": "ExperimentalCreateJobRequest" |
- }, |
- "response": { |
- "$ref": "ExperimentalCreateJobResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/devstorage.read_write", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- } |
- } |
- } |
- } |
- }, |
- "jobs": { |
+ "variantsets": { |
"methods": { |
- "cancel": { |
- "description": "Cancels a job by ID. Note that it is possible for partial results to be generated and stored for cancelled jobs.", |
+ "create": { |
+ "description": "Creates a new variant set.", |
+ "httpMethod": "POST", |
+ "id": "genomics.variantsets.create", |
+ "path": "v1/variantsets", |
+ "request": { |
+ "$ref": "VariantSet" |
+ }, |
+ "response": { |
+ "$ref": "VariantSet" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/genomics" |
+ ] |
+ }, |
+ "export": { |
+ "description": "Exports variant set data to an external destination.", |
"httpMethod": "POST", |
- "id": "genomics.jobs.cancel", |
+ "id": "genomics.variantsets.export", |
"parameterOrder": [ |
- "jobId" |
+ "variantSetId" |
], |
"parameters": { |
- "jobId": { |
- "description": "Required. The ID of the job.", |
+ "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.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "jobs/{jobId}/cancel", |
+ "path": "v1/variantsets/{variantSetId}:export", |
+ "request": { |
+ "$ref": "ExportVariantSetRequest" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
"scopes": [ |
+ "https://www.googleapis.com/auth/bigquery", |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics" |
] |
}, |
"get": { |
- "description": "Gets a job by ID.", |
+ "description": "Gets a variant set by ID.", |
"httpMethod": "GET", |
- "id": "genomics.jobs.get", |
+ "id": "genomics.variantsets.get", |
"parameterOrder": [ |
- "jobId" |
+ "variantSetId" |
], |
"parameters": { |
- "jobId": { |
- "description": "Required. The ID of the job.", |
+ "variantSetId": { |
+ "description": "Required. The ID of the variant set.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "jobs/{jobId}", |
+ "path": "v1/variantsets/{variantSetId}", |
"response": { |
- "$ref": "Job" |
+ "$ref": "VariantSet" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -761,457 +986,141 @@ |
] |
}, |
"search": { |
- "description": "Gets a list of jobs matching the criteria.", |
+ "description": "Returns a list of all variant sets matching search criteria. Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).", |
"httpMethod": "POST", |
- "id": "genomics.jobs.search", |
- "path": "jobs/search", |
+ "id": "genomics.variantsets.search", |
+ "path": "v1/variantsets/search", |
"request": { |
- "$ref": "SearchJobsRequest" |
+ "$ref": "SearchVariantSetsRequest" |
}, |
"response": { |
- "$ref": "SearchJobsResponse" |
+ "$ref": "SearchVariantSetsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/genomics", |
"https://www.googleapis.com/auth/genomics.readonly" |
] |
- } |
- } |
- }, |
- "readgroupsets": { |
- "methods": { |
- "align": { |
- "description": "Aligns read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.", |
- "httpMethod": "POST", |
- "id": "genomics.readgroupsets.align", |
- "path": "readgroupsets/align", |
- "request": { |
- "$ref": "AlignReadGroupSetsRequest" |
- }, |
- "response": { |
- "$ref": "AlignReadGroupSetsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/devstorage.read_write", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "call": { |
- "description": "Calls variants on read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.", |
- "httpMethod": "POST", |
- "id": "genomics.readgroupsets.call", |
- "path": "readgroupsets/call", |
- "request": { |
- "$ref": "CallReadGroupSetsRequest" |
- }, |
- "response": { |
- "$ref": "CallReadGroupSetsResponse" |
- }, |
- "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 a read group set.", |
+ "description": "Deletes the contents of a variant set. The variant set object is not deleted.", |
"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": "readgroupsets/{readGroupSetId}", |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "export": { |
- "description": "Exports read group sets to a BAM file in Google Cloud Storage.\n\nNote that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.", |
- "httpMethod": "POST", |
- "id": "genomics.readgroupsets.export", |
- "path": "readgroupsets/export", |
- "request": { |
- "$ref": "ExportReadGroupSetsRequest" |
- }, |
+ "path": "v1/variantsets/{variantSetId}", |
"response": { |
- "$ref": "ExportReadGroupSetsResponse" |
+ "$ref": "Empty" |
}, |
"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 read group set by ID.", |
- "httpMethod": "GET", |
- "id": "genomics.readgroupsets.get", |
+ "patch": { |
+ "description": "Updates a variant set. This method supports patch semantics.", |
+ "httpMethod": "PATCH", |
+ "id": "genomics.variantsets.patch", |
"parameterOrder": [ |
- "readGroupSetId" |
+ "variantSetId" |
], |
"parameters": { |
- "readGroupSetId": { |
- "description": "The ID of the read group set.", |
+ "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. At this time, the only mutable field is [metadata][google.genomics.v1.VariantSet.metadata]. The only acceptable value is \"metadata\". If unspecified, all mutable fields will be updated.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "readgroupsets/{readGroupSetId}", |
- "response": { |
- "$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 information.\n\nNote that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.", |
- "httpMethod": "POST", |
- "id": "genomics.readgroupsets.import", |
- "path": "readgroupsets/import", |
+ "path": "v1/variantsets/{variantSetId}", |
"request": { |
- "$ref": "ImportReadGroupSetsRequest" |
+ "$ref": "VariantSet" |
}, |
"response": { |
- "$ref": "ImportReadGroupSetsResponse" |
+ "$ref": "VariantSet" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/devstorage.read_write", |
"https://www.googleapis.com/auth/genomics" |
] |
- }, |
- "patch": { |
- "description": "Updates a read group set. This method supports patch semantics.", |
- "httpMethod": "PATCH", |
- "id": "genomics.readgroupsets.patch", |
- "parameterOrder": [ |
- "readGroupSetId" |
- ], |
- "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.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "readgroupsets/{readGroupSetId}", |
+ } |
+ } |
+ }, |
+ "callsets": { |
+ "methods": { |
+ "search": { |
+ "description": "Gets a list of call sets matching the criteria. 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": "ReadGroupSet" |
+ "$ref": "SearchCallSetsRequest" |
}, |
"response": { |
- "$ref": "ReadGroupSet" |
+ "$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" |
] |
}, |
- "search": { |
- "description": "Searches for read group sets matching the criteria.\n\nImplements GlobalAllianceApi.searchReadGroupSets.", |
+ "create": { |
+ "description": "Creates a new call set.", |
"httpMethod": "POST", |
- "id": "genomics.readgroupsets.search", |
- "path": "readgroupsets/search", |
+ "id": "genomics.callsets.create", |
+ "path": "v1/callsets", |
"request": { |
- "$ref": "SearchReadGroupSetsRequest" |
+ "$ref": "CallSet" |
}, |
"response": { |
- "$ref": "SearchReadGroupSetsResponse" |
+ "$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" |
] |
}, |
- "update": { |
- "description": "Updates a read group set.", |
- "httpMethod": "PUT", |
- "id": "genomics.readgroupsets.update", |
+ "patch": { |
+ "description": "Updates a call set. This method supports patch semantics.", |
+ "httpMethod": "PATCH", |
+ "id": "genomics.callsets.patch", |
"parameterOrder": [ |
- "readGroupSetId" |
+ "callSetId" |
], |
"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.", |
+ "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][google.genomics.v1.CallSet.name]. The only acceptable value is \"name\". If unspecified, all mutable fields will be updated.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "readgroupsets/{readGroupSetId}", |
+ "path": "v1/callsets/{callSetId}", |
"request": { |
- "$ref": "ReadGroupSet" |
+ "$ref": "CallSet" |
}, |
"response": { |
- "$ref": "ReadGroupSet" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "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.\n\nCoverage 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": { |
- "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" |
- }, |
- "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" |
- }, |
- "range.end": { |
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, referenceName must also be specified.", |
- "format": "int64", |
- "location": "query", |
- "type": "string" |
- }, |
- "range.referenceName": { |
- "description": "The reference sequence name, for example chr1, 1, or chrX.", |
- "location": "query", |
- "type": "string" |
- }, |
- "range.start": { |
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, referenceName must also be specified.", |
- "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" |
- }, |
- "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" |
- } |
- }, |
- "path": "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. 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.\n\nIf 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.\n\nAll reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order.\n\nImplements GlobalAllianceApi.searchReads.", |
- "httpMethod": "POST", |
- "id": "genomics.reads.search", |
- "path": "reads/search", |
- "request": { |
- "$ref": "SearchReadsRequest" |
- }, |
- "response": { |
- "$ref": "SearchReadsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics", |
- "https://www.googleapis.com/auth/genomics.readonly" |
- ] |
- } |
- } |
- }, |
- "references": { |
- "methods": { |
- "get": { |
- "description": "Gets a reference.\n\nImplements GlobalAllianceApi.getReference.", |
- "httpMethod": "GET", |
- "id": "genomics.references.get", |
- "parameterOrder": [ |
- "referenceId" |
- ], |
- "parameters": { |
- "referenceId": { |
- "description": "The ID of the reference.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "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" |
- ] |
- }, |
- "search": { |
- "description": "Searches for references which match the given criteria.\n\nImplements GlobalAllianceApi.searchReferences.", |
- "httpMethod": "POST", |
- "id": "genomics.references.search", |
- "path": "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" |
- ] |
- } |
- }, |
- "resources": { |
- "bases": { |
- "methods": { |
- "list": { |
- "description": "Lists the bases in a reference, optionally restricted to a range.\n\nImplements GlobalAllianceApi.getReferenceBases.", |
- "httpMethod": "GET", |
- "id": "genomics.references.bases.list", |
- "parameterOrder": [ |
- "referenceId" |
- ], |
- "parameters": { |
- "end": { |
- "description": "The end position (0-based, exclusive) of this query. Defaults to the length of this reference.", |
- "format": "int64", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Specifies the maximum number of bases to return in a single page.", |
- "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" |
- }, |
- "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" |
- } |
- }, |
- "path": "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" |
- ] |
- } |
- } |
- } |
- } |
- }, |
- "referencesets": { |
- "methods": { |
- "get": { |
- "description": "Gets a reference set.\n\nImplements GlobalAllianceApi.getReferenceSet.", |
- "httpMethod": "GET", |
- "id": "genomics.referencesets.get", |
- "parameterOrder": [ |
- "referenceSetId" |
- ], |
- "parameters": { |
- "referenceSetId": { |
- "description": "The ID of the reference set.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "referencesets/{referenceSetId}", |
- "response": { |
- "$ref": "ReferenceSet" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics", |
- "https://www.googleapis.com/auth/genomics.readonly" |
- ] |
- }, |
- "search": { |
- "description": "Searches for reference sets which match the given criteria.\n\nImplements GlobalAllianceApi.searchReferenceSets.", |
- "httpMethod": "POST", |
- "id": "genomics.referencesets.search", |
- "path": "referencesets/search", |
- "request": { |
- "$ref": "SearchReferenceSetsRequest" |
- }, |
- "response": { |
- "$ref": "SearchReferenceSetsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics", |
- "https://www.googleapis.com/auth/genomics.readonly" |
- ] |
- } |
- } |
- }, |
- "variants": { |
- "methods": { |
- "create": { |
- "description": "Creates a new variant.", |
- "httpMethod": "POST", |
- "id": "genomics.variants.create", |
- "path": "variants", |
- "request": { |
- "$ref": "Variant" |
- }, |
- "response": { |
- "$ref": "Variant" |
+ "$ref": "CallSet" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -1219,1214 +1128,60 @@ |
] |
}, |
"delete": { |
- "description": "Deletes a variant.", |
+ "description": "Deletes a call set.", |
"httpMethod": "DELETE", |
- "id": "genomics.variants.delete", |
- "parameterOrder": [ |
- "variantId" |
- ], |
- "parameters": { |
- "variantId": { |
- "description": "The ID of the variant to be deleted.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variants/{variantId}", |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "get": { |
- "description": "Gets a variant by ID.", |
- "httpMethod": "GET", |
- "id": "genomics.variants.get", |
+ "id": "genomics.callsets.delete", |
"parameterOrder": [ |
- "variantId" |
+ "callSetId" |
], |
"parameters": { |
- "variantId": { |
- "description": "The ID of the variant.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "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" |
- ] |
- }, |
- "search": { |
- "description": "Gets a list of variants matching the criteria.\n\nImplements GlobalAllianceApi.searchVariants.", |
- "httpMethod": "POST", |
- "id": "genomics.variants.search", |
- "path": "variants/search", |
- "request": { |
- "$ref": "SearchVariantsRequest" |
- }, |
- "response": { |
- "$ref": "SearchVariantsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics", |
- "https://www.googleapis.com/auth/genomics.readonly" |
- ] |
- }, |
- "update": { |
- "description": "Updates a variant's names and info fields. All other modifications are silently ignored. Returns the modified variant without its calls.", |
- "httpMethod": "PUT", |
- "id": "genomics.variants.update", |
- "parameterOrder": [ |
- "variantId" |
- ], |
- "parameters": { |
- "variantId": { |
- "description": "The ID of the variant to be updated.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variants/{variantId}", |
- "request": { |
- "$ref": "Variant" |
- }, |
- "response": { |
- "$ref": "Variant" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- } |
- } |
- }, |
- "variantsets": { |
- "methods": { |
- "delete": { |
- "description": "Deletes the contents of a variant set. The variant set object is not deleted.", |
- "httpMethod": "DELETE", |
- "id": "genomics.variantsets.delete", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "parameters": { |
- "variantSetId": { |
- "description": "The ID of the variant set to be deleted.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variantsets/{variantSetId}", |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "export": { |
- "description": "Exports variant set data to an external destination.", |
- "httpMethod": "POST", |
- "id": "genomics.variantsets.export", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "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.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variantsets/{variantSetId}/export", |
- "request": { |
- "$ref": "ExportVariantSetRequest" |
- }, |
- "response": { |
- "$ref": "ExportVariantSetResponse" |
- }, |
- "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.", |
- "httpMethod": "GET", |
- "id": "genomics.variantsets.get", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "parameters": { |
- "variantSetId": { |
- "description": "Required. The ID of the variant set.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "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" |
- ] |
- }, |
- "importVariants": { |
- "description": "Creates variant data by asynchronously importing the provided information.\n\nThe variants for import will be merged with any existing data and each other according to the behavior of mergeVariants. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.", |
- "httpMethod": "POST", |
- "id": "genomics.variantsets.importVariants", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "parameters": { |
- "variantSetId": { |
- "description": "Required. The variant set to which variant data should be imported.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variantsets/{variantSetId}/importVariants", |
- "request": { |
- "$ref": "ImportVariantsRequest" |
- }, |
- "response": { |
- "$ref": "ImportVariantsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/devstorage.read_write", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "mergeVariants": { |
- "description": "Merges the given variants with existing variants. Each variant will be merged with an existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded.", |
- "httpMethod": "POST", |
- "id": "genomics.variantsets.mergeVariants", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "parameters": { |
- "variantSetId": { |
- "description": "The destination variant set.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variantsets/{variantSetId}/mergeVariants", |
- "request": { |
- "$ref": "MergeVariantsRequest" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "patch": { |
- "description": "Updates a variant set's metadata. All other modifications are silently ignored. This method supports patch semantics.", |
- "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" |
- } |
- }, |
- "path": "variantsets/{variantSetId}", |
- "request": { |
- "$ref": "VariantSet" |
- }, |
- "response": { |
- "$ref": "VariantSet" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- }, |
- "search": { |
- "description": "Returns a list of all variant sets matching search criteria.\n\nImplements GlobalAllianceApi.searchVariantSets.", |
- "httpMethod": "POST", |
- "id": "genomics.variantsets.search", |
- "path": "variantsets/search", |
- "request": { |
- "$ref": "SearchVariantSetsRequest" |
- }, |
- "response": { |
- "$ref": "SearchVariantSetsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics", |
- "https://www.googleapis.com/auth/genomics.readonly" |
- ] |
- }, |
- "update": { |
- "description": "Updates a variant set's metadata. All other modifications are silently ignored.", |
- "httpMethod": "PUT", |
- "id": "genomics.variantsets.update", |
- "parameterOrder": [ |
- "variantSetId" |
- ], |
- "parameters": { |
- "variantSetId": { |
- "description": "The ID of the variant to be updated (must already exist).", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "variantsets/{variantSetId}", |
- "request": { |
- "$ref": "VariantSet" |
- }, |
- "response": { |
- "$ref": "VariantSet" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/genomics" |
- ] |
- } |
- } |
- } |
- }, |
- "revision": "20150629", |
- "rootUrl": "https://www.googleapis.com/", |
- "schemas": { |
- "AlignReadGroupSetsRequest": { |
- "description": "The read group set align request.", |
- "id": "AlignReadGroupSetsRequest", |
- "properties": { |
- "bamSourceUris": { |
- "description": "The BAM source files for alignment. Exactly one of readGroupSetId, bamSourceUris, interleavedFastqSource or pairedFastqSource must be provided. The caller must have READ permissions for these files.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "datasetId": { |
- "description": "Required. The ID of the dataset the newly aligned read group sets will belong to. The caller must have WRITE permissions to this dataset.", |
- "type": "string" |
- }, |
- "interleavedFastqSource": { |
- "$ref": "InterleavedFastqSource", |
- "description": "The interleaved FASTQ source files for alignment, where both members of each pair of reads are found on consecutive records within the same FASTQ file. Exactly one of readGroupSetId, bamSourceUris, interleavedFastqSource or pairedFastqSource must be provided." |
- }, |
- "pairedFastqSource": { |
- "$ref": "PairedFastqSource", |
- "description": "The paired end FASTQ source files for alignment, where each member of a pair of reads are found in separate files. Exactly one of readGroupSetId, bamSourceUris, interleavedFastqSource or pairedFastqSource must be provided." |
- }, |
- "readGroupSetId": { |
- "description": "The ID of the read group set which will be aligned. A new read group set will be generated to hold the aligned data, the originals will not be modified. The caller must have READ permissions for this read group set. Exactly one of readGroupSetId, bamSourceUris, interleavedFastqSource or pairedFastqSource must be provided.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "AlignReadGroupSetsResponse": { |
- "description": "The read group set align response.", |
- "id": "AlignReadGroupSetsResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "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. A variant annotation is represented by one or more of these canonical types. 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'.", |
- "id": "Annotation", |
- "properties": { |
- "annotationSetId": { |
- "description": "The ID of the containing annotation set.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The generated unique ID for this annotation.", |
- "type": "string" |
- }, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The display name of this annotation.", |
- "type": "string" |
- }, |
- "position": { |
- "$ref": "RangePosition", |
- "description": "The position of this annotation on the reference sequence." |
- }, |
- "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." |
- }, |
- "type": { |
- "description": "The data type for this annotation. Must match the containing annotation set's type.", |
- "enum": [ |
- "GENE", |
- "GENERIC", |
- "TRANSCRIPT", |
- "VARIANT" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "" |
- ], |
- "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." |
- } |
- }, |
- "type": "object" |
- }, |
- "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": { |
- "datasetId": { |
- "description": "The ID of the containing dataset.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The generated unique ID for this annotation set.", |
- "type": "string" |
- }, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The display name for this annotation set.", |
- "type": "string" |
- }, |
- "referenceSetId": { |
- "description": "The ID of the reference set that defines the coordinate space for this set's annotations.", |
- "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": [ |
- "GENE", |
- "GENERIC", |
- "TRANSCRIPT", |
- "VARIANT" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "BatchAnnotationsResponse": { |
- "id": "BatchAnnotationsResponse", |
- "properties": { |
- "entries": { |
- "description": "The resulting per-annotation entries, ordered consistently with the original request.", |
- "items": { |
- "$ref": "BatchAnnotationsResponseEntry" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "BatchAnnotationsResponseEntry": { |
- "id": "BatchAnnotationsResponseEntry", |
- "properties": { |
- "annotation": { |
- "$ref": "Annotation", |
- "description": "The annotation, if any." |
- }, |
- "status": { |
- "$ref": "BatchAnnotationsResponseEntryStatus", |
- "description": "The resulting status for this annotation operation." |
- } |
- }, |
- "type": "object" |
- }, |
- "BatchAnnotationsResponseEntryStatus": { |
- "description": "", |
- "id": "BatchAnnotationsResponseEntryStatus", |
- "properties": { |
- "code": { |
- "description": "The HTTP status code for this operation.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "message": { |
- "description": "Error message for this status, if any.", |
- "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.", |
- "items": { |
- "$ref": "Annotation" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "Call": { |
- "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": "Call", |
- "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" |
- }, |
- "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.", |
- "items": { |
- "format": "double", |
- "type": "number" |
- }, |
- "type": "array" |
- }, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "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 *.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "CallReadGroupSetsRequest": { |
- "description": "The read group set call request.", |
- "id": "CallReadGroupSetsRequest", |
- "properties": { |
- "datasetId": { |
- "description": "Required. The ID of the dataset the called variants will belong to. The caller must have WRITE permissions to this dataset.", |
- "type": "string" |
- }, |
- "readGroupSetId": { |
- "description": "The IDs of the read group sets which will be called. The caller must have READ permissions for these read group sets. One of readGroupSetId or sourceUris must be provided.", |
- "type": "string" |
- }, |
- "sourceUris": { |
- "description": "A list of URIs pointing at BAM files in Google Cloud Storage which will be called. FASTQ files are not allowed. The caller must have READ permissions for these files. One of readGroupSetId or sourceUris must be provided.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CallReadGroupSetsResponse": { |
- "description": "The read group set call response.", |
- "id": "CallReadGroupSetsResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "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.", |
- "id": "CallSet", |
- "properties": { |
- "created": { |
- "description": "The date this call set was created in milliseconds from the epoch.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The Google generated ID of the call set, immutable.", |
- "type": "string" |
- }, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The call set name.", |
- "type": "string" |
- }, |
- "sampleId": { |
- "description": "The sample ID this call set corresponds to.", |
- "type": "string" |
- }, |
- "variantSetIds": { |
- "description": "The IDs of the variant sets this call set belongs to.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CigarUnit": { |
- "description": "A single CIGAR operation.", |
- "id": "CigarUnit", |
- "properties": { |
- "operation": { |
- "enum": [ |
- "ALIGNMENT_MATCH", |
- "CLIP_HARD", |
- "CLIP_SOFT", |
- "DELETE", |
- "INSERT", |
- "OPERATION_UNSPECIFIED", |
- "PAD", |
- "SEQUENCE_MATCH", |
- "SEQUENCE_MISMATCH", |
- "SKIP" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- }, |
- "operationLength": { |
- "description": "The number of bases that the operation runs for. Required.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "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.", |
- "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": { |
- "meanCoverage": { |
- "description": "The average number of reads which are aligned to each individual reference base in this bucket.", |
- "format": "float", |
- "type": "number" |
- }, |
- "range": { |
- "$ref": "Range", |
- "description": "The genomic coordinate range spanned by this bucket." |
- } |
- }, |
- "type": "object" |
- }, |
- "Dataset": { |
- "description": "A Dataset is a collection of genomic data.", |
- "id": "Dataset", |
- "properties": { |
- "createTime": { |
- "description": "The time this dataset was created, in seconds from the epoch.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The Google generated ID of the dataset, immutable.", |
- "type": "string" |
- }, |
- "isPublic": { |
- "description": "Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project.", |
- "type": "boolean" |
- }, |
- "name": { |
- "description": "The dataset name.", |
- "type": "string" |
- }, |
- "projectNumber": { |
- "description": "The Google Developers Console project number that this dataset belongs to.", |
- "format": "int64", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExperimentalCreateJobRequest": { |
- "description": "The job creation request.", |
- "id": "ExperimentalCreateJobRequest", |
- "properties": { |
- "align": { |
- "description": "Specifies whether or not to run the alignment pipeline. Either align or callVariants must be set.", |
- "type": "boolean" |
- }, |
- "callVariants": { |
- "description": "Specifies whether or not to run the variant calling pipeline. Either align or callVariants must be set.", |
- "type": "boolean" |
- }, |
- "gcsOutputPath": { |
- "description": "Specifies where to copy the results of certain pipelines. This should be in the form of gs://bucket/path.", |
- "type": "string" |
- }, |
- "pairedSourceUris": { |
- "description": "A list of Google Cloud Storage URIs of paired end .fastq files to operate upon. If specified, this represents the second file of each paired .fastq file. The first file of each pair should be specified in sourceUris.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "projectNumber": { |
- "description": "Required. The Google Cloud Project ID with which to associate the request.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "sourceUris": { |
- "description": "A list of Google Cloud Storage URIs of data files to operate upon. These can be .bam, interleaved .fastq, or paired .fastq. If specifying paired .fastq files, the first of each pair of files should be listed here, and the second of each pair should be listed in pairedSourceUris.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExperimentalCreateJobResponse": { |
- "description": "The job creation response.", |
- "id": "ExperimentalCreateJobResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExportReadGroupSetsRequest": { |
- "description": "The read group set export request.", |
- "id": "ExportReadGroupSetsRequest", |
- "properties": { |
- "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" |
- }, |
- "projectNumber": { |
- "description": "Required. The Google Developers Console project number that owns this export.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "readGroupSetIds": { |
- "description": "Required. The IDs of the read group sets to export.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "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.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExportReadGroupSetsResponse": { |
- "description": "The read group set export response.", |
- "id": "ExportReadGroupSetsResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExportVariantSetRequest": { |
- "description": "The variant data export request.", |
- "id": "ExportVariantSetRequest", |
- "properties": { |
- "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\".", |
- "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.", |
- "type": "string" |
- }, |
- "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" |
- }, |
- "format": { |
- "description": "The format for the exported data.", |
- "enum": [ |
- "BIGQUERY" |
- ], |
- "enumDescriptions": [ |
- "" |
- ], |
- "type": "string" |
- }, |
- "projectNumber": { |
- "description": "Required. The Google Cloud project number that owns the destination BigQuery dataset. The caller must have WRITE access to this project. This project will also own the resulting export job.", |
- "format": "int64", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExportVariantSetResponse": { |
- "description": "The variant data export response.", |
- "id": "ExportVariantSetResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ExternalId": { |
- "description": "", |
- "id": "ExternalId", |
- "properties": { |
- "id": { |
- "description": "The id used by the source of this data.", |
- "type": "string" |
- }, |
- "sourceName": { |
- "description": "The name of the source of this data.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "FastqMetadata": { |
- "id": "FastqMetadata", |
- "properties": { |
- "libraryName": { |
- "description": "Optionally specifies the library name for alignment from FASTQ.", |
- "type": "string" |
- }, |
- "platformName": { |
- "description": "Optionally specifies the platform name for alignment from FASTQ. For example: CAPILLARY, LS454, ILLUMINA, SOLID, HELICOS, IONTORRENT, PACBIO.", |
- "type": "string" |
- }, |
- "platformUnit": { |
- "description": "Optionally specifies the platform unit for alignment from FASTQ. For example: flowcell-barcode.lane for Illumina or slide for SOLID.", |
- "type": "string" |
- }, |
- "readGroupName": { |
- "description": "Optionally specifies the read group name for alignment from FASTQ.", |
- "type": "string" |
- }, |
- "sampleName": { |
- "description": "Optionally specifies the sample name for alignment from FASTQ.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ImportReadGroupSetsRequest": { |
- "description": "The read group set import request.", |
- "id": "ImportReadGroupSetsRequest", |
- "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" |
- }, |
- "partitionStrategy": { |
- "description": "The partition strategy describes how read groups are partitioned into read group sets.", |
- "enum": [ |
- "MERGE_ALL", |
- "PER_FILE_PER_SAMPLE" |
- ], |
- "enumDescriptions": [ |
- "", |
- "" |
- ], |
- "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.", |
- "type": "string" |
- }, |
- "sourceUris": { |
- "description": "A list of URIs pointing at BAM files in Google Cloud Storage.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ImportReadGroupSetsResponse": { |
- "description": "The read group set import response.", |
- "id": "ImportReadGroupSetsResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ImportVariantsRequest": { |
- "description": "The variant data import request.", |
- "id": "ImportVariantsRequest", |
- "properties": { |
- "format": { |
- "description": "The format of the variant data being imported. If unspecified, defaults to to \"VCF\".", |
- "enum": [ |
- "COMPLETE_GENOMICS", |
- "VCF" |
- ], |
- "enumDescriptions": [ |
- "", |
- "" |
- ], |
- "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" |
- }, |
- "sourceUris": { |
- "description": "A list of URIs referencing variant files in Google Cloud Storage. URIs can include wildcards as described here. Note that recursive wildcards ('**') are not supported.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ImportVariantsResponse": { |
- "description": "The variant data import response.", |
- "id": "ImportVariantsResponse", |
- "properties": { |
- "jobId": { |
- "description": "A job ID that can be used to get status information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Int32Value": { |
- "description": "Wrapper message for `int32`.\n\nThe JSON representation for `Int32Value` is JSON number.", |
- "id": "Int32Value", |
- "properties": { |
- "value": { |
- "description": "The int32 value.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "InterleavedFastqSource": { |
- "description": "Describes an interleaved FASTQ file source for alignment.", |
- "id": "InterleavedFastqSource", |
- "properties": { |
- "metadata": { |
- "$ref": "FastqMetadata", |
- "description": "Optionally specifies the metadata to be associated with the final aligned read group set." |
- }, |
- "sourceUris": { |
- "description": "A list of URIs pointing at interleaved FASTQ files in Google Cloud Storage which will be aligned. The caller must have READ permissions for these files.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "Job": { |
- "description": "A Job represents an ongoing process that can be monitored for status information.", |
- "id": "Job", |
- "properties": { |
- "created": { |
- "description": "The date this job was created, in milliseconds from the epoch.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "detailedStatus": { |
- "description": "A more detailed description of this job's current status.", |
- "type": "string" |
- }, |
- "errors": { |
- "description": "Any errors that occurred during processing.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "id": { |
- "description": "The job ID.", |
- "type": "string" |
- }, |
- "importedIds": { |
- "description": "If this Job represents an import, this field will contain the IDs of the objects that were successfully imported.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "projectNumber": { |
- "description": "The Google Developers Console project number to which this job belongs.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "request": { |
- "$ref": "JobRequest", |
- "description": "A summarized representation of the original service request." |
- }, |
- "status": { |
- "description": "The status of this job.", |
- "enum": [ |
- "CANCELED", |
- "FAILURE", |
- "NEW", |
- "PENDING", |
- "RUNNING", |
- "SUCCESS", |
- "UNKNOWN_STATUS" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- }, |
- "warnings": { |
- "description": "Any warnings that occurred during processing.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "JobRequest": { |
- "description": "A summary representation of the service request that spawned the job.", |
- "id": "JobRequest", |
- "properties": { |
- "destination": { |
- "description": "The data destination of the request, for example, a Google BigQuery Table or Dataset ID.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "source": { |
- "description": "The data source of the request, for example, a Google Cloud Storage object path or Readset ID.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "type": { |
- "description": "The original request type.", |
- "enum": [ |
- "ALIGN_READSETS", |
- "CALL_READSETS", |
- "EXPERIMENTAL_CREATE_JOB", |
- "EXPORT_READSETS", |
- "EXPORT_VARIANTS", |
- "IMPORT_READSETS", |
- "IMPORT_VARIANTS", |
- "UNKNOWN_TYPE" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "KeyValue": { |
- "description": "Used to hold basic key value information.", |
- "id": "KeyValue", |
- "properties": { |
- "key": { |
- "description": "A string which maps to an array of values.", |
- "type": "string" |
- }, |
- "value": { |
- "description": "The string values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "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", |
- "properties": { |
- "cigar": { |
- "description": "Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.", |
- "items": { |
- "$ref": "CigarUnit" |
- }, |
- "type": "array" |
- }, |
- "mappingQuality": { |
- "description": "The mapping quality of this alignment. Represents how likely the read maps to this position as opposed to other locations.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "position": { |
- "$ref": "Position", |
- "description": "The position of this alignment." |
- } |
- }, |
- "type": "object" |
- }, |
- "ListBasesResponse": { |
- "id": "ListBasesResponse", |
- "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.", |
- "type": "string" |
- }, |
- "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.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "sequence": { |
- "description": "A substring of the bases that make up this reference.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListCoverageBucketsResponse": { |
- "id": "ListCoverageBucketsResponse", |
- "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", |
- "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" |
+ "callSetId": { |
+ "description": "The ID of the call set to be deleted.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
}, |
- "type": "array" |
+ "path": "v1/callsets/{callSetId}", |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/genomics" |
+ ] |
}, |
- "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" |
+ "get": { |
+ "description": "Gets a call set by ID.", |
+ "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" |
+ ] |
} |
- }, |
- "type": "object" |
- }, |
+ } |
+ } |
+ }, |
+ "revision": "20150725", |
+ "rootUrl": "https://genomics.googleapis.com/", |
+ "schemas": { |
"ListDatasetsResponse": { |
"description": "The dataset list response.", |
"id": "ListDatasetsResponse", |
@@ -2445,282 +1200,261 @@ |
}, |
"type": "object" |
}, |
- "MergeVariantsRequest": { |
- "id": "MergeVariantsRequest", |
+ "Dataset": { |
+ "description": "A Dataset is a collection of genomic data.", |
+ "id": "Dataset", |
"properties": { |
- "variants": { |
- "description": "The variants to be merged with existing variants.", |
- "items": { |
- "$ref": "Variant" |
- }, |
- "type": "array" |
+ "id": { |
+ "description": "The server-generated dataset ID, unique across all datasets.", |
+ "type": "string" |
+ }, |
+ "projectId": { |
+ "description": "The Google Developers Console project ID that this dataset belongs to.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The dataset name.", |
+ "type": "string" |
+ }, |
+ "createTime": { |
+ "description": "The time this dataset was created, in seconds from the epoch.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "Metadata": { |
- "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": "Metadata", |
+ "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", |
+ "type": "object" |
+ }, |
+ "UndeleteDatasetRequest": { |
+ "id": "UndeleteDatasetRequest", |
+ "type": "object" |
+ }, |
+ "Operation": { |
+ "description": "This resource represents a long-running operation that is the result of a network API call.", |
+ "id": "Operation", |
"properties": { |
- "description": { |
- "description": "A textual description of this 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.", |
+ "name": { |
+ "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", |
"type": "string" |
}, |
- "info": { |
+ "metadata": { |
"additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "description": "Properties of the object. Contains field @ype with type URL.", |
+ "type": "any" |
}, |
- "description": "A string which maps to an array of values.", |
+ "description": "An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].", |
"type": "object" |
}, |
- "key": { |
- "description": "The top-level key.", |
- "type": "string" |
- }, |
- "number": { |
- "description": "The number of values that can be included in a field described by this metadata.", |
- "type": "string" |
+ "done": { |
+ "description": "If the value is `false`, it means the operation is still in progress. If true, the operation is completed and the `result` is available.", |
+ "type": "boolean" |
}, |
- "type": { |
- "description": "The type of data. Possible types include: Integer, Float, Flag, Character, and String.", |
- "enum": [ |
- "CHARACTER", |
- "FLAG", |
- "FLOAT", |
- "INTEGER", |
- "STRING", |
- "UNKNOWN_TYPE" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
+ "error": { |
+ "$ref": "Status", |
+ "description": "The error result of the operation in case of failure." |
}, |
- "value": { |
- "description": "The value field for simple metadata", |
- "type": "string" |
+ "response": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @ype with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.", |
+ "type": "object" |
} |
}, |
"type": "object" |
}, |
- "PairedFastqSource": { |
- "description": "Describes a paired-end FASTQ file source for alignment.", |
- "id": "PairedFastqSource", |
+ "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][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.", |
+ "id": "Status", |
"properties": { |
- "firstSourceUris": { |
- "description": "A list of URIs pointing at paired end FASTQ files in Google Cloud Storage which will be aligned. The first of each paired file should be specified here, in an order that matches the second of each paired file specified in secondSourceUris. For example: firstSourceUris: [file1_1.fq, file2_1.fq], secondSourceUris: [file1_2.fq, file2_2.fq]. The caller must have READ permissions for these files.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "code": { |
+ "description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "metadata": { |
- "$ref": "FastqMetadata", |
- "description": "Optionally specifies the metadata to be associated with the final aligned read group set." |
+ "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][google.rpc.Status.details] field, or localized by the client.", |
+ "type": "string" |
}, |
- "secondSourceUris": { |
- "description": "A list of URIs pointing at paired end FASTQ files in Google Cloud Storage which will be aligned. The second of each paired file should be specified here, in an order that matches the first of each paired file specified in firstSourceUris. For example: firstSourceUris: [file1_1.fq, file2_1.fq], secondSourceUris: [file1_2.fq, file2_2.fq]. The caller must have READ permissions for these files.", |
+ "details": { |
+ "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", |
"items": { |
- "type": "string" |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @ype with type URL.", |
+ "type": "any" |
+ }, |
+ "type": "object" |
}, |
"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", |
+ "ListOperationsResponse": { |
+ "description": "The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].", |
+ "id": "ListOperationsResponse", |
"properties": { |
- "position": { |
- "description": "The 0-based offset from the start of the forward strand for that reference.", |
- "format": "int64", |
- "type": "string" |
+ "operations": { |
+ "description": "A list of operations that matches the specified filter in the request.", |
+ "items": { |
+ "$ref": "Operation" |
+ }, |
+ "type": "array" |
}, |
- "referenceName": { |
- "description": "The name of the reference in whatever reference set is being used.", |
+ "nextPageToken": { |
+ "description": "The standard List next-page token.", |
"type": "string" |
- }, |
- "reverseStrand": { |
- "description": "Whether this position is on the reverse strand, as opposed to the forward strand.", |
- "type": "boolean" |
} |
}, |
"type": "object" |
}, |
- "QueryRange": { |
- "description": "A 0-based half-open genomic coordinate range for search requests.", |
- "id": "QueryRange", |
+ "CancelOperationRequest": { |
+ "description": "The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].", |
+ "id": "CancelOperationRequest", |
+ "type": "object" |
+ }, |
+ "ImportReadGroupSetsRequest": { |
+ "description": "The read group set import request.", |
+ "id": "ImportReadGroupSetsRequest", |
"properties": { |
- "end": { |
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, referenceId or referenceName must also be specified. If unset or 0, defaults to the length of the reference.", |
- "format": "int64", |
+ "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" |
}, |
- "referenceId": { |
- "description": "The ID of the reference to query. At most one of referenceId and referenceName should be specified.", |
+ "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.", |
"type": "string" |
}, |
- "referenceName": { |
- "description": "The name of the reference to query, within the reference set associated with this query. At most one of referenceId and referenceName pshould be specified.", |
- "type": "string" |
+ "sourceUris": { |
+ "description": "A list of URIs pointing at BAM files in Google Cloud Storage.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
}, |
- "start": { |
- "description": "The start position of the range on the reference, 0-based inclusive. If specified, referenceId or referenceName must also be specified. Defaults to 0.", |
- "format": "int64", |
+ "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" |
+ ], |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "Range": { |
- "description": "A 0-based half-open genomic coordinate range over a reference sequence.", |
- "id": "Range", |
+ "ExportReadGroupSetRequest": { |
+ "description": "The read group set export request.", |
+ "id": "ExportReadGroupSetRequest", |
"properties": { |
- "end": { |
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, referenceName must also be specified.", |
- "format": "int64", |
+ "projectId": { |
+ "description": "Required. The Google Developers Console project ID that owns this export.", |
"type": "string" |
}, |
- "referenceName": { |
- "description": "The reference sequence name, for example chr1, 1, or chrX.", |
+ "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" |
}, |
- "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" |
+ "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.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "RangePosition": { |
- "description": "A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource.", |
- "id": "RangePosition", |
+ "SearchReadGroupSetsRequest": { |
+ "description": "The read group set search request.", |
+ "id": "SearchReadGroupSetsRequest", |
"properties": { |
- "end": { |
- "description": "The end position of the range on the reference, 0-based exclusive.", |
- "format": "int64", |
- "type": "string" |
+ "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" |
}, |
- "referenceId": { |
- "description": "The ID of the Google Genomics reference associated with this range.", |
+ "name": { |
+ "description": "Only return read group sets for which a substring of the name matches this string.", |
"type": "string" |
}, |
- "referenceName": { |
- "description": "The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX.", |
+ "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.", |
"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.", |
- "type": "boolean" |
- }, |
- "start": { |
- "description": "The start position of the range on the reference, 0-based inclusive.", |
- "format": "int64", |
- "type": "string" |
+ "pageSize": { |
+ "description": "Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 1024.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"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. 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:\nout = \"\" 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\nConverting 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).\ncigarMap = { \"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", |
- "id": "Read", |
+ "SearchReadGroupSetsResponse": { |
+ "description": "The read group set search response.", |
+ "id": "SearchReadGroupSetsResponse", |
"properties": { |
- "alignedQuality": { |
- "description": "The quality of the read sequence contained in this alignment record. 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.", |
+ "readGroupSets": { |
+ "description": "The list of matching read group sets.", |
"items": { |
- "format": "int32", |
- "type": "integer" |
+ "$ref": "ReadGroupSet" |
}, |
"type": "array" |
}, |
- "alignedSequence": { |
- "description": "The bases of the read sequence contained in this alignment record, without CIGAR operations applied. 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.", |
+ "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" |
+ }, |
+ "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.", |
+ "id": "ReadGroupSet", |
+ "properties": { |
+ "id": { |
+ "description": "The server-generated read group set ID, unique for all read group sets.", |
"type": "string" |
}, |
- "alignment": { |
- "$ref": "LinearAlignment", |
- "description": "The linear alignment for this alignment record. This field will be unset if the read is unmapped." |
- }, |
- "duplicateFragment": { |
- "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400)", |
- "type": "boolean" |
+ "datasetId": { |
+ "description": "The dataset ID.", |
+ "type": "string" |
}, |
- "failedVendorQualityChecks": { |
- "description": "SAM flag 0x200", |
- "type": "boolean" |
+ "referenceSetId": { |
+ "description": "The reference set the reads in this read group set are aligned to.", |
+ "type": "string" |
}, |
- "fragmentLength": { |
- "description": "The observed length of the fragment, equivalent to TLEN in SAM.", |
- "format": "int32", |
- "type": "integer" |
+ "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" |
}, |
- "fragmentName": { |
- "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.", |
+ "filename": { |
+ "description": "The filename of the original source file for this read group set, if any.", |
"type": "string" |
}, |
- "id": { |
- "description": "The unique ID for this read. This is a generated unique ID, not to be confused with fragmentName.", |
- "type": "string" |
+ "readGroups": { |
+ "description": "The read groups in this set. There are typically 1-10 read groups in a read group set.", |
+ "items": { |
+ "$ref": "ReadGroup" |
+ }, |
+ "type": "array" |
}, |
"info": { |
"additionalProperties": { |
- "description": "A string which maps to an array of values.", |
"items": { |
- "type": "string" |
+ "type": "any" |
}, |
"type": "array" |
}, |
- "description": "A string which maps to an array of values.", |
+ "description": "A map of additional read group set information.", |
"type": "object" |
- }, |
- "nextMatePosition": { |
- "$ref": "Position", |
- "description": "The position of the primary alignment of the (readNumber+1)%numberReads read in the fragment. It replaces mate position and mate strand in SAM. This field will be unset if that read is unmapped or if the fragment only has a single read." |
- }, |
- "numberReads": { |
- "description": "The number of reads in the fragment (extension to SAM flag 0x1).", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "properPlacement": { |
- "description": "The orientation and the distance between reads from the fragment are consistent with the sequencing protocol (SAM flag 0x2)", |
- "type": "boolean" |
- }, |
- "readGroupId": { |
- "description": "The ID of the read group this read belongs to. (Every read must belong to exactly one read group.)", |
- "type": "string" |
- }, |
- "readGroupSetId": { |
- "description": "The ID of the read group set this read belongs to. (Every read must belong to exactly one read group set.)", |
- "type": "string" |
- }, |
- "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" |
- }, |
- "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.", |
- "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" |
} |
}, |
"type": "object" |
@@ -2729,36 +1463,29 @@ |
"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 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 the `name` field.", |
+ "type": "string" |
+ }, |
"datasetId": { |
"description": "The ID of the dataset this read group belongs to.", |
"type": "string" |
}, |
+ "name": { |
+ "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.", |
+ "type": "string" |
+ }, |
"description": { |
"description": "A free-form text description of this read group.", |
"type": "string" |
}, |
- "experiment": { |
- "$ref": "ReadGroupExperiment", |
- "description": "The experiment used to generate this read group." |
- }, |
- "id": { |
- "description": "The generated unique read group ID. Note: This is different than the @RG ID field in the SAM spec. For that value, see the name field.", |
+ "sampleId": { |
+ "description": "The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.", |
"type": "string" |
}, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.", |
- "type": "string" |
+ "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.", |
@@ -2768,7 +1495,7 @@ |
"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": "ReadGroupProgram" |
+ "$ref": "Program" |
}, |
"type": "array" |
}, |
@@ -2776,44 +1503,50 @@ |
"description": "The reference set the reads in this read group are aligned to. Required if there are any read alignments.", |
"type": "string" |
}, |
- "sampleId": { |
- "description": "The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.", |
- "type": "string" |
+ "info": { |
+ "additionalProperties": { |
+ "items": { |
+ "type": "any" |
+ }, |
+ "type": "array" |
+ }, |
+ "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": "object" |
}, |
- "ReadGroupExperiment": { |
- "id": "ReadGroupExperiment", |
+ "Experiment": { |
+ "id": "Experiment", |
"properties": { |
- "instrumentModel": { |
- "description": "The instrument model used as part of this experiment. This maps to sequencing technology in BAM.", |
- "type": "string" |
- }, |
"libraryId": { |
"description": "The library used as part of this experiment. Note: This is not an actual ID within this repository, but rather an identifier for a library which may be meaningful to some external system.", |
"type": "string" |
}, |
"platformUnit": { |
- "description": "The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the", |
+ "description": "The platform unit used as part of this experiment e.g. 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.", |
"type": "string" |
+ }, |
+ "instrumentModel": { |
+ "description": "The instrument model used as part of this experiment. This maps to sequencing technology in BAM.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "ReadGroupProgram": { |
- "id": "ReadGroupProgram", |
+ "Program": { |
+ "id": "Program", |
"properties": { |
"commandLine": { |
"description": "The command line used to run this program.", |
"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 user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.", |
"type": "string" |
}, |
"name": { |
@@ -2831,252 +1564,117 @@ |
}, |
"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. \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.", |
- "id": "ReadGroupSet", |
+ "ListCoverageBucketsResponse": { |
+ "id": "ListCoverageBucketsResponse", |
"properties": { |
- "datasetId": { |
- "description": "The dataset ID.", |
- "type": "string" |
- }, |
- "filename": { |
- "description": "The filename of the original source file for this read group set, if any.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The read group set ID.", |
- "type": "string" |
- }, |
- "info": { |
- "additionalProperties": { |
- "description": "A string which maps to an array of values.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "description": "A string which maps to an array of values.", |
- "type": "object" |
- }, |
- "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.", |
+ "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", |
"type": "string" |
}, |
- "readGroups": { |
- "description": "The read groups in this set. There are typically 1-10 read groups in a read group set.", |
+ "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": "ReadGroup" |
+ "$ref": "CoverageBucket" |
}, |
"type": "array" |
}, |
- "referenceSetId": { |
- "description": "The reference set the reads in this read group set are aligned to.", |
+ "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.", |
- "id": "Reference", |
+ "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": { |
- "id": { |
- "description": "The Google generated immutable ID of the reference.", |
- "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" |
- }, |
- "ncbiTaxonId": { |
- "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) if not specified by the containing reference set.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "sourceAccessions": { |
- "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example GCF_000001405.26.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "range": { |
+ "$ref": "Range", |
+ "description": "The genomic coordinate range spanned by this bucket." |
}, |
- "sourceURI": { |
- "description": "The URI from which the sequence was obtained. Specifies a FASTA format file/string with one name, sequence pair.", |
- "type": "string" |
+ "meanCoverage": { |
+ "description": "The average number of reads which are aligned to each individual reference base in this bucket.", |
+ "format": "float", |
+ "type": "number" |
} |
}, |
"type": "object" |
}, |
- "ReferenceBound": { |
- "description": "ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.", |
- "id": "ReferenceBound", |
+ "Range": { |
+ "description": "A 0-based half-open genomic coordinate range for search requests.", |
+ "id": "Range", |
"properties": { |
"referenceName": { |
- "description": "The reference the bound is associate with.", |
+ "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`.", |
"type": "string" |
}, |
- "upperBound": { |
- "description": "An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.", |
+ "start": { |
+ "description": "The start position of the range on the reference, 0-based inclusive.", |
"format": "int64", |
"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.", |
- "id": "ReferenceSet", |
- "properties": { |
- "assemblyId": { |
- "description": "Public id of this reference set, such as GRCh37.", |
- "type": "string" |
- }, |
- "description": { |
- "description": "Free text description of this reference set.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The Google generated immutable ID of the reference set.", |
- "type": "string" |
- }, |
- "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 (e.g. 9606->human) indicating the species which this assembly 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, e.g. EBV in a human reference genome.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "referenceIds": { |
- "description": "The IDs of the reference objects that are part of this set. Reference.md5checksum must be unique within this set.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "sourceAccessions": { |
- "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example NC_000001.11.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "sourceURI": { |
- "description": "The URI from which the references were obtained.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "SearchAnnotationSetsRequest": { |
- "id": "SearchAnnotationSetsRequest", |
- "properties": { |
- "datasetIds": { |
- "description": "The dataset IDs to search within. Caller must have READ access to these datasets.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "description": "Only return annotations sets for which a substring of the name matches this string (case insensitive).", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Specifies number of results to return in a single page. If unspecified, it will default to 128. The maximum value is 1024.", |
- "format": "int32", |
- "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.", |
- "type": "string" |
- }, |
- "referenceSetId": { |
- "description": "If specified, only annotation sets associated with the given reference set are returned.", |
- "type": "string" |
- }, |
- "types": { |
- "description": "If specified, only annotation sets that have any of these types are returned.", |
- "items": { |
- "enum": [ |
- "GENE", |
- "GENERIC", |
- "TRANSCRIPT", |
- "VARIANT" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "SearchAnnotationSetsResponse": { |
- "id": "SearchAnnotationSetsResponse", |
- "properties": { |
- "annotationSets": { |
- "description": "The matching annotation sets.", |
- "items": { |
- "$ref": "AnnotationSet" |
- }, |
- "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.", |
+ "format": "int64", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "SearchAnnotationsRequest": { |
- "id": "SearchAnnotationsRequest", |
+ "SearchReadsRequest": { |
+ "description": "The read search request.", |
+ "id": "SearchReadsRequest", |
"properties": { |
- "annotationSetIds": { |
- "description": "The annotation sets to search within. The caller must have READ access to these annotation sets. Required. All queried annotation sets must have the same type.", |
+ "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`.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "pageSize": { |
- "description": "Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 2048.", |
- "format": "int32", |
- "type": "integer" |
+ "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`.", |
+ "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.", |
+ "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", |
+ "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. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.", |
"type": "string" |
}, |
- "range": { |
- "$ref": "QueryRange", |
- "description": "If specified, this query matches only annotations that overlap this range." |
+ "pageSize": { |
+ "description": "Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 2048.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "SearchAnnotationsResponse": { |
- "id": "SearchAnnotationsResponse", |
+ "SearchReadsResponse": { |
+ "description": "The read search response.", |
+ "id": "SearchReadsResponse", |
"properties": { |
- "annotations": { |
- "description": "The matching annotations.", |
+ "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.", |
"items": { |
- "$ref": "Annotation" |
+ "$ref": "Read" |
}, |
"type": "array" |
}, |
@@ -3087,222 +1685,304 @@ |
}, |
"type": "object" |
}, |
- "SearchCallSetsRequest": { |
- "description": "The call set search request.", |
- "id": "SearchCallSetsRequest", |
+ "Read": { |
+ "description": "A read alignment describes a linear alignment of a string of DNA to a [reference sequence][google.genomics.v1.Reference], 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][google.genomics.v1.ReadGroupSet]. ### 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", |
+ "id": "Read", |
"properties": { |
- "name": { |
- "description": "Only return call sets for which a substring of the name matches this string.", |
+ "id": { |
+ "description": "The server-generated read ID, unique across all reads. This is different from the `fragmentName`.", |
"type": "string" |
}, |
- "pageSize": { |
- "description": "The maximum number of call sets to return. If unspecified, defaults to 1000.", |
+ "readGroupId": { |
+ "description": "The ID of the read group this read belongs to. (Every read must belong to exactly one read group.)", |
+ "type": "string" |
+ }, |
+ "readGroupSetId": { |
+ "description": "The ID of the read group set this read belongs to. (Every read must belong to exactly one read group set.)", |
+ "type": "string" |
+ }, |
+ "fragmentName": { |
+ "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.", |
+ "type": "string" |
+ }, |
+ "properPlacement": { |
+ "description": "The orientation and the distance between reads from the fragment are consistent with the sequencing protocol (SAM flag 0x2)", |
+ "type": "boolean" |
+ }, |
+ "duplicateFragment": { |
+ "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400)", |
+ "type": "boolean" |
+ }, |
+ "fragmentLength": { |
+ "description": "The observed length of the fragment, equivalent to TLEN in SAM.", |
"format": "int32", |
"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.", |
+ "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": "SAM flag 0x200", |
+ "type": "boolean" |
+ }, |
+ "alignment": { |
+ "$ref": "LinearAlignment", |
+ "description": "The linear alignment for this alignment record. This field will be null if the read is unmapped." |
+ }, |
+ "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.", |
+ "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" |
+ }, |
+ "alignedSequence": { |
+ "description": "The bases of the read sequence contained in this alignment record, *without CIGAR operations applied*. `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.", |
"type": "string" |
}, |
- "variantSetIds": { |
- "description": "Restrict the query to call sets within the given variant sets. At least one ID must be provided.", |
+ "alignedQuality": { |
+ "description": "The quality of the read sequence contained in this alignment record. `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": { |
- "type": "string" |
+ "format": "int32", |
+ "type": "integer" |
}, |
"type": "array" |
+ }, |
+ "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." |
+ }, |
+ "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" |
} |
}, |
"type": "object" |
}, |
- "SearchCallSetsResponse": { |
- "description": "The call set search response.", |
- "id": "SearchCallSetsResponse", |
+ "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", |
"properties": { |
- "callSets": { |
- "description": "The list of matching call sets.", |
+ "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.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "cigar": { |
+ "description": "Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.", |
"items": { |
- "$ref": "CallSet" |
+ "$ref": "CigarUnit" |
}, |
"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" |
}, |
- "SearchJobsRequest": { |
- "description": "The jobs search request.", |
- "id": "SearchJobsRequest", |
+ "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": { |
- "createdAfter": { |
- "description": "If specified, only jobs created on or after this date, given in milliseconds since Unix epoch, will be returned.", |
- "format": "int64", |
+ "referenceName": { |
+ "description": "The name of the reference in whatever reference set is being used.", |
"type": "string" |
}, |
- "createdBefore": { |
- "description": "If specified, only jobs created prior to this date, given in milliseconds since Unix epoch, will be returned.", |
+ "position": { |
+ "description": "The 0-based offset from the start of the forward strand for that reference.", |
"format": "int64", |
"type": "string" |
}, |
- "pageSize": { |
- "description": "Specifies the number of results to return in a single page. Defaults to 128. The maximum value is 256.", |
- "format": "int32", |
- "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 the nextPageToken from the previous response.", |
+ "reverseStrand": { |
+ "description": "Whether this position is on the reverse strand, as opposed to the forward strand.", |
+ "type": "boolean" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CigarUnit": { |
+ "description": "A single CIGAR operation.", |
+ "id": "CigarUnit", |
+ "properties": { |
+ "operation": { |
+ "enum": [ |
+ "OPERATION_UNSPECIFIED", |
+ "ALIGNMENT_MATCH", |
+ "INSERT", |
+ "DELETE", |
+ "SKIP", |
+ "CLIP_SOFT", |
+ "CLIP_HARD", |
+ "PAD", |
+ "SEQUENCE_MATCH", |
+ "SEQUENCE_MISMATCH" |
+ ], |
"type": "string" |
}, |
- "projectNumber": { |
- "description": "Required. Only return jobs which belong to this Google Developers Console project.", |
+ "operationLength": { |
+ "description": "The number of genomic bases that the operation runs for. Required.", |
"format": "int64", |
"type": "string" |
}, |
- "status": { |
- "description": "Only return jobs which have a matching status.", |
- "items": { |
- "enum": [ |
- "CANCELED", |
- "FAILURE", |
- "NEW", |
- "PENDING", |
- "RUNNING", |
- "SUCCESS", |
- "UNKNOWN_STATUS" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- }, |
- "type": "array" |
+ "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.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "SearchJobsResponse": { |
- "description": "The job search response.", |
- "id": "SearchJobsResponse", |
+ "SearchReferenceSetsRequest": { |
+ "id": "SearchReferenceSetsRequest", |
"properties": { |
- "jobs": { |
- "description": "The list of jobs results, ordered newest to oldest.", |
+ "md5checksums": { |
+ "description": "If present, return references for which the `md5checksum` matches. See `ReferenceSet.md5checksum` for details.", |
"items": { |
- "$ref": "Job" |
+ "type": "string" |
}, |
"type": "array" |
}, |
- "nextPageToken": { |
- "description": "The continuation token which is used to page through large result sets. Provide this value is a subsequent request to return the next page of results. This field will be empty if there are no more results.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "SearchReadGroupSetsRequest": { |
- "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.", |
+ "accessions": { |
+ "description": "If present, return references for which the accession matches any of these strings. Best to give a version number, for example `GCF_000001405.26`. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "name": { |
- "description": "Only return read group sets for which a substring of the name matches this string.", |
+ "assemblyId": { |
+ "description": "If present, return reference sets for which a substring of their `assemblyId` matches this string (case insensitive).", |
+ "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.", |
"type": "string" |
}, |
"pageSize": { |
- "description": "Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 1024.", |
+ "description": "Specifies the maximum number of results to return in a single page.", |
"format": "int32", |
"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.", |
- "type": "string" |
} |
}, |
"type": "object" |
}, |
- "SearchReadGroupSetsResponse": { |
- "description": "The read group set search response.", |
- "id": "SearchReadGroupSetsResponse", |
+ "SearchReferenceSetsResponse": { |
+ "id": "SearchReferenceSetsResponse", |
"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.", |
- "type": "string" |
- }, |
- "readGroupSets": { |
- "description": "The list of matching read group sets.", |
+ "referenceSets": { |
+ "description": "The matching references sets.", |
"items": { |
- "$ref": "ReadGroupSet" |
+ "$ref": "ReferenceSet" |
}, |
"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" |
}, |
- "SearchReadsRequest": { |
- "description": "The read search request.", |
- "id": "SearchReadsRequest", |
+ "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.", |
+ "id": "ReferenceSet", |
"properties": { |
- "end": { |
- "description": "The end position of the range on the reference, 0-based exclusive. If specified, referenceName must also be specified.", |
- "format": "int64", |
+ "id": { |
+ "description": "The server-generated reference set ID, unique across all reference sets.", |
"type": "string" |
}, |
- "pageSize": { |
- "description": "Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 2048.", |
+ "referenceIds": { |
+ "description": "The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set.", |
+ "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 (e.g. 9606->human) indicating the species which this assembly 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, e.g. EBV in a human reference genome.", |
"format": "int32", |
"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.", |
+ "description": { |
+ "description": "Free text description of this reference set.", |
"type": "string" |
}, |
- "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.", |
+ "assemblyId": { |
+ "description": "Public id of this reference set, such as `GRCh37`.", |
+ "type": "string" |
+ }, |
+ "sourceUri": { |
+ "description": "The URI from which the references were obtained.", |
+ "type": "string" |
+ }, |
+ "sourceAccessions": { |
+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "SearchReferencesRequest": { |
+ "id": "SearchReferencesRequest", |
+ "properties": { |
+ "md5checksums": { |
+ "description": "If present, return references for which the `md5checksum` matches. See `Reference.md5checksum` for construction details.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "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.", |
+ "accessions": { |
+ "description": "If present, return references for which the accession matches this string. Best to give a version number, for example `GCF_000001405.26`. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.", |
"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.", |
+ "referenceSetId": { |
+ "description": "If present, return only references which belong to this reference 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", |
+ "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.", |
"type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "Specifies the maximum number of results to return in a single page.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "SearchReadsResponse": { |
- "description": "The read search response.", |
- "id": "SearchReadsResponse", |
+ "SearchReferencesResponse": { |
+ "id": "SearchReferencesResponse", |
"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 last and are further sorted in ascending lexicographic order by fragment name.", |
+ "references": { |
+ "description": "The matching references.", |
"items": { |
- "$ref": "Read" |
+ "$ref": "Reference" |
}, |
"type": "array" |
}, |
@@ -3313,104 +1993,220 @@ |
}, |
"type": "object" |
}, |
- "SearchReferenceSetsRequest": { |
- "description": "", |
- "id": "SearchReferenceSetsRequest", |
+ "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.", |
+ "id": "Reference", |
"properties": { |
- "accessions": { |
- "description": "If present, return references for which the accession matches any of these strings. Best to give a version number, for example GCF_000001405.26. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "id": { |
+ "description": "The server-generated reference ID, unique across all references.", |
+ "type": "string" |
}, |
- "assemblyId": { |
- "description": "If present, return reference sets for which a substring of their assemblyId matches this string (case insensitive).", |
+ "length": { |
+ "description": "The length of this reference's sequence.", |
+ "format": "int64", |
"type": "string" |
}, |
- "md5checksums": { |
- "description": "If present, return references for which the md5checksum matches. See ReferenceSet.md5checksum for details.", |
+ "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. Specifies a FASTA format file/string with one name, sequence pair.", |
+ "type": "string" |
+ }, |
+ "sourceAccessions": { |
+ "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "pageSize": { |
- "description": "Specifies the maximum number of results to return in a single page.", |
+ "ncbiTaxonId": { |
+ "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) if not specified by the containing reference set.", |
"format": "int32", |
"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.", |
- "type": "string" |
} |
}, |
"type": "object" |
}, |
- "SearchReferenceSetsResponse": { |
- "id": "SearchReferenceSetsResponse", |
+ "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.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "sequence": { |
+ "description": "A substring of the bases that make up this reference.", |
+ "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.", |
"type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ImportVariantsRequest": { |
+ "description": "The variant data import request.", |
+ "id": "ImportVariantsRequest", |
+ "properties": { |
+ "variantSetId": { |
+ "description": "Required. The variant set to which variant data should be imported.", |
+ "type": "string" |
}, |
- "referenceSets": { |
- "description": "The matching references sets.", |
+ "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.", |
"items": { |
- "$ref": "ReferenceSet" |
+ "type": "string" |
}, |
"type": "array" |
+ }, |
+ "format": { |
+ "description": "The format of the variant data being imported. If unspecified, defaults to to `VCF`.", |
+ "enum": [ |
+ "FORMAT_UNSPECIFIED", |
+ "FORMAT_VCF", |
+ "FORMAT_COMPLETE_GENOMICS" |
+ ], |
+ "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" |
} |
}, |
"type": "object" |
}, |
- "SearchReferencesRequest": { |
- "description": "", |
- "id": "SearchReferencesRequest", |
+ "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.", |
+ "id": "VariantSet", |
"properties": { |
- "accessions": { |
- "description": "If present, return references for which the accession matches this string. Best to give a version number, for example GCF_000001405.26. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.", |
+ "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" |
+ }, |
+ "referenceBounds": { |
+ "description": "A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.", |
"items": { |
- "type": "string" |
+ "$ref": "ReferenceBound" |
}, |
"type": "array" |
}, |
- "md5checksums": { |
- "description": "If present, return references for which the md5checksum matches. See Reference.md5checksum for construction details.", |
+ "metadata": { |
+ "description": "The metadata associated with this variant set.", |
"items": { |
- "type": "string" |
+ "$ref": "VariantSetMetadata" |
}, |
"type": "array" |
- }, |
- "pageSize": { |
- "description": "Specifies the maximum number of results to return in a single page.", |
- "format": "int32", |
- "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.", |
+ } |
+ }, |
+ "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 reference the bound is associate with.", |
"type": "string" |
}, |
- "referenceSetId": { |
- "description": "If present, return only references which belong to this reference set.", |
+ "upperBound": { |
+ "description": "An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.", |
+ "format": "int64", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "SearchReferencesResponse": { |
- "id": "SearchReferencesResponse", |
+ "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", |
"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.", |
+ "key": { |
+ "description": "The top-level key.", |
"type": "string" |
}, |
- "references": { |
- "description": "The matching references.", |
+ "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" |
+ }, |
+ "number": { |
+ "description": "The number of values that can be included in a field described by this metadata.", |
+ "type": "string" |
+ }, |
+ "description": { |
+ "description": "A textual description of this metadata.", |
+ "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" |
+ }, |
+ "ExportVariantSetRequest": { |
+ "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": { |
- "$ref": "Reference" |
+ "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" |
+ ], |
+ "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\".", |
+ "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.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -3426,14 +2222,14 @@ |
}, |
"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.", |
+ "type": "string" |
+ }, |
"pageSize": { |
"description": "The maximum number of variant sets to return in a request.", |
"format": "int32", |
"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.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -3442,16 +2238,16 @@ |
"description": "The search variant sets response.", |
"id": "SearchVariantSetsResponse", |
"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.", |
- "type": "string" |
- }, |
"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.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -3460,31 +2256,23 @@ |
"description": "The variant search request.", |
"id": "SearchVariantsRequest", |
"properties": { |
- "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. Currently, variants with no calls from any call set will never be returned.", |
+ "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" |
}, |
- "end": { |
- "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to the length of the reference.", |
- "format": "int64", |
+ "variantName": { |
+ "description": "Only return variants which have exactly this name.", |
"type": "string" |
}, |
- "maxCalls": { |
- "description": "The maximum number of calls to return. However, at least one variant will always be returned, even if it has more calls than this limit. If unspecified, defaults to 5000.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "pageSize": { |
- "description": "The maximum number of variants to return. If unspecified, defaults to 5000.", |
- "format": "int32", |
- "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.", |
- "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. Currently, variants with no calls from any call set will never be returned.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
}, |
"referenceName": { |
"description": "Required. Only return variants in this reference sequence.", |
@@ -3495,16 +2283,24 @@ |
"format": "int64", |
"type": "string" |
}, |
- "variantName": { |
- "description": "Only return variants which have exactly this name.", |
+ "end": { |
+ "description": "The end of the window, 0-based exclusive. If unspecified or 0, defaults to the length of the reference.", |
+ "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.", |
"type": "string" |
}, |
- "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" |
+ "pageSize": { |
+ "description": "The maximum number of variants to return. If unspecified, defaults to 5000.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "maxCalls": { |
+ "description": "The maximum number of calls to return. However, at least one variant will always be returned, even if it has more calls than this limit. If unspecified, defaults to 5000.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -3513,82 +2309,62 @@ |
"description": "The variant search response.", |
"id": "SearchVariantsResponse", |
"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.", |
- "type": "string" |
- }, |
"variants": { |
"description": "The list of matching Variants.", |
"items": { |
"$ref": "Variant" |
}, |
"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" |
}, |
- "Transcript": { |
- "description": "A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.", |
- "id": "Transcript", |
+ "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. 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", |
"properties": { |
- "codingSequence": { |
- "$ref": "TranscriptCodingSequence", |
- "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.\n\nNote 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." |
+ "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" |
}, |
- "exons": { |
- "description": "The exons that compose this transcript. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes.\n\n\nIntrons 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.\n\n\nExonic 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.\n\n\nExons are ordered by start position and may not overlap.", |
+ "names": { |
+ "description": "Names for the variant, for example a RefSNP ID.", |
"items": { |
- "$ref": "TranscriptExon" |
+ "type": "string" |
}, |
"type": "array" |
}, |
- "geneId": { |
- "description": "The annotation ID of the gene from which this transcript is transcribed.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "TranscriptCodingSequence": { |
- "id": "TranscriptCodingSequence", |
- "properties": { |
- "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.", |
+ "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 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.", |
+ "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" |
- } |
- }, |
- "type": "object" |
- }, |
- "TranscriptExon": { |
- "id": "TranscriptExon", |
- "properties": { |
+ }, |
"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.", |
+ "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": "string" |
}, |
- "frame": { |
- "$ref": "Int32Value", |
- "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.position.reverseStrand). 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.\n\nUnset 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." |
- }, |
- "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", |
+ "referenceBases": { |
+ "description": "The reference bases for this variant. They start at the given position.", |
"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. 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", |
- "properties": { |
+ }, |
"alternateBases": { |
"description": "The bases that appear instead of the reference bases.", |
"items": { |
@@ -3596,252 +2372,240 @@ |
}, |
"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.", |
+ "items": { |
+ "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" |
+ }, |
"calls": { |
"description": "The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.", |
"items": { |
- "$ref": "Call" |
+ "$ref": "VariantCall" |
}, |
"type": "array" |
- }, |
- "created": { |
- "description": "The date this variant was created, in milliseconds from the epoch.", |
- "format": "int64", |
+ } |
+ }, |
+ "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", |
+ "properties": { |
+ "callSetId": { |
+ "description": "The ID of the call set this variant call belongs to.", |
"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", |
+ "callSetName": { |
+ "description": "The name of the call set this variant call belongs to.", |
"type": "string" |
}, |
- "filter": { |
- "description": "A list of filters (normally quality filters) this variant has failed. PASS indicates this variant has passed all filters.", |
+ "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": { |
- "type": "string" |
+ "format": "int32", |
+ "type": "integer" |
}, |
"type": "array" |
}, |
- "id": { |
- "description": "The Google generated ID of the variant, immutable.", |
+ "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 `*`.", |
"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`.", |
+ "items": { |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "type": "array" |
+ }, |
"info": { |
"additionalProperties": { |
- "description": "A string which maps to an array of values.", |
"items": { |
- "type": "string" |
+ "type": "any" |
}, |
"type": "array" |
}, |
- "description": "A string which maps to an array of values.", |
+ "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" |
- }, |
- "names": { |
- "description": "Names for the variant, for example a RefSNP ID.", |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "SearchCallSetsRequest": { |
+ "description": "The call set search request.", |
+ "id": "SearchCallSetsRequest", |
+ "properties": { |
+ "variantSetIds": { |
+ "description": "Restrict the query to call sets within the given variant sets. At least one ID must be provided.", |
"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" |
- }, |
- "referenceBases": { |
- "description": "The reference bases for this variant. They start at the given position.", |
- "type": "string" |
- }, |
- "referenceName": { |
- "description": "The reference on which this variant occurs. (such as chr20 or X)", |
+ "name": { |
+ "description": "Only return call sets for which a substring of the name matches this string.", |
"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", |
+ "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.", |
"type": "string" |
}, |
- "variantSetId": { |
- "description": "The ID of the variant set this variant belongs to.", |
- "type": "string" |
+ "pageSize": { |
+ "description": "The maximum number of call sets to return. If unspecified, defaults to 1000.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "VariantAnnotation": { |
- "description": "A Variant annotation.", |
- "id": "VariantAnnotation", |
+ "SearchCallSetsResponse": { |
+ "description": "The call set search response.", |
+ "id": "SearchCallSetsResponse", |
"properties": { |
- "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.", |
- "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": [ |
- "ASSOCIATION", |
- "BENIGN", |
- "CLINICAL_SIGNIFICANCE_UNSPECIFIED", |
- "CONFERS_SENSITIVITY", |
- "DRUG_RESPONSE", |
- "HISTOCOMPATIBILITY", |
- "LIKELY_BENIGN", |
- "LIKELY_PATHOGENIC", |
- "MULTIPLE_REPORTED", |
- "OTHER", |
- "PATHOGENIC", |
- "PROTECTIVE", |
- "RISK_FACTOR", |
- "UNCERTAIN" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
- "type": "string" |
- }, |
- "conditions": { |
- "description": "The set of conditions associated with this variant. A condition describes the way a variant influences human health.", |
+ "callSets": { |
+ "description": "The list of matching call sets.", |
"items": { |
- "$ref": "VariantAnnotationCondition" |
+ "$ref": "CallSet" |
}, |
"type": "array" |
}, |
- "effect": { |
- "description": "Effect of the variant on the coding sequence.", |
- "enum": [ |
- "EFFECT_UNSPECIFIED", |
- "FRAMESHIFT", |
- "FRAME_PRESERVING_INDEL", |
- "NONSYNONYMOUS_SNP", |
- "OTHER", |
- "SPLICE_SITE_DISRUPTION", |
- "STOP_GAIN", |
- "STOP_LOSS", |
- "SYNONYMOUS_SNP" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
+ "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.", |
+ "id": "CallSet", |
+ "properties": { |
+ "id": { |
+ "description": "The server-generated call set ID, unique across all call sets.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The call set name.", |
"type": "string" |
}, |
- "geneId": { |
- "description": "Google annotation ID of the gene affected by this variant. This should be provided when the variant is created.", |
+ "sampleId": { |
+ "description": "The sample ID this call set corresponds to.", |
"type": "string" |
}, |
- "transcriptIds": { |
- "description": "Google annotation IDs of the transcripts affected by this variant. These should be provided when the variant is created.", |
+ "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" |
}, |
- "type": { |
- "description": "Type has been adapted from ClinVar's list of variant types.", |
- "enum": [ |
- "CNV", |
- "DELETION", |
- "INSERTION", |
- "OTHER", |
- "SNP", |
- "STRUCTURAL", |
- "SUBSTITUTION", |
- "TYPE_UNSPECIFIED" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "", |
- "" |
- ], |
+ "created": { |
+ "description": "The date this call set was created in milliseconds from the epoch.", |
+ "format": "int64", |
"type": "string" |
+ }, |
+ "info": { |
+ "additionalProperties": { |
+ "items": { |
+ "type": "any" |
+ }, |
+ "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).", |
+ "type": "object" |
} |
}, |
"type": "object" |
}, |
- "VariantAnnotationCondition": { |
- "description": "", |
- "id": "VariantAnnotationCondition", |
+ "ImportReadGroupSetsResponse": { |
+ "description": "The read group set import response.", |
+ "id": "ImportReadGroupSetsResponse", |
"properties": { |
- "conceptId": { |
- "description": "The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/", |
- "type": "string" |
- }, |
- "externalIds": { |
- "description": "The set of external IDs for this condition.", |
+ "readGroupSetIds": { |
+ "description": "IDs of the read group sets that were created.", |
"items": { |
- "$ref": "ExternalId" |
+ "type": "string" |
}, |
"type": "array" |
- }, |
- "names": { |
- "description": "A set of names for the condition.", |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ImportVariantsResponse": { |
+ "description": "The variant data import response.", |
+ "id": "ImportVariantsResponse", |
+ "properties": { |
+ "callSetIds": { |
+ "description": "IDs of the call sets that were created.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
- }, |
- "omimId": { |
- "description": "The OMIM id for this condition. Search for these IDs at http://omim.org/", |
- "type": "string" |
} |
}, |
"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.", |
- "id": "VariantSet", |
+ "OperationMetadata": { |
+ "description": "Metadata describing an [Operation][google.longrunning.Operation].", |
+ "id": "OperationMetadata", |
"properties": { |
- "datasetId": { |
- "description": "The dataset to which this variant set belongs. Immutable.", |
+ "projectId": { |
+ "description": "The Google Cloud Project in which the job is scoped.", |
"type": "string" |
}, |
- "id": { |
- "description": "The Google-generated ID of the variant set. Immutable.", |
+ "createTime": { |
+ "description": "The time at which the job was submitted to the Genomics service.", |
"type": "string" |
}, |
- "metadata": { |
- "description": "The metadata associated with this variant set.", |
- "items": { |
- "$ref": "Metadata" |
+ "request": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @ype with type URL.", |
+ "type": "any" |
}, |
- "type": "array" |
+ "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" |
}, |
- "referenceBounds": { |
- "description": "A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.", |
+ "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.", |
"items": { |
- "$ref": "ReferenceBound" |
+ "$ref": "OperationEvent" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
+ }, |
+ "OperationEvent": { |
+ "description": "An event that occurred during an [Operation][google.longrunning.Operation].", |
+ "id": "OperationEvent", |
+ "properties": { |
+ "description": { |
+ "description": "Required description of event.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
- "servicePath": "genomics/v1beta2/", |
+ "servicePath": "", |
"title": "Genomics API", |
- "version": "v1beta2" |
+ "version": "v1" |
} |