class Google::Apis::GenomicsV1beta2::AnnotationSet

An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include 'all genes from refseq', and 'all variant annotations from ClinVar'.

Attributes

dataset_id[RW]

The ID of the containing dataset. Corresponds to the JSON property `datasetId` @return [String]

id[RW]

The generated unique ID for this annotation set. Corresponds to the JSON property `id` @return [String]

info[RW]

A string which maps to an array of values. Corresponds to the JSON property `info` @return [Hash<String,Array<String>>]

name[RW]

The display name for this annotation set. Corresponds to the JSON property `name` @return [String]

reference_set_id[RW]

The ID of the reference set that defines the coordinate space for this set's annotations. Corresponds to the JSON property `referenceSetId` @return [String]

source_uri[RW]

The source URI describing the file from which this annotation set was generated, if any. Corresponds to the JSON property `sourceUri` @return [String]

type[RW]

The type of annotations contained within this set. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1beta2/classes.rb, line 206
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1beta2/classes.rb, line 211
def update!(**args)
  @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
  @id = args[:id] unless args[:id].nil?
  @info = args[:info] unless args[:info].nil?
  @name = args[:name] unless args[:name].nil?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
  @source_uri = args[:source_uri] unless args[:source_uri].nil?
  @type = args[:type] unless args[:type].nil?
end