blob: e06979478b6a7f0ffd9020c7780c8336b7ee69fe [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.referencesets.html">referencesets</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(referenceSetId, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Gets a reference set.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070080<p class="toc_element">
81 <code><a href="#search">search(body, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040082<p class="firstline">Searches for reference sets which match the given criteria.</p>
83<p class="toc_element">
84 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070086<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="get">get(referenceSetId, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040089 <pre>Gets a reference set.
90
91For the definitions of references and other genomics resources, see
92[Fundamentals of Google
93Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
94
95Implements
96[GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
Takashi Matsuo06694102015-09-11 13:55:40 -070097
98Args:
99 referenceSetId: string, The ID of the reference set. (required)
100 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400101 Allowed values
102 1 - v1 error format
103 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700104
105Returns:
106 An object of the form:
107
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400108 { # A reference set is a set of references which typically comprise a reference
109 # assembly for a species, such as `GRCh38` which is representative
110 # of the human genome. A reference set defines a common coordinate space for
111 # comparing reference-aligned experimental data. A reference set contains 1 or
112 # more references.
113 #
114 # For more genomics resource definitions, see [Fundamentals of Google
115 # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700116 "description": "A String", # Free text description of this reference set.
117 "sourceUri": "A String", # The URI from which the references were obtained.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400118 "referenceIds": [ # The IDs of the reference objects that are part of this set.
119 # `Reference.md5checksum` must be unique within this set.
Takashi Matsuo06694102015-09-11 13:55:40 -0700120 "A String",
121 ],
122 "assemblyId": "A String", # Public id of this reference set, such as `GRCh37`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400123 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
124 # with a version number, for example `NC_000001.11`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700125 "A String",
126 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400127 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
128 # indicating the species which this reference set is intended to model. Note
129 # that contained references may specify a different `ncbiTaxonId`, as
130 # assemblies may contain reference sequences which do not belong to the
131 # modeled species, for example EBV in a human reference genome.
Takashi Matsuo06694102015-09-11 13:55:40 -0700132 "id": "A String", # The server-generated reference set ID, unique across all reference sets.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400133 "md5checksum": "A String", # Order-independent MD5 checksum which identifies this reference set. The
134 # checksum is computed by sorting all lower case hexidecimal string
135 # `reference.md5checksum` (for all reference in this set) in
136 # ascending lexicographic order, concatenating, and taking the MD5 of that
137 # value. The resulting value is represented in lower case hexadecimal format.
Takashi Matsuo06694102015-09-11 13:55:40 -0700138 }</pre>
139</div>
140
141<div class="method">
142 <code class="details" id="search">search(body, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400143 <pre>Searches for reference sets which match the given criteria.
144
145For the definitions of references and other genomics resources, see
146[Fundamentals of Google
147Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
148
149Implements
150[GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
Takashi Matsuo06694102015-09-11 13:55:40 -0700151
152Args:
153 body: object, The request body. (required)
154 The object takes the form of:
155
156{
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400157 "md5checksums": [ # If present, return reference sets for which the
158 # md5checksum matches exactly.
Takashi Matsuo06694102015-09-11 13:55:40 -0700159 "A String",
160 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400161 "pageToken": "A String", # The continuation token, which is used to page through large result sets.
162 # To get the next page of results, set this parameter to the value of
163 # `nextPageToken` from the previous response.
164 "accessions": [ # If present, return reference sets for which a prefix of any of
165 # sourceAccessions
166 # match any of these strings. Accession numbers typically have a main number
167 # and a version, for example `NC_000001.11`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700168 "A String",
169 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400170 "pageSize": 42, # The maximum number of results to return in a single page. If unspecified,
171 # defaults to 1024. The maximum value is 4096.
172 "assemblyId": "A String", # If present, return reference sets for which a substring of their
173 # `assemblyId` matches this string (case insensitive).
Takashi Matsuo06694102015-09-11 13:55:40 -0700174 }
175
176 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700180
181Returns:
182 An object of the form:
183
184 {
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400185 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets.
186 # Provide this value in a subsequent request to return the next page of
187 # results. This field will be empty if there aren't any additional results.
Takashi Matsuo06694102015-09-11 13:55:40 -0700188 "referenceSets": [ # The matching references sets.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400189 { # A reference set is a set of references which typically comprise a reference
190 # assembly for a species, such as `GRCh38` which is representative
191 # of the human genome. A reference set defines a common coordinate space for
192 # comparing reference-aligned experimental data. A reference set contains 1 or
193 # more references.
194 #
195 # For more genomics resource definitions, see [Fundamentals of Google
196 # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700197 "description": "A String", # Free text description of this reference set.
198 "sourceUri": "A String", # The URI from which the references were obtained.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400199 "referenceIds": [ # The IDs of the reference objects that are part of this set.
200 # `Reference.md5checksum` must be unique within this set.
Takashi Matsuo06694102015-09-11 13:55:40 -0700201 "A String",
202 ],
203 "assemblyId": "A String", # Public id of this reference set, such as `GRCh37`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400204 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
205 # with a version number, for example `NC_000001.11`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700206 "A String",
207 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400208 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
209 # indicating the species which this reference set is intended to model. Note
210 # that contained references may specify a different `ncbiTaxonId`, as
211 # assemblies may contain reference sequences which do not belong to the
212 # modeled species, for example EBV in a human reference genome.
Takashi Matsuo06694102015-09-11 13:55:40 -0700213 "id": "A String", # The server-generated reference set ID, unique across all reference sets.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400214 "md5checksum": "A String", # Order-independent MD5 checksum which identifies this reference set. The
215 # checksum is computed by sorting all lower case hexidecimal string
216 # `reference.md5checksum` (for all reference in this set) in
217 # ascending lexicographic order, concatenating, and taking the MD5 of that
218 # value. The resulting value is represented in lower case hexadecimal format.
Takashi Matsuo06694102015-09-11 13:55:40 -0700219 },
220 ],
221 }</pre>
222</div>
223
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400224<div class="method">
225 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
226 <pre>Retrieves the next page of results.
227
228Args:
229 previous_request: The request for the previous page. (required)
230 previous_response: The response from the request for the previous page. (required)
231
232Returns:
233 A request object that you can call 'execute()' on to request the next
234 page. Returns None if there are no more items in the collection.
235 </pre>
236</div>
237
Takashi Matsuo06694102015-09-11 13:55:40 -0700238</body></html>