blob: c52c1fd2137344efe4f51b87f6cfcf0b493b213b [file] [log] [blame]
Craig Citroe633be12015-03-02 13:40:36 -08001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="genomics_v1beta2.html">Genomics API</a> . <a href="genomics_v1beta2.readgroupsets.html">readgroupsets</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="genomics_v1beta2.readgroupsets.coveragebuckets.html">coveragebuckets()</a></code>
79</p>
80<p class="firstline">Returns the coveragebuckets Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#align">align(body)</a></code></p>
84<p class="firstline">Aligns read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.</p>
85<p class="toc_element">
86 <code><a href="#call">call(body)</a></code></p>
87<p class="firstline">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.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(readGroupSetId)</a></code></p>
90<p class="firstline">Deletes a read group set.</p>
91<p class="toc_element">
92 <code><a href="#export">export(body)</a></code></p>
93<p class="firstline">Exports read group sets to a BAM file in Google Cloud Storage.</p>
94<p class="toc_element">
95 <code><a href="#get">get(readGroupSetId)</a></code></p>
96<p class="firstline">Gets a read group set by ID.</p>
97<p class="toc_element">
98 <code><a href="#import_">import_(body)</a></code></p>
Takashi Matsuo06694102015-09-11 13:55:40 -070099<p class="firstline">Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset.</p>
Craig Citroe633be12015-03-02 13:40:36 -0800100<p class="toc_element">
101 <code><a href="#patch">patch(readGroupSetId, body)</a></code></p>
102<p class="firstline">Updates a read group set. This method supports patch semantics.</p>
103<p class="toc_element">
104 <code><a href="#search">search(body)</a></code></p>
105<p class="firstline">Searches for read group sets matching the criteria.</p>
106<p class="toc_element">
107 <code><a href="#update">update(readGroupSetId, body)</a></code></p>
108<p class="firstline">Updates a read group set.</p>
109<h3>Method Details</h3>
110<div class="method">
111 <code class="details" id="align">align(body)</code>
112 <pre>Aligns read data from existing read group sets or files from Google Cloud Storage. See the alignment and variant calling documentation for more details.
113
114Args:
115 body: object, The request body. (required)
116 The object takes the form of:
117
118{ # The read group set align request.
119 "interleavedFastqSource": { # Describes an interleaved FASTQ file source for alignment. # 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.
120 "sourceUris": [ # 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.
121 "A String",
122 ],
123 "metadata": { # Optionally specifies the metadata to be associated with the final aligned read group set.
124 "readGroupName": "A String", # Optionally specifies the read group name for alignment from FASTQ.
125 "sampleName": "A String", # Optionally specifies the sample name for alignment from FASTQ.
126 "libraryName": "A String", # Optionally specifies the library name for alignment from FASTQ.
127 "platformName": "A String", # Optionally specifies the platform name for alignment from FASTQ. For example: CAPILLARY, LS454, ILLUMINA, SOLID, HELICOS, IONTORRENT, PACBIO.
128 "platformUnit": "A String", # Optionally specifies the platform unit for alignment from FASTQ. For example: flowcell-barcode.lane for Illumina or slide for SOLID.
129 },
130 },
131 "bamSourceUris": [ # 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.
132 "A String",
133 ],
134 "pairedFastqSource": { # Describes a paired-end FASTQ file source for alignment. # 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.
135 "secondSourceUris": [ # 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.
136 "A String",
137 ],
138 "metadata": { # Optionally specifies the metadata to be associated with the final aligned read group set.
139 "readGroupName": "A String", # Optionally specifies the read group name for alignment from FASTQ.
140 "sampleName": "A String", # Optionally specifies the sample name for alignment from FASTQ.
141 "libraryName": "A String", # Optionally specifies the library name for alignment from FASTQ.
142 "platformName": "A String", # Optionally specifies the platform name for alignment from FASTQ. For example: CAPILLARY, LS454, ILLUMINA, SOLID, HELICOS, IONTORRENT, PACBIO.
143 "platformUnit": "A String", # Optionally specifies the platform unit for alignment from FASTQ. For example: flowcell-barcode.lane for Illumina or slide for SOLID.
144 },
145 "firstSourceUris": [ # 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.
146 "A String",
147 ],
148 },
149 "readGroupSetId": "A String", # 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.
150 "datasetId": "A String", # Required. The ID of the dataset the newly aligned read group sets will belong to. The caller must have WRITE permissions to this dataset.
151 }
152
153
154Returns:
155 An object of the form:
156
157 { # The read group set align response.
158 "jobId": "A String", # A job ID that can be used to get status information.
159 }</pre>
160</div>
161
162<div class="method">
163 <code class="details" id="call">call(body)</code>
164 <pre>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.
165
166Args:
167 body: object, The request body. (required)
168 The object takes the form of:
169
170{ # The read group set call request.
171 "sourceUris": [ # 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.
172 "A String",
173 ],
174 "readGroupSetId": "A String", # 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.
175 "datasetId": "A String", # Required. The ID of the dataset the called variants will belong to. The caller must have WRITE permissions to this dataset.
176 }
177
178
179Returns:
180 An object of the form:
181
182 { # The read group set call response.
183 "jobId": "A String", # A job ID that can be used to get status information.
184 }</pre>
185</div>
186
187<div class="method">
188 <code class="details" id="delete">delete(readGroupSetId)</code>
189 <pre>Deletes a read group set.
190
191Args:
192 readGroupSetId: string, 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. (required)
193</pre>
194</div>
195
196<div class="method">
197 <code class="details" id="export">export(body)</code>
198 <pre>Exports read group sets to a BAM file in Google Cloud Storage.
199
Takashi Matsuo06694102015-09-11 13:55:40 -0700200Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for details.
Craig Citroe633be12015-03-02 13:40:36 -0800201
202Args:
203 body: object, The request body. (required)
204 The object takes the form of:
205
206{ # The read group set export request.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000207 "exportUri": "A String", # 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.
Craig Citroe633be12015-03-02 13:40:36 -0800208 "referenceNames": [ # The reference names to export. If this is not specified, all reference sequences, including unmapped reads, are exported. Use * to export only unmapped reads.
209 "A String",
210 ],
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000211 "readGroupSetIds": [ # Required. The IDs of the read group sets to export.
Craig Citroe633be12015-03-02 13:40:36 -0800212 "A String",
213 ],
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000214 "projectNumber": "A String", # Required. The Google Developers Console project number that owns this export.
Craig Citroe633be12015-03-02 13:40:36 -0800215 }
216
217
218Returns:
219 An object of the form:
220
221 { # The read group set export response.
222 "jobId": "A String", # A job ID that can be used to get status information.
223 }</pre>
224</div>
225
226<div class="method">
227 <code class="details" id="get">get(readGroupSetId)</code>
228 <pre>Gets a read group set by ID.
229
230Args:
231 readGroupSetId: string, The ID of the read group set. (required)
232
233Returns:
234 An object of the form:
235
236 { # 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.
237 # - A read group set belongs to one dataset.
238 # - A read group belongs to one read group set.
239 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000240 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800241 "a_key": [ # A string which maps to an array of values.
242 "A String",
243 ],
244 },
245 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
246 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
247 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000248 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800249 "a_key": [ # A string which maps to an array of values.
250 "A String",
251 ],
252 },
253 "predictedInsertSize": 42, # 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.
254 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
255 "programs": [ # 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.
256 {
257 "commandLine": "A String", # The command line used to run this program.
258 "prevProgramId": "A String", # The ID of the program run before this one.
259 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
260 "version": "A String", # The version of the program run.
261 "name": "A String", # The name of the program.
262 },
263 ],
264 "sampleId": "A String", # 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.
265 "experiment": { # The experiment used to generate this read group.
266 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
267 "libraryId": "A String", # 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.
268 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
269 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
270 },
271 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
272 "id": "A String", # 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.
273 "datasetId": "A String", # The ID of the dataset this read group belongs to.
274 "description": "A String", # A free-form text description of this read group.
275 },
276 ],
277 "filename": "A String", # The filename of the original source file for this read group set, if any.
278 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
279 "id": "A String", # The read group set ID.
280 "datasetId": "A String", # The dataset ID.
281 }</pre>
282</div>
283
284<div class="method">
285 <code class="details" id="import_">import_(body)</code>
Takashi Matsuo06694102015-09-11 13:55:40 -0700286 <pre>Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset.
Craig Citroe633be12015-03-02 13:40:36 -0800287
Takashi Matsuo06694102015-09-11 13:55:40 -0700288Notes on BAM import:
289- Tags will be converted to strings - tag types are not preserved
290- Comments (@CO) in the input file header are not imported
291- Original order of reference headers is not preserved
292- Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and "BQ" tag, if any) will be reversed
293- Unmapped reads will be stripped of positional information (referenceName and position)
Craig Citroe633be12015-03-02 13:40:36 -0800294
295Args:
296 body: object, The request body. (required)
297 The object takes the form of:
298
299{ # The read group set import request.
300 "referenceSetId": "A String", # 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.
301 "sourceUris": [ # A list of URIs pointing at BAM files in Google Cloud Storage.
302 "A String",
303 ],
304 "partitionStrategy": "A String", # The partition strategy describes how read groups are partitioned into read group sets.
305 "datasetId": "A String", # Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset.
306 }
307
308
309Returns:
310 An object of the form:
311
312 { # The read group set import response.
313 "jobId": "A String", # A job ID that can be used to get status information.
314 }</pre>
315</div>
316
317<div class="method">
318 <code class="details" id="patch">patch(readGroupSetId, body)</code>
319 <pre>Updates a read group set. This method supports patch semantics.
320
321Args:
322 readGroupSetId: string, 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. (required)
323 body: object, The request body. (required)
324 The object takes the form of:
325
326{ # 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.
327 # - A read group set belongs to one dataset.
328 # - A read group belongs to one read group set.
329 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000330 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800331 "a_key": [ # A string which maps to an array of values.
332 "A String",
333 ],
334 },
335 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
336 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
337 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000338 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800339 "a_key": [ # A string which maps to an array of values.
340 "A String",
341 ],
342 },
343 "predictedInsertSize": 42, # 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.
344 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
345 "programs": [ # 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.
346 {
347 "commandLine": "A String", # The command line used to run this program.
348 "prevProgramId": "A String", # The ID of the program run before this one.
349 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
350 "version": "A String", # The version of the program run.
351 "name": "A String", # The name of the program.
352 },
353 ],
354 "sampleId": "A String", # 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.
355 "experiment": { # The experiment used to generate this read group.
356 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
357 "libraryId": "A String", # 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.
358 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
359 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
360 },
361 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
362 "id": "A String", # 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.
363 "datasetId": "A String", # The ID of the dataset this read group belongs to.
364 "description": "A String", # A free-form text description of this read group.
365 },
366 ],
367 "filename": "A String", # The filename of the original source file for this read group set, if any.
368 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
369 "id": "A String", # The read group set ID.
370 "datasetId": "A String", # The dataset ID.
371}
372
373
374Returns:
375 An object of the form:
376
377 { # 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.
378 # - A read group set belongs to one dataset.
379 # - A read group belongs to one read group set.
380 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000381 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800382 "a_key": [ # A string which maps to an array of values.
383 "A String",
384 ],
385 },
386 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
387 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
388 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000389 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800390 "a_key": [ # A string which maps to an array of values.
391 "A String",
392 ],
393 },
394 "predictedInsertSize": 42, # 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.
395 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
396 "programs": [ # 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.
397 {
398 "commandLine": "A String", # The command line used to run this program.
399 "prevProgramId": "A String", # The ID of the program run before this one.
400 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
401 "version": "A String", # The version of the program run.
402 "name": "A String", # The name of the program.
403 },
404 ],
405 "sampleId": "A String", # 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.
406 "experiment": { # The experiment used to generate this read group.
407 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
408 "libraryId": "A String", # 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.
409 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
410 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
411 },
412 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
413 "id": "A String", # 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.
414 "datasetId": "A String", # The ID of the dataset this read group belongs to.
415 "description": "A String", # A free-form text description of this read group.
416 },
417 ],
418 "filename": "A String", # The filename of the original source file for this read group set, if any.
419 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
420 "id": "A String", # The read group set ID.
421 "datasetId": "A String", # The dataset ID.
422 }</pre>
423</div>
424
425<div class="method">
426 <code class="details" id="search">search(body)</code>
427 <pre>Searches for read group sets matching the criteria.
428
429Implements GlobalAllianceApi.searchReadGroupSets.
430
431Args:
432 body: object, The request body. (required)
433 The object takes the form of:
434
435{ # The read group set search request.
436 "pageToken": "A String", # 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.
437 "datasetIds": [ # Restricts this query to read group sets within the given datasets. At least one ID must be provided.
438 "A String",
439 ],
440 "name": "A String", # Only return read group sets for which a substring of the name matches this string.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000441 "pageSize": 42, # Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 1024.
Craig Citroe633be12015-03-02 13:40:36 -0800442 }
443
444
445Returns:
446 An object of the form:
447
448 { # The read group set search response.
449 "nextPageToken": "A String", # 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.
450 "readGroupSets": [ # The list of matching read group sets.
451 { # 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.
452 # - A read group set belongs to one dataset.
453 # - A read group belongs to one read group set.
454 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000455 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800456 "a_key": [ # A string which maps to an array of values.
457 "A String",
458 ],
459 },
460 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
461 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
462 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000463 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800464 "a_key": [ # A string which maps to an array of values.
465 "A String",
466 ],
467 },
468 "predictedInsertSize": 42, # 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.
469 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
470 "programs": [ # 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.
471 {
472 "commandLine": "A String", # The command line used to run this program.
473 "prevProgramId": "A String", # The ID of the program run before this one.
474 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
475 "version": "A String", # The version of the program run.
476 "name": "A String", # The name of the program.
477 },
478 ],
479 "sampleId": "A String", # 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.
480 "experiment": { # The experiment used to generate this read group.
481 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
482 "libraryId": "A String", # 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.
483 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
484 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
485 },
486 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
487 "id": "A String", # 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.
488 "datasetId": "A String", # The ID of the dataset this read group belongs to.
489 "description": "A String", # A free-form text description of this read group.
490 },
491 ],
492 "filename": "A String", # The filename of the original source file for this read group set, if any.
493 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
494 "id": "A String", # The read group set ID.
495 "datasetId": "A String", # The dataset ID.
496 },
497 ],
498 }</pre>
499</div>
500
501<div class="method">
502 <code class="details" id="update">update(readGroupSetId, body)</code>
503 <pre>Updates a read group set.
504
505Args:
506 readGroupSetId: string, 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. (required)
507 body: object, The request body. (required)
508 The object takes the form of:
509
510{ # 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.
511 # - A read group set belongs to one dataset.
512 # - A read group belongs to one read group set.
513 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000514 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800515 "a_key": [ # A string which maps to an array of values.
516 "A String",
517 ],
518 },
519 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
520 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
521 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000522 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800523 "a_key": [ # A string which maps to an array of values.
524 "A String",
525 ],
526 },
527 "predictedInsertSize": 42, # 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.
528 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
529 "programs": [ # 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.
530 {
531 "commandLine": "A String", # The command line used to run this program.
532 "prevProgramId": "A String", # The ID of the program run before this one.
533 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
534 "version": "A String", # The version of the program run.
535 "name": "A String", # The name of the program.
536 },
537 ],
538 "sampleId": "A String", # 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.
539 "experiment": { # The experiment used to generate this read group.
540 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
541 "libraryId": "A String", # 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.
542 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
543 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
544 },
545 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
546 "id": "A String", # 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.
547 "datasetId": "A String", # The ID of the dataset this read group belongs to.
548 "description": "A String", # A free-form text description of this read group.
549 },
550 ],
551 "filename": "A String", # The filename of the original source file for this read group set, if any.
552 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
553 "id": "A String", # The read group set ID.
554 "datasetId": "A String", # The dataset ID.
555}
556
557
558Returns:
559 An object of the form:
560
561 { # 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.
562 # - A read group set belongs to one dataset.
563 # - A read group belongs to one read group set.
564 # - A read belongs to one read group.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000565 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800566 "a_key": [ # A string which maps to an array of values.
567 "A String",
568 ],
569 },
570 "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
571 "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
572 { # A read group is all the data that's processed the same way by the sequencer.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000573 "info": { # A string which maps to an array of values.
Craig Citroe633be12015-03-02 13:40:36 -0800574 "a_key": [ # A string which maps to an array of values.
575 "A String",
576 ],
577 },
578 "predictedInsertSize": 42, # 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.
579 "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
580 "programs": [ # 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.
581 {
582 "commandLine": "A String", # The command line used to run this program.
583 "prevProgramId": "A String", # The ID of the program run before this one.
584 "id": "A String", # The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs.
585 "version": "A String", # The version of the program run.
586 "name": "A String", # The name of the program.
587 },
588 ],
589 "sampleId": "A String", # 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.
590 "experiment": { # The experiment used to generate this read group.
591 "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
592 "libraryId": "A String", # 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.
593 "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
594 "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
595 },
596 "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
597 "id": "A String", # 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.
598 "datasetId": "A String", # The ID of the dataset this read group belongs to.
599 "description": "A String", # A free-form text description of this read group.
600 },
601 ],
602 "filename": "A String", # The filename of the original source file for this read group set, if any.
603 "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
604 "id": "A String", # The read group set ID.
605 "datasetId": "A String", # The dataset ID.
606 }</pre>
607</div>
608
609</body></html>