blob: eb91ff868594d8534e02465d2480d59c181f0f17 [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>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080084<p class="firstline">Gets a reference. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).</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>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080087<p class="firstline">Searches for references which match the given criteria. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).</p>
Takashi Matsuo06694102015-09-11 13:55:40 -070088<h3>Method Details</h3>
89<div class="method">
90 <code class="details" id="get">get(referenceId, x__xgafv=None)</code>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080091 <pre>Gets a reference. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [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 -070092
93Args:
94 referenceId: string, The ID of the reference. (required)
95 x__xgafv: string, V1 error format.
96
97Returns:
98 An object of the form:
99
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800100 { # A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700101 "name": "A String", # The name of this reference, for example `22`.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800102 "sourceUri": "A String", # The URI from which the sequence was obtained. Typically specifies a FASTA format file.
Takashi Matsuo06694102015-09-11 13:55:40 -0700103 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.
104 "A String",
105 ],
106 "length": "A String", # The length of this reference's sequence.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800107 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
Takashi Matsuo06694102015-09-11 13:55:40 -0700108 "id": "A String", # The server-generated reference ID, unique across all references.
109 "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format.
110 }</pre>
111</div>
112
113<div class="method">
114 <code class="details" id="search">search(body, x__xgafv=None)</code>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800115 <pre>Searches for references which match the given criteria. For the definitions of references and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [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 -0700116
117Args:
118 body: object, The request body. (required)
119 The object takes the form of:
120
121{
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800122 "md5checksums": [ # If present, return references for which the md5checksum matches exactly.
Takashi Matsuo06694102015-09-11 13:55:40 -0700123 "A String",
124 ],
125 "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.
126 "referenceSetId": "A String", # If present, return only references which belong to this reference set.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800127 "accessions": [ # If present, return references for which a prefix of any of sourceAccessions match any of these strings. Accession numbers typically have a main number and a version, for example `GCF_000001405.26`.
Takashi Matsuo06694102015-09-11 13:55:40 -0700128 "A String",
129 ],
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800130 "pageSize": 42, # The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 4096.
Takashi Matsuo06694102015-09-11 13:55:40 -0700131 }
132
133 x__xgafv: string, V1 error format.
134
135Returns:
136 An object of the form:
137
138 {
139 "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.
140 "references": [ # The matching references.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800141 { # A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Takashi Matsuo06694102015-09-11 13:55:40 -0700142 "name": "A String", # The name of this reference, for example `22`.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800143 "sourceUri": "A String", # The URI from which the sequence was obtained. Typically specifies a FASTA format file.
Takashi Matsuo06694102015-09-11 13:55:40 -0700144 "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.
145 "A String",
146 ],
147 "length": "A String", # The length of this reference's sequence.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800148 "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
Takashi Matsuo06694102015-09-11 13:55:40 -0700149 "id": "A String", # The server-generated reference ID, unique across all references.
150 "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format.
151 },
152 ],
153 }</pre>
154</div>
155
156</body></html>