Class: Google::Apis::GenomicsV1beta2::AnnotationSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Overview

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'.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AnnotationSet

Returns a new instance of AnnotationSet



206
207
208
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 206

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataset_idString

The ID of the containing dataset. Corresponds to the JSON property datasetId

Returns:

  • (String)


172
173
174
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 172

def dataset_id
  @dataset_id
end

#idString

The generated unique ID for this annotation set. Corresponds to the JSON property id

Returns:

  • (String)


177
178
179
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 177

def id
  @id
end

#infoHash<String,Array<String>>

A string which maps to an array of values. Corresponds to the JSON property info

Returns:

  • (Hash<String,Array<String>>)


182
183
184
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 182

def info
  @info
end

#nameString

The display name for this annotation set. Corresponds to the JSON property name

Returns:

  • (String)


187
188
189
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 187

def name
  @name
end

#reference_set_idString

The ID of the reference set that defines the coordinate space for this set's annotations. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


193
194
195
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 193

def reference_set_id
  @reference_set_id
end

#source_uriString

The source URI describing the file from which this annotation set was generated, if any. Corresponds to the JSON property sourceUri

Returns:

  • (String)


199
200
201
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 199

def source_uri
  @source_uri
end

#typeString

The type of annotations contained within this set. Corresponds to the JSON property type

Returns:

  • (String)


204
205
206
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 204

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



211
212
213
214
215
216
217
218
219
# 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