OLD | NEW |
1 library googleapis_beta.genomics.v1beta; | 1 library googleapis_beta.genomics.v1beta; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1504 body: _body, | 1504 body: _body, |
1505 queryParams: _queryParams, | 1505 queryParams: _queryParams, |
1506 uploadOptions: _uploadOptions, | 1506 uploadOptions: _uploadOptions, |
1507 uploadMedia: _uploadMedia, | 1507 uploadMedia: _uploadMedia, |
1508 downloadOptions: _downloadOptions); | 1508 downloadOptions: _downloadOptions); |
1509 return _response.then((data) => new Variant.fromJson(data)); | 1509 return _response.then((data) => new Variant.fromJson(data)); |
1510 } | 1510 } |
1511 | 1511 |
1512 /** | 1512 /** |
1513 * Creates variant data by asynchronously importing the provided information. | 1513 * Creates variant data by asynchronously importing the provided information. |
| 1514 * If the destination variant set already contains data, new variants will be |
| 1515 * merged according to the behavior of mergeVariants. |
1514 * | 1516 * |
1515 * [request] - The metadata request object. | 1517 * [request] - The metadata request object. |
1516 * | 1518 * |
1517 * Request parameters: | 1519 * Request parameters: |
1518 * | 1520 * |
1519 * Completes with a [ImportVariantsResponse]. | 1521 * Completes with a [ImportVariantsResponse]. |
1520 * | 1522 * |
1521 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 1523 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
1522 * error. | 1524 * error. |
1523 * | 1525 * |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1719 "GET", | 1721 "GET", |
1720 body: _body, | 1722 body: _body, |
1721 queryParams: _queryParams, | 1723 queryParams: _queryParams, |
1722 uploadOptions: _uploadOptions, | 1724 uploadOptions: _uploadOptions, |
1723 uploadMedia: _uploadMedia, | 1725 uploadMedia: _uploadMedia, |
1724 downloadOptions: _downloadOptions); | 1726 downloadOptions: _downloadOptions); |
1725 return _response.then((data) => new VariantSet.fromJson(data)); | 1727 return _response.then((data) => new VariantSet.fromJson(data)); |
1726 } | 1728 } |
1727 | 1729 |
1728 /** | 1730 /** |
| 1731 * Merges the given variants with existing variants. Each variant will be |
| 1732 * merged with an existing variant that matches its reference sequence, start, |
| 1733 * end, reference bases, and alternative bases. If no such variant exists, a |
| 1734 * new one will be created. |
| 1735 * |
| 1736 * When variants are merged, the call information from the new variant is |
| 1737 * added to the existing variant, and other fields (such as key/value pairs) |
| 1738 * are discarded. |
| 1739 * |
| 1740 * [request] - The metadata request object. |
| 1741 * |
| 1742 * Request parameters: |
| 1743 * |
| 1744 * [variantSetId] - The destination variant set. |
| 1745 * |
| 1746 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
| 1747 * error. |
| 1748 * |
| 1749 * If the used [http.Client] completes with an error when making a REST call, |
| 1750 * this method will complete with the same error. |
| 1751 */ |
| 1752 async.Future mergeVariants(Variant request, core.String variantSetId) { |
| 1753 var _url = null; |
| 1754 var _queryParams = new core.Map(); |
| 1755 var _uploadMedia = null; |
| 1756 var _uploadOptions = null; |
| 1757 var _downloadOptions = common.DownloadOptions.Metadata; |
| 1758 var _body = null; |
| 1759 |
| 1760 if (request != null) { |
| 1761 _body = convert.JSON.encode((request).toJson()); |
| 1762 } |
| 1763 if (variantSetId == null) { |
| 1764 throw new core.ArgumentError("Parameter variantSetId is required."); |
| 1765 } |
| 1766 |
| 1767 _downloadOptions = null; |
| 1768 |
| 1769 _url = 'variantsets/' + common_internal.Escaper.ecapeVariable('$variantSetId
') + '/mergeVariants'; |
| 1770 |
| 1771 var _response = _requester.request(_url, |
| 1772 "POST", |
| 1773 body: _body, |
| 1774 queryParams: _queryParams, |
| 1775 uploadOptions: _uploadOptions, |
| 1776 uploadMedia: _uploadMedia, |
| 1777 downloadOptions: _downloadOptions); |
| 1778 return _response.then((data) => null); |
| 1779 } |
| 1780 |
| 1781 /** |
1729 * Returns a list of all variant sets matching search criteria. | 1782 * Returns a list of all variant sets matching search criteria. |
1730 * | 1783 * |
1731 * [request] - The metadata request object. | 1784 * [request] - The metadata request object. |
1732 * | 1785 * |
1733 * Request parameters: | 1786 * Request parameters: |
1734 * | 1787 * |
1735 * Completes with a [SearchVariantSetsResponse]. | 1788 * Completes with a [SearchVariantSetsResponse]. |
1736 * | 1789 * |
1737 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 1790 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
1738 * error. | 1791 * error. |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2046 _json["name"] = name; | 2099 _json["name"] = name; |
2047 } | 2100 } |
2048 if (projectId != null) { | 2101 if (projectId != null) { |
2049 _json["projectId"] = projectId; | 2102 _json["projectId"] = projectId; |
2050 } | 2103 } |
2051 return _json; | 2104 return _json; |
2052 } | 2105 } |
2053 } | 2106 } |
2054 | 2107 |
2055 | 2108 |
2056 /** The job creation request. */ | 2109 /** The job creation request. Next ID: 12 */ |
2057 class ExperimentalCreateJobRequest { | 2110 class ExperimentalCreateJobRequest { |
2058 /** | 2111 /** |
2059 * Specifies whether or not to run the alignment pipeline. At least one of | 2112 * Specifies whether or not to run the alignment pipeline. At least one of |
2060 * align or callVariants must be provided. | 2113 * align or callVariants must be provided. |
2061 */ | 2114 */ |
2062 core.bool align; | 2115 core.bool align; |
2063 | 2116 |
2064 /** | 2117 /** |
2065 * Specifies whether or not to run the variant calling pipeline. If specified, | 2118 * Specifies whether or not to run the variant calling pipeline. If specified, |
2066 * alignment will be performed first and the aligned BAMs will passed as input | 2119 * alignment will be performed first and the aligned BAMs will passed as input |
2067 * to the variant caller. At least one of align or callVariants must be | 2120 * to the variant caller. At least one of align or callVariants must be |
2068 * provided. | 2121 * provided. |
2069 */ | 2122 */ |
2070 core.bool callVariants; | 2123 core.bool callVariants; |
2071 | 2124 |
2072 /** | 2125 /** |
2073 * Specifies where to copy the results of certain pipelines. This should be in | 2126 * Specifies where to copy the results of certain pipelines. This should be in |
2074 * the form of gs://bucket/path. | 2127 * the form of gs://bucket/path. |
2075 */ | 2128 */ |
2076 core.String gcsOutputPath; | 2129 core.String gcsOutputPath; |
2077 | 2130 |
| 2131 /** For alignment from FASTQ files, this specifies the library name. */ |
| 2132 core.String libraryName; |
| 2133 |
2078 /** | 2134 /** |
2079 * A list of Google Cloud Storage URIs of paired end .fastq files to operate | 2135 * A list of Google Cloud Storage URIs of paired end .fastq files to operate |
2080 * upon. If specified, this represents the second file of each paired .fastq | 2136 * upon. If specified, this represents the second file of each paired .fastq |
2081 * file. The first file of each pair should be specified in sourceUris. | 2137 * file. The first file of each pair should be specified in sourceUris. |
2082 */ | 2138 */ |
2083 core.List<core.String> pairedSourceUris; | 2139 core.List<core.String> pairedSourceUris; |
2084 | 2140 |
| 2141 /** For alignment from FASTQ files, this specifies the platform name. */ |
| 2142 core.String platformName; |
| 2143 |
| 2144 /** For alignment from FASTQ files, this specifies the platform unit. */ |
| 2145 core.String platformUnit; |
| 2146 |
2085 /** | 2147 /** |
2086 * Required. The Google Cloud Project ID with which to associate the request. | 2148 * Required. The Google Cloud Project ID with which to associate the request. |
2087 */ | 2149 */ |
2088 core.String projectId; | 2150 core.String projectId; |
2089 | 2151 |
| 2152 /** For alignment from FASTQ files, this specifies the read group ID. */ |
| 2153 core.String readGroupId; |
| 2154 |
| 2155 /** For alignment from FASTQ files, this specifies the sample name. */ |
| 2156 core.String sampleName; |
| 2157 |
2090 /** | 2158 /** |
2091 * A list of Google Cloud Storage URIs of data files to operate upon. These | 2159 * A list of Google Cloud Storage URIs of data files to operate upon. These |
2092 * can be .bam, interleaved .fastq, or paired .fastq. If specifying paired | 2160 * can be .bam, interleaved .fastq, or paired .fastq. If specifying paired |
2093 * .fastq files, the first of each pair of files should be listed here, and | 2161 * .fastq files, the first of each pair of files should be listed here, and |
2094 * the second of each pair should be listed in pairedSourceUris. | 2162 * the second of each pair should be listed in pairedSourceUris. |
2095 */ | 2163 */ |
2096 core.List<core.String> sourceUris; | 2164 core.List<core.String> sourceUris; |
2097 | 2165 |
2098 | 2166 |
2099 ExperimentalCreateJobRequest(); | 2167 ExperimentalCreateJobRequest(); |
2100 | 2168 |
2101 ExperimentalCreateJobRequest.fromJson(core.Map _json) { | 2169 ExperimentalCreateJobRequest.fromJson(core.Map _json) { |
2102 if (_json.containsKey("align")) { | 2170 if (_json.containsKey("align")) { |
2103 align = _json["align"]; | 2171 align = _json["align"]; |
2104 } | 2172 } |
2105 if (_json.containsKey("callVariants")) { | 2173 if (_json.containsKey("callVariants")) { |
2106 callVariants = _json["callVariants"]; | 2174 callVariants = _json["callVariants"]; |
2107 } | 2175 } |
2108 if (_json.containsKey("gcsOutputPath")) { | 2176 if (_json.containsKey("gcsOutputPath")) { |
2109 gcsOutputPath = _json["gcsOutputPath"]; | 2177 gcsOutputPath = _json["gcsOutputPath"]; |
2110 } | 2178 } |
| 2179 if (_json.containsKey("libraryName")) { |
| 2180 libraryName = _json["libraryName"]; |
| 2181 } |
2111 if (_json.containsKey("pairedSourceUris")) { | 2182 if (_json.containsKey("pairedSourceUris")) { |
2112 pairedSourceUris = _json["pairedSourceUris"]; | 2183 pairedSourceUris = _json["pairedSourceUris"]; |
2113 } | 2184 } |
| 2185 if (_json.containsKey("platformName")) { |
| 2186 platformName = _json["platformName"]; |
| 2187 } |
| 2188 if (_json.containsKey("platformUnit")) { |
| 2189 platformUnit = _json["platformUnit"]; |
| 2190 } |
2114 if (_json.containsKey("projectId")) { | 2191 if (_json.containsKey("projectId")) { |
2115 projectId = _json["projectId"]; | 2192 projectId = _json["projectId"]; |
2116 } | 2193 } |
| 2194 if (_json.containsKey("readGroupId")) { |
| 2195 readGroupId = _json["readGroupId"]; |
| 2196 } |
| 2197 if (_json.containsKey("sampleName")) { |
| 2198 sampleName = _json["sampleName"]; |
| 2199 } |
2117 if (_json.containsKey("sourceUris")) { | 2200 if (_json.containsKey("sourceUris")) { |
2118 sourceUris = _json["sourceUris"]; | 2201 sourceUris = _json["sourceUris"]; |
2119 } | 2202 } |
2120 } | 2203 } |
2121 | 2204 |
2122 core.Map toJson() { | 2205 core.Map toJson() { |
2123 var _json = new core.Map(); | 2206 var _json = new core.Map(); |
2124 if (align != null) { | 2207 if (align != null) { |
2125 _json["align"] = align; | 2208 _json["align"] = align; |
2126 } | 2209 } |
2127 if (callVariants != null) { | 2210 if (callVariants != null) { |
2128 _json["callVariants"] = callVariants; | 2211 _json["callVariants"] = callVariants; |
2129 } | 2212 } |
2130 if (gcsOutputPath != null) { | 2213 if (gcsOutputPath != null) { |
2131 _json["gcsOutputPath"] = gcsOutputPath; | 2214 _json["gcsOutputPath"] = gcsOutputPath; |
2132 } | 2215 } |
| 2216 if (libraryName != null) { |
| 2217 _json["libraryName"] = libraryName; |
| 2218 } |
2133 if (pairedSourceUris != null) { | 2219 if (pairedSourceUris != null) { |
2134 _json["pairedSourceUris"] = pairedSourceUris; | 2220 _json["pairedSourceUris"] = pairedSourceUris; |
2135 } | 2221 } |
| 2222 if (platformName != null) { |
| 2223 _json["platformName"] = platformName; |
| 2224 } |
| 2225 if (platformUnit != null) { |
| 2226 _json["platformUnit"] = platformUnit; |
| 2227 } |
2136 if (projectId != null) { | 2228 if (projectId != null) { |
2137 _json["projectId"] = projectId; | 2229 _json["projectId"] = projectId; |
2138 } | 2230 } |
| 2231 if (readGroupId != null) { |
| 2232 _json["readGroupId"] = readGroupId; |
| 2233 } |
| 2234 if (sampleName != null) { |
| 2235 _json["sampleName"] = sampleName; |
| 2236 } |
2139 if (sourceUris != null) { | 2237 if (sourceUris != null) { |
2140 _json["sourceUris"] = sourceUris; | 2238 _json["sourceUris"] = sourceUris; |
2141 } | 2239 } |
2142 return _json; | 2240 return _json; |
2143 } | 2241 } |
2144 } | 2242 } |
2145 | 2243 |
2146 | 2244 |
2147 /** The job creation response. */ | 2245 /** The job creation response. */ |
2148 class ExperimentalCreateJobResponse { | 2246 class ExperimentalCreateJobResponse { |
(...skipping 21 matching lines...) Expand all Loading... |
2170 | 2268 |
2171 /** The readset export request. */ | 2269 /** The readset export request. */ |
2172 class ExportReadsetsRequest { | 2270 class ExportReadsetsRequest { |
2173 /** | 2271 /** |
2174 * A Google Cloud Storage URI where the exported BAM file will be created. The | 2272 * A Google Cloud Storage URI where the exported BAM file will be created. The |
2175 * currently authenticated user must have write access to the new file | 2273 * currently authenticated user must have write access to the new file |
2176 * location. An error will be returned if the URI already contains data. | 2274 * location. An error will be returned if the URI already contains data. |
2177 */ | 2275 */ |
2178 core.String exportUri; | 2276 core.String exportUri; |
2179 | 2277 |
2180 /** | 2278 /** The Google Developers Console project number that owns this export. */ |
2181 * The Google Developers Console project number that owns this export. This is | |
2182 * the project that will be billed. | |
2183 */ | |
2184 core.String projectId; | 2279 core.String projectId; |
2185 | 2280 |
2186 /** The IDs of the readsets to export. */ | 2281 /** The IDs of the readsets to export. */ |
2187 core.List<core.String> readsetIds; | 2282 core.List<core.String> readsetIds; |
2188 | 2283 |
2189 /** | 2284 /** |
2190 * The reference names to export. If this is not specified, all reference | 2285 * The reference names to export. If this is not specified, all reference |
2191 * sequences, including unmapped reads, are exported. Use * to export only | 2286 * sequences, including unmapped reads, are exported. Use * to export only |
2192 * unmapped reads. | 2287 * unmapped reads. |
2193 */ | 2288 */ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 } | 2346 } |
2252 return _json; | 2347 return _json; |
2253 } | 2348 } |
2254 } | 2349 } |
2255 | 2350 |
2256 | 2351 |
2257 /** The variant data export request. */ | 2352 /** The variant data export request. */ |
2258 class ExportVariantsRequest { | 2353 class ExportVariantsRequest { |
2259 /** | 2354 /** |
2260 * The BigQuery dataset to export data to. Note that this is distinct from the | 2355 * The BigQuery dataset to export data to. Note that this is distinct from the |
2261 * Genomics concept of "dataset". The caller must have WRITE access to this | 2356 * Genomics concept of "dataset". |
2262 * BigQuery dataset. | |
2263 */ | 2357 */ |
2264 core.String bigqueryDataset; | 2358 core.String bigqueryDataset; |
2265 | 2359 |
2266 /** | 2360 /** |
2267 * The BigQuery table to export data to. The caller must have WRITE access to | 2361 * The BigQuery table to export data to. If the table doesn't exist, it will |
2268 * this BigQuery table. | 2362 * be created. If it already exists, it will be overwritten. |
2269 */ | 2363 */ |
2270 core.String bigqueryTable; | 2364 core.String bigqueryTable; |
2271 | 2365 |
2272 /** | 2366 /** |
2273 * If provided, only variant call information from the specified call sets | 2367 * If provided, only variant call information from the specified call sets |
2274 * will be exported. By default all variant calls are exported. | 2368 * will be exported. By default all variant calls are exported. |
2275 */ | 2369 */ |
2276 core.List<core.String> callSetIds; | 2370 core.List<core.String> callSetIds; |
2277 | 2371 |
2278 /** | 2372 /** |
2279 * The format for the exported data. | 2373 * The format for the exported data. |
2280 * Possible string values are: | 2374 * Possible string values are: |
2281 * - "bigquery" | 2375 * - "bigquery" |
2282 */ | 2376 */ |
2283 core.String format; | 2377 core.String format; |
2284 | 2378 |
2285 /** | 2379 /** |
2286 * The Google Cloud project number that owns this export. This is the project | 2380 * The Google Cloud project number that owns the destination BigQuery dataset. |
2287 * that will be billed. | 2381 * The caller must have WRITE access to this project. This project will also |
| 2382 * own the resulting export job. |
2288 */ | 2383 */ |
2289 core.String projectId; | 2384 core.String projectId; |
2290 | 2385 |
2291 /** | 2386 /** |
2292 * Required. The ID of the variant set that contains variant data which should | 2387 * Required. The ID of the variant set that contains variant data which should |
2293 * be exported. The caller must have READ access to this variant set. | 2388 * be exported. The caller must have READ access to this variant set. |
2294 */ | 2389 */ |
2295 core.String variantSetId; | 2390 core.String variantSetId; |
2296 | 2391 |
2297 | 2392 |
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4274 core.String created; | 4369 core.String created; |
4275 | 4370 |
4276 /** | 4371 /** |
4277 * The end position (0-based) of this variant. This corresponds to the first | 4372 * The end position (0-based) of this variant. This corresponds to the first |
4278 * base after the last base in the reference allele. So, the length of the | 4373 * base after the last base in the reference allele. So, the length of the |
4279 * reference allele is (end - start). This is useful for variants that don't | 4374 * reference allele is (end - start). This is useful for variants that don't |
4280 * explicitly give alternate bases, for example large deletions. | 4375 * explicitly give alternate bases, for example large deletions. |
4281 */ | 4376 */ |
4282 core.String end; | 4377 core.String end; |
4283 | 4378 |
| 4379 /** |
| 4380 * A list of filters (normally quality filters) this variant has failed. PASS |
| 4381 * indicates this variant has passed all filters. |
| 4382 */ |
| 4383 core.List<core.String> filter; |
| 4384 |
4284 /** The Google generated ID of the variant, immutable. */ | 4385 /** The Google generated ID of the variant, immutable. */ |
4285 core.String id; | 4386 core.String id; |
4286 | 4387 |
4287 /** A map of additional variant information. */ | 4388 /** A map of additional variant information. */ |
4288 core.Map<core.String, core.List<core.String>> info; | 4389 core.Map<core.String, core.List<core.String>> info; |
4289 | 4390 |
4290 /** Names for the variant, for example a RefSNP ID. */ | 4391 /** Names for the variant, for example a RefSNP ID. */ |
4291 core.List<core.String> names; | 4392 core.List<core.String> names; |
4292 | 4393 |
4293 /** | 4394 /** |
| 4395 * A measure of how likely this variant is to be real. A higher value is |
| 4396 * better. |
| 4397 */ |
| 4398 core.double quality; |
| 4399 |
| 4400 /** |
4294 * The reference bases for this variant. They start at the given position. | 4401 * The reference bases for this variant. They start at the given position. |
4295 */ | 4402 */ |
4296 core.String referenceBases; | 4403 core.String referenceBases; |
4297 | 4404 |
4298 /** The reference on which this variant occurs. (such as chr20 or X) */ | 4405 /** The reference on which this variant occurs. (such as chr20 or X) */ |
4299 core.String referenceName; | 4406 core.String referenceName; |
4300 | 4407 |
4301 /** | 4408 /** |
4302 * The position at which this variant occurs (0-based). This corresponds to | 4409 * The position at which this variant occurs (0-based). This corresponds to |
4303 * the first base of the string of reference bases. | 4410 * the first base of the string of reference bases. |
(...skipping 12 matching lines...) Expand all Loading... |
4316 } | 4423 } |
4317 if (_json.containsKey("calls")) { | 4424 if (_json.containsKey("calls")) { |
4318 calls = _json["calls"].map((value) => new Call.fromJson(value)).toList(); | 4425 calls = _json["calls"].map((value) => new Call.fromJson(value)).toList(); |
4319 } | 4426 } |
4320 if (_json.containsKey("created")) { | 4427 if (_json.containsKey("created")) { |
4321 created = _json["created"]; | 4428 created = _json["created"]; |
4322 } | 4429 } |
4323 if (_json.containsKey("end")) { | 4430 if (_json.containsKey("end")) { |
4324 end = _json["end"]; | 4431 end = _json["end"]; |
4325 } | 4432 } |
| 4433 if (_json.containsKey("filter")) { |
| 4434 filter = _json["filter"]; |
| 4435 } |
4326 if (_json.containsKey("id")) { | 4436 if (_json.containsKey("id")) { |
4327 id = _json["id"]; | 4437 id = _json["id"]; |
4328 } | 4438 } |
4329 if (_json.containsKey("info")) { | 4439 if (_json.containsKey("info")) { |
4330 info = _json["info"]; | 4440 info = _json["info"]; |
4331 } | 4441 } |
4332 if (_json.containsKey("names")) { | 4442 if (_json.containsKey("names")) { |
4333 names = _json["names"]; | 4443 names = _json["names"]; |
4334 } | 4444 } |
| 4445 if (_json.containsKey("quality")) { |
| 4446 quality = _json["quality"]; |
| 4447 } |
4335 if (_json.containsKey("referenceBases")) { | 4448 if (_json.containsKey("referenceBases")) { |
4336 referenceBases = _json["referenceBases"]; | 4449 referenceBases = _json["referenceBases"]; |
4337 } | 4450 } |
4338 if (_json.containsKey("referenceName")) { | 4451 if (_json.containsKey("referenceName")) { |
4339 referenceName = _json["referenceName"]; | 4452 referenceName = _json["referenceName"]; |
4340 } | 4453 } |
4341 if (_json.containsKey("start")) { | 4454 if (_json.containsKey("start")) { |
4342 start = _json["start"]; | 4455 start = _json["start"]; |
4343 } | 4456 } |
4344 if (_json.containsKey("variantSetId")) { | 4457 if (_json.containsKey("variantSetId")) { |
4345 variantSetId = _json["variantSetId"]; | 4458 variantSetId = _json["variantSetId"]; |
4346 } | 4459 } |
4347 } | 4460 } |
4348 | 4461 |
4349 core.Map toJson() { | 4462 core.Map toJson() { |
4350 var _json = new core.Map(); | 4463 var _json = new core.Map(); |
4351 if (alternateBases != null) { | 4464 if (alternateBases != null) { |
4352 _json["alternateBases"] = alternateBases; | 4465 _json["alternateBases"] = alternateBases; |
4353 } | 4466 } |
4354 if (calls != null) { | 4467 if (calls != null) { |
4355 _json["calls"] = calls.map((value) => (value).toJson()).toList(); | 4468 _json["calls"] = calls.map((value) => (value).toJson()).toList(); |
4356 } | 4469 } |
4357 if (created != null) { | 4470 if (created != null) { |
4358 _json["created"] = created; | 4471 _json["created"] = created; |
4359 } | 4472 } |
4360 if (end != null) { | 4473 if (end != null) { |
4361 _json["end"] = end; | 4474 _json["end"] = end; |
4362 } | 4475 } |
| 4476 if (filter != null) { |
| 4477 _json["filter"] = filter; |
| 4478 } |
4363 if (id != null) { | 4479 if (id != null) { |
4364 _json["id"] = id; | 4480 _json["id"] = id; |
4365 } | 4481 } |
4366 if (info != null) { | 4482 if (info != null) { |
4367 _json["info"] = info; | 4483 _json["info"] = info; |
4368 } | 4484 } |
4369 if (names != null) { | 4485 if (names != null) { |
4370 _json["names"] = names; | 4486 _json["names"] = names; |
4371 } | 4487 } |
| 4488 if (quality != null) { |
| 4489 _json["quality"] = quality; |
| 4490 } |
4372 if (referenceBases != null) { | 4491 if (referenceBases != null) { |
4373 _json["referenceBases"] = referenceBases; | 4492 _json["referenceBases"] = referenceBases; |
4374 } | 4493 } |
4375 if (referenceName != null) { | 4494 if (referenceName != null) { |
4376 _json["referenceName"] = referenceName; | 4495 _json["referenceName"] = referenceName; |
4377 } | 4496 } |
4378 if (start != null) { | 4497 if (start != null) { |
4379 _json["start"] = start; | 4498 _json["start"] = start; |
4380 } | 4499 } |
4381 if (variantSetId != null) { | 4500 if (variantSetId != null) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4436 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); | 4555 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); |
4437 } | 4556 } |
4438 if (referenceBounds != null) { | 4557 if (referenceBounds != null) { |
4439 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); | 4558 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); |
4440 } | 4559 } |
4441 return _json; | 4560 return _json; |
4442 } | 4561 } |
4443 } | 4562 } |
4444 | 4563 |
4445 | 4564 |
OLD | NEW |