Struct google_genomics1::Annotation [−][src]
pub struct Annotation { pub info: Option<HashMap<String, Vec<String>>>, pub reference_id: Option<String>, pub end: Option<String>, pub name: Option<String>, pub transcript: Option<Transcript>, pub variant: Option<VariantAnnotation>, pub start: Option<String>, pub annotation_set_id: Option<String>, pub reference_name: Option<String>, pub reverse_strand: Option<bool>, pub type_: Option<String>, pub id: Option<String>, }
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. An annotation is not inherently associated with a specific
sample or individual (though a client could choose to use annotations in
this way). Example canonical annotation types are GENE
and
VARIANT
.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search annotations (none)
- create annotations (request|response)
- delete annotations (none)
- update annotations (request|response)
- get annotations (response)
- batch create annotations (none)
Fields
info: Option<HashMap<String, Vec<String>>>
A map of additional read alignment information. This must be of the form map<string, string[]> (string key mapping to a list of string values).
reference_id: Option<String>
The ID of the Google Genomics reference associated with this range.
end: Option<String>
The end position of the range on the reference, 0-based exclusive.
name: Option<String>
The display name of this annotation.
transcript: Option<Transcript>
A transcript value represents the assertion that a particular region of
the reference genome may be transcribed as RNA. An alternative splicing
pattern would be represented as a separate transcript object. This field
is only set for annotations of type TRANSCRIPT
.
variant: Option<VariantAnnotation>
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
.
start: Option<String>
The start position of the range on the reference, 0-based inclusive.
annotation_set_id: Option<String>
The annotation set to which this annotation belongs.
reference_name: Option<String>
The display name corresponding to the reference specified by
referenceId
, for example chr1
, 1
, or chrX
.
reverse_strand: Option<bool>
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.
type_: Option<String>
The data type for this annotation. Must match the containing annotation set's type.
id: Option<String>
The server-generated annotation ID, unique across all annotations.
Trait Implementations
impl Default for Annotation
[src]
impl Default for Annotation
fn default() -> Annotation
[src]
fn default() -> Annotation
Returns the "default value" for a type. Read more
impl Clone for Annotation
[src]
impl Clone for Annotation
fn clone(&self) -> Annotation
[src]
fn clone(&self) -> Annotation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Annotation
[src]
impl Debug for Annotation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Annotation
[src]
impl RequestValue for Annotation
impl Resource for Annotation
[src]
impl Resource for Annotation
impl ResponseResult for Annotation
[src]
impl ResponseResult for Annotation
Auto Trait Implementations
impl Send for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Sync for Annotation