Class: Google::Apis::GenomicsV1beta2::VariantSet

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

A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VariantSet

Returns a new instance of VariantSet.



3274
3275
3276
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3274

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

Instance Attribute Details

#dataset_idString

The dataset to which this variant set belongs. Immutable. Corresponds to the JSON property datasetId

Returns:

  • (String)


3256
3257
3258
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3256

def dataset_id
  @dataset_id
end

#idString

The Google-generated ID of the variant set. Immutable. Corresponds to the JSON property id

Returns:

  • (String)


3261
3262
3263
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3261

def id
  @id
end

#metadataArray<Google::Apis::GenomicsV1beta2::Metadata>

The metadata associated with this variant set. Corresponds to the JSON property metadata



3266
3267
3268
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3266

def 
  @metadata
end

#reference_boundsArray<Google::Apis::GenomicsV1beta2::ReferenceBound>

A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one. Corresponds to the JSON property referenceBounds



3272
3273
3274
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3272

def reference_bounds
  @reference_bounds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3279
3280
3281
3282
3283
3284
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3279

def update!(**args)
  @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
  @id = args[:id] unless args[:id].nil?
  @metadata = args[:metadata] unless args[:metadata].nil?
  @reference_bounds = args[:reference_bounds] unless args[:reference_bounds].nil?
end