class Google::Apis::GenomicsV1beta2::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 or individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'.
Attributes
The ID of the containing annotation set. Corresponds to the JSON property `annotationSetId` @return [String]
The generated unique ID for this annotation. Corresponds to the JSON property `id` @return [String]
A string which maps to an array of values. Corresponds to the JSON property `info` @return [Hash<String,Array<String>>]
The display name of this annotation. Corresponds to the JSON property `name` @return [String]
A 0-based half-open genomic coordinate range over a reference sequence, for representing the position of a genomic resource. Corresponds to the JSON property `position` @return [Google::Apis::GenomicsV1beta2::RangePosition]
A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA. Corresponds to the JSON property `transcript` @return [Google::Apis::GenomicsV1beta2::Transcript]
The data type for this annotation. Must match the containing annotation set's type. Corresponds to the JSON property `type` @return [String]
A Variant annotation. Corresponds to the JSON property `variant` @return [Google::Apis::GenomicsV1beta2::VariantAnnotation]
Public Class Methods
# File generated/google/apis/genomics_v1beta2/classes.rb, line 146 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/genomics_v1beta2/classes.rb, line 151 def update!(**args) @annotation_set_id = args[:annotation_set_id] unless args[:annotation_set_id].nil? @id = args[:id] unless args[:id].nil? @info = args[:info] unless args[:info].nil? @name = args[:name] unless args[:name].nil? @position = args[:position] unless args[:position].nil? @transcript = args[:transcript] unless args[:transcript].nil? @type = args[:type] unless args[:type].nil? @variant = args[:variant] unless args[:variant].nil? end