class Google::Apis::GenomicsV1::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 dataset to which this annotation set belongs. Corresponds to the JSON property `datasetId` @return [String]

id[RW]

The server-generated annotation set ID, unique across all annotation sets. Corresponds to the JSON property `id` @return [String]

info[RW]

A map of additional read alignment information. This must be of the form map ( string key mapping to a list of string values). Corresponds to the JSON property `info` @return [Hash<String,Array<Object>>]

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_v1/classes.rb, line 69
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_v1/classes.rb, line 74
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
  @name = args[:name] if args.key?(:name)
  @source_uri = args[:source_uri] if args.key?(:source_uri)
  @type = args[:type] if args.key?(:type)
  @info = args[:info] if args.key?(:info)
end