Class: Google::Apis::GenomicsV1beta2::CallSet

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 call set is a collection of variant calls, typically for one sample. It belongs to a variant set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CallSet

Returns a new instance of CallSet



475
476
477
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 475

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

Instance Attribute Details

#createdString

The date this call set was created in milliseconds from the epoch. Corresponds to the JSON property created

Returns:

  • (String)


448
449
450
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 448

def created
  @created
end

#idString

The Google generated ID of the call set, immutable. Corresponds to the JSON property id

Returns:

  • (String)


453
454
455
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 453

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>>)


458
459
460
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 458

def info
  @info
end

#nameString

The call set name. Corresponds to the JSON property name

Returns:

  • (String)


463
464
465
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 463

def name
  @name
end

#sample_idString

The sample ID this call set corresponds to. Corresponds to the JSON property sampleId

Returns:

  • (String)


468
469
470
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 468

def sample_id
  @sample_id
end

#variant_set_idsArray<String>

The IDs of the variant sets this call set belongs to. Corresponds to the JSON property variantSetIds

Returns:

  • (Array<String>)


473
474
475
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 473

def variant_set_ids
  @variant_set_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



480
481
482
483
484
485
486
487
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 480

def update!(**args)
  @created = args[:created] unless args[:created].nil?
  @id = args[:id] unless args[:id].nil?
  @info = args[:info] unless args[:info].nil?
  @name = args[:name] unless args[:name].nil?
  @sample_id = args[:sample_id] unless args[:sample_id].nil?
  @variant_set_ids = args[:variant_set_ids] unless args[:variant_set_ids].nil?
end