Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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.annotations.html">annotations</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#batchCreate">batchCreate(body)</a></code></p> |
| 79 | <p class="firstline">Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#create">create(body)</a></code></p> |
| 82 | <p class="firstline">Creates a new annotation. Caller must have WRITE permission for the associated annotation set.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#delete">delete(annotationId)</a></code></p> |
| 85 | <p class="firstline">Deletes an annotation. Caller must have WRITE permission for the associated annotation set.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#get">get(annotationId)</a></code></p> |
| 88 | <p class="firstline">Gets an annotation. Caller must have READ permission for the associated annotation set.</p> |
| 89 | <p class="toc_element"> |
| 90 | <code><a href="#patch">patch(annotationId, body)</a></code></p> |
| 91 | <p class="firstline">Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset. This method supports patch semantics.</p> |
| 92 | <p class="toc_element"> |
| 93 | <code><a href="#search">search(body)</a></code></p> |
| 94 | <p class="firstline">Searches for annotations which match the given criteria. Results are returned ordered by start position. Annotations which have matching start positions are ordered deterministically. Caller must have READ permission for the queried annotation sets.</p> |
| 95 | <p class="toc_element"> |
| 96 | <code><a href="#update">update(annotationId, body)</a></code></p> |
| 97 | <p class="firstline">Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset.</p> |
| 98 | <h3>Method Details</h3> |
| 99 | <div class="method"> |
| 100 | <code class="details" id="batchCreate">batchCreate(body)</code> |
| 101 | <pre>Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together. |
| 102 | |
| 103 | |
| 104 | If the request has a systemic issue, such as an attempt to write to an inaccessible annotation set, the entire RPC will fail accordingly. For lesser data issues, when possible an error will be isolated to the corresponding batch entry in the response; the remaining well formed annotations will be created normally. |
| 105 | |
| 106 | Args: |
| 107 | body: object, The request body. (required) |
| 108 | The object takes the form of: |
| 109 | |
| 110 | { |
| 111 | "annotations": [ # The annotations to be created. At most 4096 can be specified in a single request. |
| 112 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 113 | "info": { # A map of additional data for this annotation. |
| 114 | "a_key": [ # A string which maps to an array of values. |
| 115 | "A String", |
| 116 | ], |
| 117 | }, |
| 118 | "name": "A String", # The display name of this annotation. |
| 119 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 120 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 121 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 122 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 123 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 124 | "A String", |
| 125 | ], |
| 126 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 127 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 128 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 129 | { |
| 130 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 131 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 132 | "externalIds": [ # The set of external ids for this condition. |
| 133 | { |
| 134 | "sourceName": "A String", # The name of the source of this data. |
| 135 | "id": "A String", # The id used by the source of this data. |
| 136 | }, |
| 137 | ], |
| 138 | "names": [ # A set of names for the condition. |
| 139 | "A String", |
| 140 | ], |
| 141 | }, |
| 142 | ], |
| 143 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 144 | }, |
| 145 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 146 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 147 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 148 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 149 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 150 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 151 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 152 | }, |
| 153 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 154 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 155 | # |
| 156 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 157 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 158 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 159 | }, |
| 160 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 161 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 162 | # |
| 163 | # |
| 164 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 165 | # |
| 166 | # |
| 167 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 168 | # |
| 169 | # |
| 170 | # Exons are ordered by start position and may not overlap. |
| 171 | { |
| 172 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 173 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 174 | # |
| 175 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 176 | "value": 42, # The int32 value. |
| 177 | }, |
| 178 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 179 | }, |
| 180 | ], |
| 181 | }, |
| 182 | "id": "A String", # The generated unique ID for this annotation. |
| 183 | }, |
| 184 | ], |
| 185 | } |
| 186 | |
| 187 | |
| 188 | Returns: |
| 189 | An object of the form: |
| 190 | |
| 191 | { |
| 192 | "entries": [ # The resulting per-annotation entries, ordered consistently with the original request. |
| 193 | { |
| 194 | "status": { # The resulting status for this annotation operation. |
| 195 | "message": "A String", # Error message for this status, if any. |
| 196 | "code": 42, # The HTTP status code for this operation. |
| 197 | }, |
| 198 | "annotation": { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. # The annotation, if any. |
| 199 | "info": { # A map of additional data for this annotation. |
| 200 | "a_key": [ # A string which maps to an array of values. |
| 201 | "A String", |
| 202 | ], |
| 203 | }, |
| 204 | "name": "A String", # The display name of this annotation. |
| 205 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 206 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 207 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 208 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 209 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 210 | "A String", |
| 211 | ], |
| 212 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 213 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 214 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 215 | { |
| 216 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 217 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 218 | "externalIds": [ # The set of external ids for this condition. |
| 219 | { |
| 220 | "sourceName": "A String", # The name of the source of this data. |
| 221 | "id": "A String", # The id used by the source of this data. |
| 222 | }, |
| 223 | ], |
| 224 | "names": [ # A set of names for the condition. |
| 225 | "A String", |
| 226 | ], |
| 227 | }, |
| 228 | ], |
| 229 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 230 | }, |
| 231 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 232 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 233 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 234 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 235 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 236 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 237 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 238 | }, |
| 239 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 240 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 241 | # |
| 242 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 243 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 244 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 245 | }, |
| 246 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 247 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 248 | # |
| 249 | # |
| 250 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 251 | # |
| 252 | # |
| 253 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 254 | # |
| 255 | # |
| 256 | # Exons are ordered by start position and may not overlap. |
| 257 | { |
| 258 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 259 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 260 | # |
| 261 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 262 | "value": 42, # The int32 value. |
| 263 | }, |
| 264 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 265 | }, |
| 266 | ], |
| 267 | }, |
| 268 | "id": "A String", # The generated unique ID for this annotation. |
| 269 | }, |
| 270 | }, |
| 271 | ], |
| 272 | }</pre> |
| 273 | </div> |
| 274 | |
| 275 | <div class="method"> |
| 276 | <code class="details" id="create">create(body)</code> |
| 277 | <pre>Creates a new annotation. Caller must have WRITE permission for the associated annotation set. |
| 278 | |
| 279 | Args: |
| 280 | body: object, The request body. (required) |
| 281 | The object takes the form of: |
| 282 | |
| 283 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 284 | "info": { # A map of additional data for this annotation. |
| 285 | "a_key": [ # A string which maps to an array of values. |
| 286 | "A String", |
| 287 | ], |
| 288 | }, |
| 289 | "name": "A String", # The display name of this annotation. |
| 290 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 291 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 292 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 293 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 294 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 295 | "A String", |
| 296 | ], |
| 297 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 298 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 299 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 300 | { |
| 301 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 302 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 303 | "externalIds": [ # The set of external ids for this condition. |
| 304 | { |
| 305 | "sourceName": "A String", # The name of the source of this data. |
| 306 | "id": "A String", # The id used by the source of this data. |
| 307 | }, |
| 308 | ], |
| 309 | "names": [ # A set of names for the condition. |
| 310 | "A String", |
| 311 | ], |
| 312 | }, |
| 313 | ], |
| 314 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 315 | }, |
| 316 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 317 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 318 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 319 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 320 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 321 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 322 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 323 | }, |
| 324 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 325 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 326 | # |
| 327 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 328 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 329 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 330 | }, |
| 331 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 332 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 333 | # |
| 334 | # |
| 335 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 336 | # |
| 337 | # |
| 338 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 339 | # |
| 340 | # |
| 341 | # Exons are ordered by start position and may not overlap. |
| 342 | { |
| 343 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 344 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 345 | # |
| 346 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 347 | "value": 42, # The int32 value. |
| 348 | }, |
| 349 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 350 | }, |
| 351 | ], |
| 352 | }, |
| 353 | "id": "A String", # The generated unique ID for this annotation. |
| 354 | } |
| 355 | |
| 356 | |
| 357 | Returns: |
| 358 | An object of the form: |
| 359 | |
| 360 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 361 | "info": { # A map of additional data for this annotation. |
| 362 | "a_key": [ # A string which maps to an array of values. |
| 363 | "A String", |
| 364 | ], |
| 365 | }, |
| 366 | "name": "A String", # The display name of this annotation. |
| 367 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 368 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 369 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 370 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 371 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 372 | "A String", |
| 373 | ], |
| 374 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 375 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 376 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 377 | { |
| 378 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 379 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 380 | "externalIds": [ # The set of external ids for this condition. |
| 381 | { |
| 382 | "sourceName": "A String", # The name of the source of this data. |
| 383 | "id": "A String", # The id used by the source of this data. |
| 384 | }, |
| 385 | ], |
| 386 | "names": [ # A set of names for the condition. |
| 387 | "A String", |
| 388 | ], |
| 389 | }, |
| 390 | ], |
| 391 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 392 | }, |
| 393 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 394 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 395 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 396 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 397 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 398 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 399 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 400 | }, |
| 401 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 402 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 403 | # |
| 404 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 405 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 406 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 407 | }, |
| 408 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 409 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 410 | # |
| 411 | # |
| 412 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 413 | # |
| 414 | # |
| 415 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 416 | # |
| 417 | # |
| 418 | # Exons are ordered by start position and may not overlap. |
| 419 | { |
| 420 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 421 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 422 | # |
| 423 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 424 | "value": 42, # The int32 value. |
| 425 | }, |
| 426 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 427 | }, |
| 428 | ], |
| 429 | }, |
| 430 | "id": "A String", # The generated unique ID for this annotation. |
| 431 | }</pre> |
| 432 | </div> |
| 433 | |
| 434 | <div class="method"> |
| 435 | <code class="details" id="delete">delete(annotationId)</code> |
| 436 | <pre>Deletes an annotation. Caller must have WRITE permission for the associated annotation set. |
| 437 | |
| 438 | Args: |
| 439 | annotationId: string, The ID of the annotation set to be deleted. (required) |
| 440 | </pre> |
| 441 | </div> |
| 442 | |
| 443 | <div class="method"> |
| 444 | <code class="details" id="get">get(annotationId)</code> |
| 445 | <pre>Gets an annotation. Caller must have READ permission for the associated annotation set. |
| 446 | |
| 447 | Args: |
| 448 | annotationId: string, The ID of the annotation set to be retrieved. (required) |
| 449 | |
| 450 | Returns: |
| 451 | An object of the form: |
| 452 | |
| 453 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 454 | "info": { # A map of additional data for this annotation. |
| 455 | "a_key": [ # A string which maps to an array of values. |
| 456 | "A String", |
| 457 | ], |
| 458 | }, |
| 459 | "name": "A String", # The display name of this annotation. |
| 460 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 461 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 462 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 463 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 464 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 465 | "A String", |
| 466 | ], |
| 467 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 468 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 469 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 470 | { |
| 471 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 472 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 473 | "externalIds": [ # The set of external ids for this condition. |
| 474 | { |
| 475 | "sourceName": "A String", # The name of the source of this data. |
| 476 | "id": "A String", # The id used by the source of this data. |
| 477 | }, |
| 478 | ], |
| 479 | "names": [ # A set of names for the condition. |
| 480 | "A String", |
| 481 | ], |
| 482 | }, |
| 483 | ], |
| 484 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 485 | }, |
| 486 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 487 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 488 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 489 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 490 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 491 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 492 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 493 | }, |
| 494 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 495 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 496 | # |
| 497 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 498 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 499 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 500 | }, |
| 501 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 502 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 503 | # |
| 504 | # |
| 505 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 506 | # |
| 507 | # |
| 508 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 509 | # |
| 510 | # |
| 511 | # Exons are ordered by start position and may not overlap. |
| 512 | { |
| 513 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 514 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 515 | # |
| 516 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 517 | "value": 42, # The int32 value. |
| 518 | }, |
| 519 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 520 | }, |
| 521 | ], |
| 522 | }, |
| 523 | "id": "A String", # The generated unique ID for this annotation. |
| 524 | }</pre> |
| 525 | </div> |
| 526 | |
| 527 | <div class="method"> |
| 528 | <code class="details" id="patch">patch(annotationId, body)</code> |
| 529 | <pre>Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset. This method supports patch semantics. |
| 530 | |
| 531 | Args: |
| 532 | annotationId: string, The ID of the annotation set to be updated. (required) |
| 533 | body: object, The request body. (required) |
| 534 | The object takes the form of: |
| 535 | |
| 536 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 537 | "info": { # A map of additional data for this annotation. |
| 538 | "a_key": [ # A string which maps to an array of values. |
| 539 | "A String", |
| 540 | ], |
| 541 | }, |
| 542 | "name": "A String", # The display name of this annotation. |
| 543 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 544 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 545 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 546 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 547 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 548 | "A String", |
| 549 | ], |
| 550 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 551 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 552 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 553 | { |
| 554 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 555 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 556 | "externalIds": [ # The set of external ids for this condition. |
| 557 | { |
| 558 | "sourceName": "A String", # The name of the source of this data. |
| 559 | "id": "A String", # The id used by the source of this data. |
| 560 | }, |
| 561 | ], |
| 562 | "names": [ # A set of names for the condition. |
| 563 | "A String", |
| 564 | ], |
| 565 | }, |
| 566 | ], |
| 567 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 568 | }, |
| 569 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 570 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 571 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 572 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 573 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 574 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 575 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 576 | }, |
| 577 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 578 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 579 | # |
| 580 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 581 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 582 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 583 | }, |
| 584 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 585 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 586 | # |
| 587 | # |
| 588 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 589 | # |
| 590 | # |
| 591 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 592 | # |
| 593 | # |
| 594 | # Exons are ordered by start position and may not overlap. |
| 595 | { |
| 596 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 597 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 598 | # |
| 599 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 600 | "value": 42, # The int32 value. |
| 601 | }, |
| 602 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 603 | }, |
| 604 | ], |
| 605 | }, |
| 606 | "id": "A String", # The generated unique ID for this annotation. |
| 607 | } |
| 608 | |
| 609 | |
| 610 | Returns: |
| 611 | An object of the form: |
| 612 | |
| 613 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 614 | "info": { # A map of additional data for this annotation. |
| 615 | "a_key": [ # A string which maps to an array of values. |
| 616 | "A String", |
| 617 | ], |
| 618 | }, |
| 619 | "name": "A String", # The display name of this annotation. |
| 620 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 621 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 622 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 623 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 624 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 625 | "A String", |
| 626 | ], |
| 627 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 628 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 629 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 630 | { |
| 631 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 632 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 633 | "externalIds": [ # The set of external ids for this condition. |
| 634 | { |
| 635 | "sourceName": "A String", # The name of the source of this data. |
| 636 | "id": "A String", # The id used by the source of this data. |
| 637 | }, |
| 638 | ], |
| 639 | "names": [ # A set of names for the condition. |
| 640 | "A String", |
| 641 | ], |
| 642 | }, |
| 643 | ], |
| 644 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 645 | }, |
| 646 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 647 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 648 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 649 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 650 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 651 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 652 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 653 | }, |
| 654 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 655 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 656 | # |
| 657 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 658 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 659 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 660 | }, |
| 661 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 662 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 663 | # |
| 664 | # |
| 665 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 666 | # |
| 667 | # |
| 668 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 669 | # |
| 670 | # |
| 671 | # Exons are ordered by start position and may not overlap. |
| 672 | { |
| 673 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 674 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 675 | # |
| 676 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 677 | "value": 42, # The int32 value. |
| 678 | }, |
| 679 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 680 | }, |
| 681 | ], |
| 682 | }, |
| 683 | "id": "A String", # The generated unique ID for this annotation. |
| 684 | }</pre> |
| 685 | </div> |
| 686 | |
| 687 | <div class="method"> |
| 688 | <code class="details" id="search">search(body)</code> |
| 689 | <pre>Searches for annotations which match the given criteria. Results are returned ordered by start position. Annotations which have matching start positions are ordered deterministically. Caller must have READ permission for the queried annotation sets. |
| 690 | |
| 691 | Args: |
| 692 | body: object, The request body. (required) |
| 693 | The object takes the form of: |
| 694 | |
| 695 | { |
| 696 | "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. |
| 697 | "range": { # A 0-based half-open genomic coordinate range for search requests. # If specified, this query matches only annotations which overlap this range. |
| 698 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. If specified, referenceId or referenceName must also be specified. Defaults to 0. |
| 699 | "referenceId": "A String", # The ID of the reference to query. At most one of referenceId and referenceName should be specified. |
| 700 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. If specified, referenceId or referenceName must also be specified. If unset or 0, defaults to the length of the reference. |
| 701 | "referenceName": "A String", # The name of the reference to query, within the reference set associated with this query. At most one of referenceId and referenceName pshould be specified. |
| 702 | }, |
| 703 | "annotationSetIds": [ # The annotation sets to search within. The caller must have READ access to these annotation sets. Required. All queried annotation sets must have the same type. |
| 704 | "A String", |
| 705 | ], |
| 706 | "pageSize": 42, # Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 2048. |
| 707 | } |
| 708 | |
| 709 | |
| 710 | Returns: |
| 711 | An object of the form: |
| 712 | |
| 713 | { |
| 714 | "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. |
| 715 | "annotations": [ # The matching annotations. |
| 716 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 717 | "info": { # A map of additional data for this annotation. |
| 718 | "a_key": [ # A string which maps to an array of values. |
| 719 | "A String", |
| 720 | ], |
| 721 | }, |
| 722 | "name": "A String", # The display name of this annotation. |
| 723 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 724 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 725 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 726 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 727 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 728 | "A String", |
| 729 | ], |
| 730 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 731 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 732 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 733 | { |
| 734 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 735 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 736 | "externalIds": [ # The set of external ids for this condition. |
| 737 | { |
| 738 | "sourceName": "A String", # The name of the source of this data. |
| 739 | "id": "A String", # The id used by the source of this data. |
| 740 | }, |
| 741 | ], |
| 742 | "names": [ # A set of names for the condition. |
| 743 | "A String", |
| 744 | ], |
| 745 | }, |
| 746 | ], |
| 747 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 748 | }, |
| 749 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 750 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 751 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 752 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 753 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 754 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 755 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 756 | }, |
| 757 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 758 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 759 | # |
| 760 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 761 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 762 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 763 | }, |
| 764 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 765 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 766 | # |
| 767 | # |
| 768 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 769 | # |
| 770 | # |
| 771 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 772 | # |
| 773 | # |
| 774 | # Exons are ordered by start position and may not overlap. |
| 775 | { |
| 776 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 777 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 778 | # |
| 779 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 780 | "value": 42, # The int32 value. |
| 781 | }, |
| 782 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 783 | }, |
| 784 | ], |
| 785 | }, |
| 786 | "id": "A String", # The generated unique ID for this annotation. |
| 787 | }, |
| 788 | ], |
| 789 | }</pre> |
| 790 | </div> |
| 791 | |
| 792 | <div class="method"> |
| 793 | <code class="details" id="update">update(annotationId, body)</code> |
| 794 | <pre>Updates an annotation. The update must respect all mutability restrictions and other invariants described on the annotation resource. Caller must have WRITE permission for the associated dataset. |
| 795 | |
| 796 | Args: |
| 797 | annotationId: string, The ID of the annotation set to be updated. (required) |
| 798 | body: object, The request body. (required) |
| 799 | The object takes the form of: |
| 800 | |
| 801 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 802 | "info": { # A map of additional data for this annotation. |
| 803 | "a_key": [ # A string which maps to an array of values. |
| 804 | "A String", |
| 805 | ], |
| 806 | }, |
| 807 | "name": "A String", # The display name of this annotation. |
| 808 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 809 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 810 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 811 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 812 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 813 | "A String", |
| 814 | ], |
| 815 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 816 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 817 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 818 | { |
| 819 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 820 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 821 | "externalIds": [ # The set of external ids for this condition. |
| 822 | { |
| 823 | "sourceName": "A String", # The name of the source of this data. |
| 824 | "id": "A String", # The id used by the source of this data. |
| 825 | }, |
| 826 | ], |
| 827 | "names": [ # A set of names for the condition. |
| 828 | "A String", |
| 829 | ], |
| 830 | }, |
| 831 | ], |
| 832 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 833 | }, |
| 834 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 835 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 836 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 837 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 838 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 839 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 840 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 841 | }, |
| 842 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 843 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 844 | # |
| 845 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 846 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 847 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 848 | }, |
| 849 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 850 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 851 | # |
| 852 | # |
| 853 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 854 | # |
| 855 | # |
| 856 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 857 | # |
| 858 | # |
| 859 | # Exons are ordered by start position and may not overlap. |
| 860 | { |
| 861 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 862 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 863 | # |
| 864 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 865 | "value": 42, # The int32 value. |
| 866 | }, |
| 867 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 868 | }, |
| 869 | ], |
| 870 | }, |
| 871 | "id": "A String", # The generated unique ID for this annotation. |
| 872 | } |
| 873 | |
| 874 | |
| 875 | Returns: |
| 876 | An object of the form: |
| 877 | |
| 878 | { # An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample/individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. |
| 879 | "info": { # A map of additional data for this annotation. |
| 880 | "a_key": [ # A string which maps to an array of values. |
| 881 | "A String", |
| 882 | ], |
| 883 | }, |
| 884 | "name": "A String", # The display name of this annotation. |
| 885 | "type": "A String", # The data type for this annotation. Must match the containing annotation set's type. |
| 886 | "variant": { # A Variant annotation. # A variant annotation which describes the effect of a variant on the genome, the coding sequence, and/or higher level consequences at the organism level e.g. pathogenicity. This field is only set for annotations of type VARIANT. |
| 887 | "type": "A String", # Type has been adapted from ClinVar's list of variant types. |
| 888 | "effect": "A String", # Effect of the variant on the coding sequence. |
| 889 | "transcriptIds": [ # Google annotation ID of the transcripts affected by this variant. These should be provided when the variant is created. |
| 890 | "A String", |
| 891 | ], |
| 892 | "alternateBases": "A String", # The alternate allele for this variant. If multiple alternate alleles exist at this location, create a separate variant for each one, as they may represent distinct conditions. |
| 893 | "clinicalSignificance": "A String", # Describes the clinical significance of a variant. It is adapted from the ClinVar controlled vocabulary for clinical significance described at: http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ |
| 894 | "conditions": [ # The set of conditions associated with this variant. A condition describes the way a variant influences human health. |
| 895 | { |
| 896 | "conceptId": "A String", # The MedGen concept id associated with this gene. Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ |
| 897 | "omimId": "A String", # The OMIM id for this condition. Search for these IDs at http://omim.org/ |
| 898 | "externalIds": [ # The set of external ids for this condition. |
| 899 | { |
| 900 | "sourceName": "A String", # The name of the source of this data. |
| 901 | "id": "A String", # The id used by the source of this data. |
| 902 | }, |
| 903 | ], |
| 904 | "names": [ # A set of names for the condition. |
| 905 | "A String", |
| 906 | ], |
| 907 | }, |
| 908 | ], |
| 909 | "geneId": "A String", # Google annotation ID of the gene affected by this variant. This should be provided when the variant is created. |
| 910 | }, |
| 911 | "annotationSetId": "A String", # The ID of the containing annotation set. |
| 912 | "position": { # A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. # The position of this annotation on the reference sequence. |
| 913 | "start": "A String", # The start position of the range on the reference, 0-based inclusive. |
| 914 | "referenceId": "A String", # The ID of the Google Genomics reference associated with this range. |
| 915 | "end": "A String", # The end position of the range on the reference, 0-based exclusive. |
| 916 | "reverseStrand": True or False, # Whether this range refers to the reverse strand, as opposed to the forward strand. Note that regardless of this field, the start/end position of the range always refer to the forward strand. |
| 917 | "referenceName": "A String", # The display name corresponding to the reference specified by referenceId, for example chr1, 1, or chrX. |
| 918 | }, |
| 919 | "transcript": { # A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. # A transcript value represents the assertion that a particular region of the reference genome may be transcribed as RNA. An alternate splicing pattern would be represented as separate transcript object. This field is only set for annotations of type TRANSCRIPT. |
| 920 | "codingSequence": { # The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. |
| 921 | # |
| 922 | # Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA. |
| 923 | "start": "A String", # The start of the coding sequence on this annotation's reference sequence, 0-based inclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 924 | "end": "A String", # The end of the coding sequence on this annotation's reference sequence, 0-based exclusive. Note that this position is relative to the reference start, and not the containing annotation start. |
| 925 | }, |
| 926 | "geneId": "A String", # The annotation ID of the gene from which this transcript is transcribed. |
| 927 | "exons": [ # The exons which compose this transcript. Exons are the pieces of the transcript which are spliced together, may be exported from a cell's nucleus, and may then be translated to protein. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. |
| 928 | # |
| 929 | # |
| 930 | # Introns are regions of the transcript which are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript which are not exons are introns. |
| 931 | # |
| 932 | # |
| 933 | # Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. |
| 934 | # |
| 935 | # |
| 936 | # Exons are ordered by start position and may not overlap. |
| 937 | { |
| 938 | "start": "A String", # The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 939 | "frame": { # Wrapper message for int32. # The frame of this exon. Contains a value of 0, 1, or 2 which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.position.reverseStrand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end-1. |
| 940 | # |
| 941 | # Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons. |
| 942 | "value": 42, # The int32 value. |
| 943 | }, |
| 944 | "end": "A String", # The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. |
| 945 | }, |
| 946 | ], |
| 947 | }, |
| 948 | "id": "A String", # The generated unique ID for this annotation. |
| 949 | }</pre> |
| 950 | </div> |
| 951 | |
| 952 | </body></html> |