OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis_beta.genomics.v1beta2; | 3 library googleapis_beta.genomics.v1beta2; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1503 uploadOptions: _uploadOptions, | 1503 uploadOptions: _uploadOptions, |
1504 uploadMedia: _uploadMedia, | 1504 uploadMedia: _uploadMedia, |
1505 downloadOptions: _downloadOptions); | 1505 downloadOptions: _downloadOptions); |
1506 return _response.then((data) => null); | 1506 return _response.then((data) => null); |
1507 } | 1507 } |
1508 | 1508 |
1509 /** | 1509 /** |
1510 * Exports read group sets to a BAM file in Google Cloud Storage. | 1510 * Exports read group sets to a BAM file in Google Cloud Storage. |
1511 * | 1511 * |
1512 * Note that currently there may be some differences between exported BAM | 1512 * Note that currently there may be some differences between exported BAM |
1513 * files and the original BAM file at the time of import. In particular, | 1513 * files and the original BAM file at the time of import. See |
1514 * comments in the input file header will not be preserved, some custom tags | 1514 * ImportReadGroupSets for details. |
1515 * will be converted to strings, and original reference sequence order is not | |
1516 * necessarily preserved. | |
1517 * | 1515 * |
1518 * [request] - The metadata request object. | 1516 * [request] - The metadata request object. |
1519 * | 1517 * |
1520 * Request parameters: | 1518 * Request parameters: |
1521 * | 1519 * |
1522 * Completes with a [ExportReadGroupSetsResponse]. | 1520 * Completes with a [ExportReadGroupSetsResponse]. |
1523 * | 1521 * |
1524 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1522 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1525 * error. | 1523 * error. |
1526 * | 1524 * |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1585 body: _body, | 1583 body: _body, |
1586 queryParams: _queryParams, | 1584 queryParams: _queryParams, |
1587 uploadOptions: _uploadOptions, | 1585 uploadOptions: _uploadOptions, |
1588 uploadMedia: _uploadMedia, | 1586 uploadMedia: _uploadMedia, |
1589 downloadOptions: _downloadOptions); | 1587 downloadOptions: _downloadOptions); |
1590 return _response.then((data) => new ReadGroupSet.fromJson(data)); | 1588 return _response.then((data) => new ReadGroupSet.fromJson(data)); |
1591 } | 1589 } |
1592 | 1590 |
1593 /** | 1591 /** |
1594 * Creates read group sets by asynchronously importing the provided | 1592 * Creates read group sets by asynchronously importing the provided |
1595 * information. | 1593 * information. The caller must have WRITE permissions to the dataset. |
1596 * | 1594 * |
1597 * Note that currently comments in the input file header are not imported and | 1595 * Notes on BAM import: |
1598 * some custom tags will be converted to strings, rather than preserving tag | 1596 * - Tags will be converted to strings - tag types are not preserved |
1599 * types. The caller must have WRITE permissions to the dataset. | 1597 * - Comments (@CO) in the input file header are not imported |
| 1598 * - Original order of reference headers is not preserved |
| 1599 * - Any reverse stranded unmapped reads will be reverse complemented, and |
| 1600 * their qualities (and "BQ" tag, if any) will be reversed |
| 1601 * - Unmapped reads will be stripped of positional information (referenceName |
| 1602 * and position) |
1600 * | 1603 * |
1601 * [request] - The metadata request object. | 1604 * [request] - The metadata request object. |
1602 * | 1605 * |
1603 * Request parameters: | 1606 * Request parameters: |
1604 * | 1607 * |
1605 * Completes with a [ImportReadGroupSetsResponse]. | 1608 * Completes with a [ImportReadGroupSetsResponse]. |
1606 * | 1609 * |
1607 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1610 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1608 * error. | 1611 * error. |
1609 * | 1612 * |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2402 | 2405 |
2403 class VariantsetsResourceApi { | 2406 class VariantsetsResourceApi { |
2404 final commons.ApiRequester _requester; | 2407 final commons.ApiRequester _requester; |
2405 | 2408 |
2406 VariantsetsResourceApi(commons.ApiRequester client) : | 2409 VariantsetsResourceApi(commons.ApiRequester client) : |
2407 _requester = client; | 2410 _requester = client; |
2408 | 2411 |
2409 /** | 2412 /** |
2410 * Creates a new variant set (only necessary in v1). | 2413 * Creates a new variant set (only necessary in v1). |
2411 * | 2414 * |
| 2415 * The provided variant set must have a valid datasetId set - all other fields |
| 2416 * are optional. Note that the id field will be ignored, as this is assigned |
| 2417 * by the server. |
| 2418 * |
2412 * [request] - The metadata request object. | 2419 * [request] - The metadata request object. |
2413 * | 2420 * |
2414 * Request parameters: | 2421 * Request parameters: |
2415 * | 2422 * |
2416 * Completes with a [VariantSet]. | 2423 * Completes with a [VariantSet]. |
2417 * | 2424 * |
2418 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 2425 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
2419 * error. | 2426 * error. |
2420 * | 2427 * |
2421 * If the used [http.Client] completes with an error when making a REST call, | 2428 * If the used [http.Client] completes with an error when making a REST call, |
(...skipping 4848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7270 } | 7277 } |
7271 if (metadata != null) { | 7278 if (metadata != null) { |
7272 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); | 7279 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); |
7273 } | 7280 } |
7274 if (referenceBounds != null) { | 7281 if (referenceBounds != null) { |
7275 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); | 7282 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); |
7276 } | 7283 } |
7277 return _json; | 7284 return _json; |
7278 } | 7285 } |
7279 } | 7286 } |
OLD | NEW |