blob: badd82d139b9db21b609eecb2d108257066e988b [file] [log] [blame]
Takashi Matsuo06694102015-09-11 13:55:40 -07001<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_v1.html">Genomics API</a> . <a href="genomics_v1.readgroupsets.html">readgroupsets</a> . <a href="genomics_v1.readgroupsets.coveragebuckets.html">coveragebuckets</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#list">list(readGroupSetId, targetBucketWidth=None, pageSize=None, x__xgafv=None, end=None, start=None, referenceName=None, pageToken=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Lists fixed width coverage buckets for a read group set, each of which</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070080<p class="toc_element">
81 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
85 <code class="details" id="list">list(readGroupSetId, targetBucketWidth=None, pageSize=None, x__xgafv=None, end=None, start=None, referenceName=None, pageToken=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040086 <pre>Lists fixed width coverage buckets for a read group set, each of which
87correspond to a range of a reference sequence. Each bucket summarizes
88coverage information across its corresponding genomic range.
89
90For the definitions of read group sets and other genomics resources, see
91[Fundamentals of Google
92Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
93
94Coverage is defined as the number of reads which are aligned to a given
95base in the reference sequence. Coverage buckets are available at several
96precomputed bucket widths, enabling retrieval of various coverage 'zoom
97levels'. The caller must have READ permissions for the target read group
98set.
Takashi Matsuo06694102015-09-11 13:55:40 -070099
100Args:
101 readGroupSetId: string, Required. The ID of the read group set over which coverage is requested. (required)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400102 targetBucketWidth: string, The desired width of each reported coverage bucket in base pairs. This
103will be rounded down to the nearest precomputed bucket width; the value
104of which is returned as `bucketWidth` in the response. Defaults
105to infinity (each bucket spans an entire reference sequence) or the length
106of the target range, if specified. The smallest precomputed
107`bucketWidth` is currently 2048 base pairs; this is subject to
108change.
109 pageSize: integer, The maximum number of results to return in a single page. If unspecified,
110defaults to 1024. The maximum value is 2048.
Takashi Matsuo06694102015-09-11 13:55:40 -0700111 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115 end: string, The end position of the range on the reference, 0-based exclusive. If
116specified, `referenceName` must also be specified. If unset or 0, defaults
117to the length of the reference.
118 start: string, The start position of the range on the reference, 0-based inclusive. If
119specified, `referenceName` must also be specified. Defaults to 0.
120 referenceName: string, The name of the reference to query, within the reference set associated
121with this query. Optional.
122 pageToken: string, The continuation token, which is used to page through large result sets.
123To get the next page of results, set this parameter to the value of
124`nextPageToken` from the previous response.
Takashi Matsuo06694102015-09-11 13:55:40 -0700125
126Returns:
127 An object of the form:
128
129 {
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400130 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets.
131 # Provide this value in a subsequent request to return the next page of
132 # results. This field will be empty if there aren't any additional results.
133 "coverageBuckets": [ # The coverage buckets. The list of buckets is sparse; a bucket with 0
134 # overlapping reads is not returned. A bucket never crosses more than one
135 # reference sequence. Each bucket has width `bucketWidth`, unless
136 # its end is the end of the reference sequence.
137 { # A bucket over which read coverage has been precomputed. A bucket corresponds
138 # to a specific range of the reference sequence.
139 "meanCoverage": 3.14, # The average number of reads which are aligned to each individual
140 # reference base in this bucket.
Takashi Matsuo06694102015-09-11 13:55:40 -0700141 "range": { # A 0-based half-open genomic coordinate range for search requests. # The genomic coordinate range spanned by this bucket.
142 "start": "A String", # The start position of the range on the reference, 0-based inclusive.
143 "end": "A String", # The end position of the range on the reference, 0-based exclusive.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400144 "referenceName": "A String", # The reference sequence name, for example `chr1`,
145 # `1`, or `chrX`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700146 },
147 },
148 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400149 "bucketWidth": "A String", # The length of each coverage bucket in base pairs. Note that buckets at the
150 # end of a reference sequence may be shorter. This value is omitted if the
151 # bucket width is infinity (the default behaviour, with no range or
152 # `targetBucketWidth`).
Takashi Matsuo06694102015-09-11 13:55:40 -0700153 }</pre>
154</div>
155
156<div class="method">
157 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
158 <pre>Retrieves the next page of results.
159
160Args:
161 previous_request: The request for the previous page. (required)
162 previous_response: The response from the request for the previous page. (required)
163
164Returns:
165 A request object that you can call 'execute()' on to request the next
166 page. Returns None if there are no more items in the collection.
167 </pre>
168</div>
169
170</body></html>