Class: Google::Apis::GenomicsV1::CallSet

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

Overview

A call set is a collection of variant calls, typically for one sample. It belongs to a variant set. For more genomics resource definitions, see Fundamentals of Google Genomics

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CallSet

Returns a new instance of CallSet.



3186
3187
3188
# File 'generated/google/apis/genomics_v1/classes.rb', line 3186

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)


3178
3179
3180
# File 'generated/google/apis/genomics_v1/classes.rb', line 3178

def created
  @created
end

#idString

The server-generated call set ID, unique across all call sets. Corresponds to the JSON property id

Returns:

  • (String)


3155
3156
3157
# File 'generated/google/apis/genomics_v1/classes.rb', line 3155

def id
  @id
end

#infoHash<String,Array<Object>>

A map of additional call set information. This must be of the form map (string key mapping to a list of string values). Corresponds to the JSON property info

Returns:

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


3184
3185
3186
# File 'generated/google/apis/genomics_v1/classes.rb', line 3184

def info
  @info
end

#nameString

The call set name. Corresponds to the JSON property name

Returns:

  • (String)


3160
3161
3162
# File 'generated/google/apis/genomics_v1/classes.rb', line 3160

def name
  @name
end

#sample_idString

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

Returns:

  • (String)


3165
3166
3167
# File 'generated/google/apis/genomics_v1/classes.rb', line 3165

def sample_id
  @sample_id
end

#variant_set_idsArray<String>

The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the GA4GH 0.5.1 API. Corresponds to the JSON property variantSetIds

Returns:

  • (Array<String>)


3173
3174
3175
# File 'generated/google/apis/genomics_v1/classes.rb', line 3173

def variant_set_ids
  @variant_set_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3191
3192
3193
3194
3195
3196
3197
3198
# File 'generated/google/apis/genomics_v1/classes.rb', line 3191

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