blob: 1f99b02355242d026687a56408c4699347f13ad4 [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.references.html">references</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="genomics_v1.references.bases.html">bases()</a></code>
79</p>
80<p class="firstline">Returns the bases Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#get">get(referenceId, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040084<p class="firstline">Gets a reference.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070085<p class="toc_element">
86 <code><a href="#search">search(body, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040087<p class="firstline">Searches for references which match the given criteria.</p>
88<p class="toc_element">
89 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
90<p class="firstline">Retrieves the next page of results.</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070091<h3>Method Details</h3>
92<div class="method">
93 <code class="details" id="get">get(referenceId, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040094 <pre>Gets a reference.
95
96For the definitions of references and other genomics resources, see
97[Fundamentals of Google
98Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
99
100Implements
101[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).
Takashi Matsuo06694102015-09-11 13:55:40 -0700102
103Args:
104 referenceId: string, The ID of the reference. (required)
105 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400106 Allowed values
107 1 - v1 error format
108 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700109
110Returns:
111 An object of the form:
112
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400113 { # A reference is a canonical assembled DNA sequence, intended to act as a
114 # reference coordinate space for other genomic annotations. A single reference
115 # might represent the human chromosome 1 or mitochandrial DNA, for instance. A
116 # reference belongs to one or more reference sets.
117 #
118 # For more genomics resource definitions, see [Fundamentals of Google
119 # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700120 "name": "A String", # The name of this reference, for example `22`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400121 "sourceUri": "A String", # The URI from which the sequence was obtained. Typically specifies a FASTA
122 # format file.
123 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
124 # with a version number, for example `GCF_000001405.26`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700125 "A String",
126 ],
127 "length": "A String", # The length of this reference's sequence.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700128 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
129 "id": "A String", # The server-generated reference ID, unique across all references.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400130 "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this
131 # is equivalent to SQ:M5 in SAM). This value is represented in lower case
132 # hexadecimal format.
Takashi Matsuo06694102015-09-11 13:55:40 -0700133 }</pre>
134</div>
135
136<div class="method">
137 <code class="details" id="search">search(body, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400138 <pre>Searches for references which match the given criteria.
139
140For the definitions of references and other genomics resources, see
141[Fundamentals of Google
142Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
143
144Implements
145[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
Takashi Matsuo06694102015-09-11 13:55:40 -0700146
147Args:
148 body: object, The request body. (required)
149 The object takes the form of:
150
151{
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400152 "md5checksums": [ # If present, return references for which the
153 # md5checksum matches exactly.
Takashi Matsuo06694102015-09-11 13:55:40 -0700154 "A String",
155 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400156 "pageToken": "A String", # The continuation token, which is used to page through large result sets.
157 # To get the next page of results, set this parameter to the value of
158 # `nextPageToken` from the previous response.
Takashi Matsuo06694102015-09-11 13:55:40 -0700159 "referenceSetId": "A String", # If present, return only references which belong to this reference set.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400160 "accessions": [ # If present, return references for which a prefix of any of
161 # sourceAccessions match
162 # any of these strings. Accession numbers typically have a main number and a
163 # version, for example `GCF_000001405.26`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700164 "A String",
165 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400166 "pageSize": 42, # The maximum number of results to return in a single page. If unspecified,
167 # defaults to 1024. The maximum value is 4096.
Takashi Matsuo06694102015-09-11 13:55:40 -0700168 }
169
170 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
Takashi Matsuo06694102015-09-11 13:55:40 -0700174
175Returns:
176 An object of the form:
177
178 {
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400179 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets.
180 # Provide this value in a subsequent request to return the next page of
181 # results. This field will be empty if there aren't any additional results.
Takashi Matsuo06694102015-09-11 13:55:40 -0700182 "references": [ # The matching references.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400183 { # A reference is a canonical assembled DNA sequence, intended to act as a
184 # reference coordinate space for other genomic annotations. A single reference
185 # might represent the human chromosome 1 or mitochandrial DNA, for instance. A
186 # reference belongs to one or more reference sets.
187 #
188 # For more genomics resource definitions, see [Fundamentals of Google
189 # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700190 "name": "A String", # The name of this reference, for example `22`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400191 "sourceUri": "A String", # The URI from which the sequence was obtained. Typically specifies a FASTA
192 # format file.
193 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
194 # with a version number, for example `GCF_000001405.26`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700195 "A String",
196 ],
197 "length": "A String", # The length of this reference's sequence.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700198 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
199 "id": "A String", # The server-generated reference ID, unique across all references.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400200 "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this
201 # is equivalent to SQ:M5 in SAM). This value is represented in lower case
202 # hexadecimal format.
Takashi Matsuo06694102015-09-11 13:55:40 -0700203 },
204 ],
205 }</pre>
206</div>
207
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400208<div class="method">
209 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
210 <pre>Retrieves the next page of results.
211
212Args:
213 previous_request: The request for the previous page. (required)
214 previous_response: The response from the request for the previous page. (required)
215
216Returns:
217 A request object that you can call 'execute()' on to request the next
218 page. Returns None if there are no more items in the collection.
219 </pre>
220</div>
221
Takashi Matsuo06694102015-09-11 13:55:40 -0700222</body></html>